Configuring Rip To Advertise A Summary Route - H3C LS-3100-52P-OVS-H3 Operation Manual

S5500-ei series ethernet switches
Table of Contents

Advertisement

[SwitchA] interface vlan-interface 200
[SwitchA-Vlan-interface200] rip metricin 3
[SwitchA-Vlan-interface200] 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 display shows that there is only one RIP route to network 1.1.5.0/24, with the next hop as Switch 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:
Switch A and Switch B run OSPF, Switch D runs RIP, and Switch C runs OSPF and RIP.
Configure RIP to redistribute OSPF routes on Switch C so that Switch 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 Switch C and only the summary route 10.0.0.0/8 is
advertised, thus reducing the routing table size of Switch D.
Figure 1-7 Network diagram for RIP summary route advertisement
Configuration procedure
1)
Configure IP addresses for interfaces (omitted)
2)
Configure OSPF basic functions
# Configure Switch A.
<SwitchA> system-view
[SwitchA] ospf
[SwitchA-ospf-1] area 0
[SwitchA-ospf-1-area-0.0.0.0] network 10.5.1.0 0.0.0.255
[SwitchA-ospf-1-area-0.0.0.0] network 10.2.1.0 0.0.0.255
[SwitchA-ospf-1-area-0.0.0.0] quit
# Configure Switch B.
<SwitchB> system-view
1-22

Advertisement

Chapters

Table of Contents
loading

Table of Contents