Configuring rip to advertise a summary route, Network requirements – H3C Technologies H3C SR8800 User Manual

Page 63

Advertising
background image

47

[RouterD-rip-1] undo summary

# Configure Router E.

<RouterE> system-view

[RouterE] rip

[RouterE-rip-1] network 1.0.0.0

[RouterE-rip-1] version 2

[RouterE-rip-1] undo summary

# Display the IP routing table of Router A.

[RouterA] display rip 1 database

1.0.0.0/8, cost 0, ClassfulSumm

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 that two RIP routes can reach network 1.1.5.0/24. Their next hops are Router B

(1.1.1.2) and Router C (1.1.2.2) respectively, with the same cost of 2. Router C is the next hop

router to reach network 1.1.4.0/24, with a cost of 1.

3.

Configure an additional metric for the RIP interface:
# Configure an additional metric of 3 for GigabitEthernet 3/1/2 on Router A.

[RouterA] interface GigabitEthernet 3/1/2

[RouterA-GigabitEthernet3/1/2] rip metricin 3

[RouterA-GigabitEthernet3/1/2] display rip 1 database

1.0.0.0/8, cost 0, ClassfulSumm

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 the following figure:

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 that Router D has 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.

Route summarization is configured on Router C and only the summary route 10.0.0.0/8 is
advertised, reducing the routing table size of Router D.

Advertising