R0106-HP MSR Router Series Layer 3 - IP Routing Configuration Guide(V7)
49
[RouterE-rip-1] version 2
[RouterE-rip-1] undo summary
# Display all active routes in the RIP database on Router A.
[RouterA] display rip 1 database
1.0.0.0/8, auto-summary
1.1.1.0/24, cost 0, nexthop 1.1.1.1, RIP-interface
1.1.2.0/24, cost 0, nexthop 1.1.2.1, RIP-interface
1.1.3.0/24, cost 1, nexthop 1.1.1.2
1.1.4.0/24, cost 1, nexthop 1.1.2.2
1.1.5.0/24, cost 2, nexthop 1.1.1.2
1.1.5.0/24, cost 2, nexthop 1.1.2.2
The output shows two RIP routes destined for network 1.1.5.0/24, with the next hops as Router B
(1.1.1.2) and Router C (1.1.2.2). The cost of the routes is 2.
3. Configure an additional metric for a RIP interface:
# Configure an additional metric of 3 for RIP-enabled interface GigabitEthernet 2/1/2.
[RouterA] interface gigabitethernet 2/1/2
[RouterA-GigabitEthernet2/1/2] rip metricin 3
# Display all active routes in the RIP database on Router A.
[RouterA-GigabitEthernet2/1/2] display rip 1 database
1.0.0.0/8, auto-summary
1.1.1.0/24, cost 0, nexthop 1.1.1.1, RIP-interface
1.1.2.0/24, cost 0, nexthop 1.1.2.1, RIP-interface
1.1.3.0/24, cost 1, nexthop 1.1.1.2
1.1.4.0/24, cost 2, nexthop 1.1.1.2
1.1.5.0/24, cost 2, nexthop 1.1.1.2
The output shows that only one RIP route reaches network 1.1.5.0/24, with the next hop as Router
B (1.1.1.2) and a cost of 2.
Configuring RIP to advertise a summary route
Network requirements
As shown in Figure 10, Router A and Router B run OSPF, Router D runs RIP, and Router C runs OSPF and
RIP.
• Configure RIP to redistribute OSPF routes on Router C so Router D can learn routes destined for
networks 10.1.1.0/24, 10.2.1.0/24, 10.5.1.0/24, and 10.6.1.0/24.
• To reduce the routing table size of Router D, configure route summarization on Router C to advertise
only the summary route 10.0.0.0/8 to Router D.