- Preface
- Overview of the Hardware and Software
- Basic Router Configuration
- Configuring Ethernet CFM and Y.1731 Performance Monitoring on Layer 3 Interfaces
- Configuring Ethernet Virtual Connection Bridge Domain
- Configuring EtherChannel
- Configuring Backup Data Lines and Remote Management
- Configuring Power Efficiency Management
- Configuring Security Features
- Configuring Identity Features on Layer 3 Interface
- Unified Communications on Cisco Integrated Services Routers
- Configuring Next-Generation High-Density PVDM3 Modules
- Multi-Gigabit Fabric on the Router
- Upgrading the Cisco IOS Software
- Wireless Overview
- Configuring the Wireless Device
- Configuring the Radio
- Administering the Wireless Device
- Cisco IOS CLI for Initial Configuration
- Using CompactFlash Memory Cards
- Using ROM Monitor
- Changing the Configuration Register Settings
- Default Configuration
- Configuring Global Parameters
- Configuring I/O Memory Allocation
- Interface Ports
- Configuring Gigabit Ethernet Interfaces
- Configuring Wireless LAN Interfaces
- Configuring Interface Card and Module Interfaces
- Configuring a Loopback Interface
Basic Router Configuration
This module provides configuration procedures for Cisco 3900 series, Cisco 2900 series, and Cisco 1900 series integrated services routers (ISRs). It also includes configuration examples and verification steps whenever possible.
Note See Appendix A, “Cisco IOS CLI for Initial Configuration” for information on how to perform the initial configuration using the Cisco Internet Operating System (IOS) command line interface on Cisco 3900 series, Cisco 2900 series, and Cisco 1900 series integrated services routers.
Default Configuration
When you boot up your Cisco router for the first time, you notice some basic configuration has already been performed. Use the show running-config command to view the initial configuration, as shown in the following example.
Configuring Global Parameters
To configure the global parameters for your router, follow these steps.
SUMMARY STEPS
DETAILED STEPS
For complete information on global parameter commands, see the Cisco IOS Release configuration guide documentation set.
Configuring I/O Memory Allocation
To reallocate the percentage of DRAM in use for I/O memory and processor memory on Cisco 3925E and Cisco 3945E routers, use the memory-size iomem i/o-memory-percentage command in global configuration mode. To revert to the default memory allocation, use the no form of this command. This procedure enables smartinit.
|
|
---|---|
The percentage of DRAM allocated to I/O memory. The values permitted are 5, 10, 15, 20, 25, 30, 40, and 50. A minimum of 201 MB of memory is required for I/O memory. |
Tip We recommend that you configure the memory-size iomem below 25%. Any value above 25% should be used only for enhancing IPSec performance.
When you specify the percentage of I/O memory in the command line, the processor memory automatically acquires the remaining percentage of DRAM memory.
Example
The following example allocates 25% of the DRAM memory to I/O memory and the remaining 75% to processor memory:
Interface Ports
Table 1 lists the interfaces that are supported on Cisco 3900 series, Cisco 2900 series, and Cisco 1900 series integrated services routers.
|
|
|
|
|
|
---|---|---|---|---|---|
Onboard WLAN GE connection to MGF2 |
|||||
interface 0/0/ port |
interface 0/0/ port |
interface 0/0/ port |
|||
interface1-2/wic- interface1-4/wic- |
Configuring Gigabit Ethernet Interfaces
To manually define onboard Gigabit Ethernet (GE) interfaces, follow these steps, beginning in global configuration mode.
SUMMARY STEPS
DETAILED STEPS
Configuring Wireless LAN Interfaces
The wireless LAN interface on the Cisco 1941W router enables connection to the router through interface wlan-ap0. For more information about configuring a wireless connection, see the “Configuring the Wireless Device” section.
Configuring Interface Card and Module Interfaces
To configure interface cards and modules inserted in internal services module (ISM), enhanced high-speed WAN interface card (EHWIC), Ethernet WAN interface card (EWIC), and service module (SM) slots, see the appropriate interface card or module configuration documents on Cisco.com.
Configuring a Loopback Interface
The loopback interface acts as a placeholder for the static IP address and provides default routing information.
For complete information on the loopback commands, see the Cisco IOS Release configuration guide documentation set.
To configure a loopback interface, follow these steps, beginning in global configuration mode.
SUMMARY STEPS
DETAILED STEPS
|
|
|
---|---|---|
Sets the IP address and subnet mask for the loopback interface. |
||
Exits configuration mode for the loopback interface and returns to global configuration mode. |
Example
The loopback interface in this sample configuration is used to support Network Address Translation (NAT) on the virtual-template interface. This configuration example shows the loopback interface configured on the gigabit ethernet interface with an IP address of 200.200.100.1/24, which acts as a static IP address. The loopback interface points back to virtual-template1, which has a negotiated IP address.
Verifying Configuration
To verify that you have properly configured the loopback interface, enter the show interface loopback command. You should see verification output similar to the following example.
Another way to verify the loopback interface is to ping it:
Configuring Command-Line Access
To configure parameters to control access to the router, follow these steps, beginning in global configuration mode.
Note The TTY lines are asynchronous lines used for inbound or outbound modem and terminal connections and can be seen in a router or access server configuration as line x. The specific line numbers are a function of the hardware built into or installed on the router or access server. In Cisco ISR G2 series routers, the TTY lines are incremented by 1 and start with line number3 instead of line number 2 in Cisco ISR G1 series routers. In ISR G2 series routers, line number 2 cannot be accessed since it has been used for the second core feature.TTY lines are not static and line numbers can be changed in future when more features are added similar to the second core.
SUMMARY STEPS
1. line [ aux | console | tty | vty ] line-number
4. exec-timeout minutes [ seconds ]
DETAILED STEPS
Example
The following configuration shows the command-line access commands.
You do not need to input the commands marked “default.” These commands appear automatically in the configuration file generated when you use the show running-config command.
Configuring Static Routes
Static routes provide fixed routing paths through the network. They are manually configured on the router. If the network topology changes, the static route must be updated with a new route. Static routes are private routes unless they are redistributed by a routing protocol.
To configure static routes, follow these steps, beginning in global configuration mode.
SUMMARY STEPS
1. ip route prefix mask { ip-address | interface-type interface-number [ ip-address ]}
DETAILED STEPS
|
|
|
---|---|---|
ip route prefix mask { ip-address | interface-type interface-number [ ip-address ]} |
Specifies the static route for the IP packets. For details about this command and about additional parameters that can be set, see Cisco IOS IP Command Reference, Volume 2 of 4: Routing Protocols, Release 12.3 |
|
Exits router configuration mode, and enters privileged EXEC mode. |
Example
In the following configuration example, the static route sends out all IP packets with a destination IP address of 192.168.1.0 and a subnet mask of 255.255.255.0 on the Gigabit Ethernet interface to another device with an IP address of 10.10.10.2. Specifically, the packets are sent to the configured PVC.
You do not need to enter the command marked “(default).” This command appears automatically in the configuration file generated when you use the show running-config command.
Verifying Configuration
To verify that you have properly configured static routing, enter the show ip route command and look for static routes signified by the “S.”
You should see verification output similar to the following:
Configuring Dynamic Routes
In dynamic routing, the network protocol adjusts the path automatically, based on network traffic or topology. Changes in dynamic routes are shared with other routers in the network.
The Cisco routers can use IP routing protocols, such as Routing Information Protocol (RIP) or Enhanced Interior Gateway Routing Protocol (EIGRP), to learn routes dynamically. You can configure either of these routing protocols on your router.
- “Configuring Routing Information Protocol” section
- “Configuring Enhanced Interior Gateway Routing Protocol” section
Configuring Routing Information Protocol
To configure the RIP routing protocol on the router, follow these steps, beginning in global configuration mode.
SUMMARY STEPS
DETAILED STEPS
Example
The following configuration example shows RIP version 2 enabled in IP network 10.0.0.0 and 192.168.1.0.
To see this configuration, use the show running-config command from privileged EXEC mode.
Verifying Configuration
To verify that you have properly configured RIP, enter the show ip route command and look for RIP routes signified by “R.” You should see a verification output like the example shown below.
Configuring Enhanced Interior Gateway Routing Protocol
To configure Enhanced Interior Gateway Routing Protocol GRP (EGRP), follow these steps, beginning in global configuration mode.
SUMMARY STEPS
DETAILED STEPS
Example
The following configuration example shows the EIGRP routing protocol enabled in IP networks 192.145.1.0 and 10.10.12.115. The EIGRP autonomous system number is 109.
To see this configuration use the show running-config command, beginning in privileged EXEC mode.
Verifying Configuration
To verify that you have properly configured IP EIGRP, enter the show ip route command, and look for EIGRP routes indicated by “D.” You should see verification output similar to the following: