25
Cisco 3900 Series, Cisco 2900 Series, and Cisco 1900 Series Integrated Services Routers Generation 2 Software Configuration Guide
Chapter Basic Router Configuration
Configuring Dynamic Routes
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:
Router#
show ip route
Codes: C - connected, S - static, R - RIP, M - mobile, B - BGP
D - EIGRP, EX - EIGRP external, O - OSPF, IA - OSPF inter area
N1 - OSPF NSSA external type 1, N2 - OSPF NSSA external type 2
E1 - OSPF external type 1, E2 - OSPF external type 2
i - IS-IS, su - IS-IS summary, L1 - IS-IS level-1, L2 - IS-IS level-2
ia - IS-IS inter area, * - candidate default, U - per-user static route
o - ODR, P - periodic downloaded static route
Gateway of last resort is not set
10.0.0.0/24 is subnetted, 1 subnets
C 10.108.1.0 is directly connected, Loopback0
S* 0.0.0.0/0 is directly connected, FastEthernet0
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 on page 25
•
“Configuring Enhanced Interior Gateway Routing Protocol” section on page 27
Configuring Routing Information Protocol
To
configure the RIP routing protocol on the router
,
follow these steps
,
beginning in global configuration
mode
.
SUMMARY STEPS
1.
router rip
2.
version
{
1
|
2
}
3.
network
ip-address
4.
no auto-summary
5.
end