Page 89
Chapter 5 Configuring the Router
Performing the Initial Configuration on the Router
Gateway of Last Resort
When default information is being passed along through a dynamic routing protocol, no further configuration is required. The system periodically scans its routing table to choose the optimal default network as its default route. In the case of RIP, there is only one choice, network 0.0.0.0. In the case of IGRP, there might be several networks that can be candidates for the system default. The Cisco IOS software uses both administrative distance and metric information to determine the default route (gateway of last resort). The selected default route appears in the gateway of last resort display of the show ip route EXEC command.
If dynamic default information is not being passed to the software, candidates for the default route are specified with the ip default-networkglobal configuration command. In this usage, the ip default-networkcommand takes an unconnected network as an argument. If this network appears in the routing table from any source (dynamic or static), it is flagged as a candidate default route and is a possible choice as the default route.
If the router has no interface on the default network, but does have a route to it, it considers this network as a candidate default path. The route candidates are examined and the best one is chosen, based on administrative distance and metric. The gateway to the best default path becomes the gateway of last resort.
SUMMARY STEPS
1.enable
2.configure terminal
3.ip routing
4.ip route dest-prefix mask next-hop-ip-address [admin-distance] [permanent]
5.ip default-network network-numberor
ip route dest-prefix mask next-hop-ip-address
6.end
7.show ip route
DETAILED STEPS
| | Command or Action | Purpose |
| Step 1 | | |
| enable | Enables privileged EXEC mode. |
| | | • Enter your password if prompted. |
| | Example: | | | | |
| | Router> enable | | | | |
| Step 2 | | |
| configure terminal | Enters global configuration mode. |
| | Example: | | | | |
| | Router# configure terminal | | | | |
| Step 3 | | |
| ip routing | Enables IP routing. |
| | Example: | | | | |
| | Router(config)# ip routing | | | | |
| | | | | |
| | | Cisco 1900 Series Hardware Installation | | |
| | | |
| | | | | |
| OL-19084-02 | | | 5-15 | |
| | | |
Contents
Text Part Number OL-19084-03
Americas Headquarters
Page
OL-19084-03
Console and Auxiliary Port Considerations
Chassis Airflow Diagram
Configuring the Auxiliary Line
Audience
Objectives
Conventions
Organization
Section Title Description
Convention Indication
Bewaar Deze Instructies
Aviso Instruções Importantes DE Segurança
Warnung Wichtige Sicherheitshinweise
Avvertenza Importanti Istruzioni Sulla Sicurezza
Guarde Estas Instrucciones
GEM Disse Anvisninger
Xiii
Xiv
Related Documentation
Searching within Cisco Documents
Obtaining Documentation and Submitting a Service Request
Overview of the Router
Safety Warnings
SYS ACT PoE12
Safety Warnings for Finland, Norway and Sweden
Chassis Views
Cisco
SYS ACT
Antenna mounts1 LEDs2
Wlan
4 or 5 GHz
Overview of the Router Hardware Features
Hardware Features
Clei
Product Serial Number Location
Cisco Product Identification Tool
Built-In Interfaces
Product ID PID Compliance label
Clei
Interface Description
Removable, Interchangeable, and Optional Modules
USB
Such as security tokens and flash memory
External Modules In chassis slots Internal Modules
Memory
Series 1905 1921
Dram
SYS
LED Indicators
Color Description Location
ISM/WLAN
Chassis Ventilation
Wireless LAN Connectivity
Real-Time Clock
Chassis Security
Interface Numbering
Baud Reset Button
Slot Number Slot Type Slot Numbering Range
Onboard Ports 10/100/1000 Ethernet
Power
Specifications
Description Specification Physical
Ports
Description Specification
Transportation and Storage Environment
Acoustic
TIA/EIA/IS-968
CNS
ITU-T G.823, G.824
Regulatory Compliance
General Guidelines
Safety Recommendations
Safety with Electricity
Preventing Electrostatic Discharge Damage
General Site Requirements
Site Environment
Power Supply Considerations
Site Configuration
Wireless LAN Considerations
Installation Checklist
Inspecting the Router
Task Verified by
Site Log
Installation Checklist for Site Router Name
Task Verified by Date
Router quick start guide received
Cisco 1900 Series Hardware Installation OL-19084-02
OL-19084-02
Console Port Connections
Console and Auxiliary Port Considerations
About Console and Auxiliary Ports
USB Console OS Compatibility
EIA/TIA-232 Port
USB Serial Console
Auxiliary Port Connections
Preparing to Connect to a Network
Ethernet Connections
Serial Connections
Signaling Standards Supported
Configuring Serial Connections
About Serial Connections
Serial DTE or DCE Devices
Asynchronous/Synchronous Serial Module Baud Rates
Transmission Speeds and Distance Limitations
Distance for
EIA/TIA-232 EIA-530 Distance for USB Rate bps Feet Meters
CSU/DSU Connections
Isdn BRI Connections
Low-Capacitance Cable
For more information on BRI WICs, refer to Cisco.com
About Modules
Internal services module ISM
Internal Modules
Router’s internal components include the following
Plug-In Modules
Chassis Airflow Diagram
Setting Up the Chassis
Wall-Mounting the Chassis
Setting the Chassis on a Desktop
Chassis Grounding
253711
Wall-Mounting Features on the Cisco 1941 Router
Procedure
Attaching Rack-Mount Brackets to Cisco 1900 Series Routers
Rack-Mounting the Chassis
253712
9shows how to attach the brackets to the rack
Installing the Chassis Ground Connection
11 Chassis Ground Connection on the Cisco 1941 Router
Safety Messages
Connecting WAN and LAN Cables
OL-19084-02
Port Type, Color Connected to Cable
Ports and Cabling
Connecting to the Console Port with Microsoft Windows
Connecting to a Console Terminal or Modem
Connection Procedures and Precautions
12 Connecting the Console Cable to the Router
Connecting to the Console Port with Linux
Connecting to the Console Port with Mac OS
Open the Linux Terminal window
Connect the Linux USB port to the router
Before You Begin Procedure
Installing the Cisco Microsoft Windows XP USB Driver
Installing the Cisco Microsoft Windows 2000 USB Driver
Installing the Cisco Microsoft Windows Vista USB Driver
Uninstalling the Cisco USB Driver
Using the Add Remove Programs Utility
Before You Begin
Using the Setup.exe Program
Uninstalling the Cisco Microsoft Windows Vista USB Driver
13 Connecting a Modem to the Router
Connecting to the Auxiliary Port
Connecting to AC Power
Connecting Power
DC Wiring Requirements for Cisco 1900 Series Routers
Connecting to DC Power
Wire Size Wire Terminal Lug Protection
DC Input
Cisco 1900 Series Router Wiring Procedure for DC Input
14 DC Power Wire Connection
15 Installing the Plastic Safety Cover
OL-19084-02
Checklist Before Powering Up the Cisco Router
Powering up the Router
Related Information
Powering Up the Cisco Router
Using the Cisco Setup Command Facility
Performing the Initial Configuration on the Router
5-6 to configure the router
Verifying the Front Panel LED Indications
System displays a summary of the available interfaces
To proceed using the setup command facility, enter yes
Enter a hostname for the router
System displays the user prompt
System creates the following configuration command script
Using the Cisco CLI-Manual Configuration
Using Cisco Configuration Professional Express
When the system message appears on the router, enter no
Initial CLI Configuration
Type enable to enter privileged Exec mode
Press Return to bring up the Router prompt
Command or Action Purpose
Configuring the Router Hostname
Verify that the router prompt displays your new hostname
Example
Optional Returns to privileged Exec mode
Configuring the Enable and Enable Secret Passwords
Configuring the Console Idle Privileged Exec Timeout
That the privileged Exec command interpreter waits until
Command collection mode
Example shows how to specify no timeout. Setting
Exec-timeout value to 0 will cause the router to
Learn which type of Ethernet interface is on your
Configuring Gigabit Ethernet Interfaces
For IP
Sample Output for the show ip interface brief Command
Configuring the GigabitEthernet Interface
Configuring IP Routing and IP Protocols
Specifying a Default Route or Gateway of Last Resort
Gateway of Last Resort
Routerconfig# ip routing
Sample Output for the show ip route Command
Specifying a Default Route Example
Virtual terminal lines vty for remote console access
Starts the line configuration command collection mode for
Make sure that you configure all vty lines on your
Line vty ? command
Example
Configuring the Auxiliary Line
Auxiliary line
Verifying Network Connectivity
If you want to test the vty line password, perform this
Connected host for each configured interface
Diagnoses initial network connectivity
To verify connectivity, ping the next hop router or
Saving Backup Copies of Configuration and System Image
Saving Your Router Configuration
Saves the running configuration to the startup
Configuration
Copying from Flash Memory to a Tftp Server Example
Copying the Startup Configuration to a Tftp Server Example
Nvram
Verifying the Initial Configuration
OL-19084-02
Getting Software Licenses for the Router
Activating a New Software Package or Feature
1shows the steps for software activation
RMA License Transfer
Additional Information
OL-19084-02