3com S7906E Manuel De Montage
1-20
Peer 192.168.1.2 on Vlan-interface100
Destination/Mask Nexthop Cost Tag Flags Sec
10.0.0.0/8 192.168.1.2 1 0 RA 50
10.2.1.0/24 192.168.1.2 1 0 RA 16
10.1.1.0/24 192.168.1.2 1 0 RA 16
From the routing table, you can see RIPv2 uses classless subnet mask.
Since RIPv1 routing information has a long aging time, it will still exist until it ages out after RIPv2 is
configured.
Configuring RIP Route Redistribution
Network requirements
As shown in the following figure:
z
Two RIP processes are running on Switch B, which communicates with Switch A through RIP 100
and with Switch C through RIP 200.
z
Configure route redistribution on Switch B to make RIP 200 redistribute direct routes and routes
from RIP 100. Thus, Switch C can learn routes destined for 10.2.1.0/24 and 11.1.1.0/24, while
Switch A cannot learn routes destined for 12.3.1.0/24 and 16.4.1.0/24.
z
Configure a filtering policy on Switch B to filter out the route 10.2.1.1/24 from RIP 100, making the
route not advertised to Switch C.
Figure 1-5 Network diagram for RIP route redistribution configuration
Configuration procedure
1) Configure an IP address for each interface (Omitted).
2) Configure basic RIP functions.
# Enable RIP 100 and specify RIP version 2 on Switch A.
<SwitchA> system-view
[SwitchA] rip 100
[SwitchA-rip-100] network 10.0.0.0
[SwitchA-rip-100] network 11.0.0.0
[SwitchA-rip-100] version 2
[SwitchA-rip-100] undo summary
[SwitchA-rip-100] quit