Configuring Global Parameters: Summary Steps
Configuring Global Parameters: Summary Steps
sections.
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
1. configure terminal
2. router rip
3. version { 1 | 2 }
4. network ip-address
5. no auto-summary
6. end
DETAILED STEPS
Command Task
Step configure terminal Enters global configuration mode.
1 Example:
Router> configure terminal
Step router rip Enters router configuration mode, and enables RIP
2 Example: on the router.
Router(config)#
router rip
Step version { 1 | 2 } Specifies use of RIP version 1 or 2.
3 Example:
Router(config-
router)# version 2
Step network ip-address Specifies a list of networks on which RIP is to be
4 Example: applied, using the address of the network of each
Router(config- directly connected network.
router)# network
192.168.1.1
Step no auto-summary Disables automatic summarization of subnet routes
5 Example: into network-level routes. This allows subprefix
Router(config- routing information to pass across classful network
router)# no auto- boundaries.
summary
Step end Exits router configuration mode, and enters
6 Example: privileged EXEC mode.
Router(config-
router)# end
Example: RIP Configuration
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.
Router# show running-configrouter ripversion 2network 10.0.0.0network 192.168.1.0no auto-summary!
Verifying RIP Configuration
To verify that you have properly configured RIP, enter the show ip route command and look for RIP routes signified by “R” as
shown in this example.
Router# show ip routeCodes: C - connected, S - static, R - RIP, M - mobile, B - BGPD - EIGRP, EX - EIGRP external, O -
OSPF, IA - OSPF inter areaN1 - OSPF NSSA external type 1, N2 - OSPF NSSA external type 2E1 - OSPF external type 1, E2 -
OSPF external type 2i - IS-IS, su - IS-IS summary, L1 - IS-IS level-1, L2 - IS-IS level-2ia - IS-IS inter area, * - candidate default,
U - per-user static routeo - ODR, P - periodic downloaded static route Gateway of last resort is not set 10.0.0.0/24 is subnetted, 1
subnetsC 10.108.1.0 is directly connected, Loopback0R 3.0.0.0/8 [120/1] via 2.2.2.1, 00:00:02, Ethernet0/0
Configuring Enhanced Interior Gateway Routing Protocol
To configure Enhanced Interior Gateway Routing Protocol (EGRP), perform these steps.
SUMMARY STEPS
1. configure terminal
2. router eigrp as-number
3. network ip-address
4. end
DETAILED STEPS
Command Purpose
Step configure terminal Enters global configuration mode.
1 Example:
Router> configure terminal
Step router eigrp as-number Enters router configuration mode, and enables EIGRP
2 Example: on the router. The autonomous-system number
Router(config)# identifies the route to other EIGRP routers and is used
router eigrp 109 to tag the EIGRP information.
Step network ip-address Specifies a list of networks on which EIGRP is to be
3 Example: applied, using the IP address of the network of directly
Router(config)# connected networks.
network 192.145.1.0
Step end Exits router configuration mode, and enters privileged
4 Example: EXEC mode.
Router(config-
router)# end
Router#
Example: Configuring EIGRP
This 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.
Router# show running-config...!router eigrp 109network 192.145.1.0network 10.10.12.115!...
Verifying EIGRP Configuration
To verify that you have properly configured EIGRP, enter the show ip route command, and look for EIGRP routes indicated by
“D “ as shown in the following example:
Router# show ip routeCodes: C - connected, S - static, R - RIP, M - mobile, B - BGPD - EIGRP, EX - EIGRP external, O -
OSPF, IA - OSPF inter areaN1 - OSPF NSSA external type 1, N2 - OSPF NSSA external type 2E1 - OSPF external type 1, E2 -
OSPF external type 2i - IS-IS, su - IS-IS summary, L1 - IS-IS level-1, L2 - IS-IS level-2ia - IS-IS inter area, * - candidate default,
U - per-user static routeo - ODR, P - periodic downloaded static route Gateway of last resort is not set 10.0.0.0/24 is subnetted, 1
subnetsC 10.108.1.0 is directly connected, Loopback0D 3.0.0.0/8 [90/409600] via 2.2.2.1, 00:00:02, Ethernet0/0
Telnet, Console and AUX Port Passwords on Cisco Routers Configuration Example
+ Show 2 More
Contact Cisco
Open a Support Case
in Security Documents
Cisco Community
FOLLOW USNewsroomEventsBlogsCommunity
About Us
Customer stories
Investor relations
Social responsibility
Environmental sustainability
The Trust Center
Contact Us
Meet our partners
Find a reseller
Careers
We Are Cisco
Partner with Cisco
Meraki
All new Webex
Cisco Umbrella
Contacts