H3C LS-3100-52P-OVS-H3 Operation Manual page 531

S5500-ei series ethernet switches
Table of Contents

Advertisement

[SwitchB-rip-100] undo summary
[SwitchB-rip-100] quit
[SwitchB] rip 200
[SwitchB-rip-200] network 12.0.0.0
[SwitchB-rip-200] version 2
[SwitchB-rip-200] undo summary
[SwitchB-rip-200] quit
# Enable RIP 200 and specify RIP version 2 on Switch C.
<SwitchC> system-view
[SwitchC] rip 200
[SwitchC-rip-200] network 12.0.0.0
[SwitchC-rip-200] network 16.0.0.0
[SwitchC-rip-200] version 2
[SwitchC-rip-200] undo summary
# Display the routing table of Switch C.
[SwitchC] display ip routing-table
Routing Tables: Public
Destinations : 6
Destination/Mask
Proto
12.3.1.0/24
Direct 0
12.3.1.2/32
Direct 0
16.4.1.0/24
Direct 0
16.4.1.1/32
Direct 0
127.0.0.0/8
Direct 0
127.0.0.1/32
Direct 0
3)
Configure route redistribution
# On Switch B, configure RIP 200 to redistribute direct routes and routes from RIP 100.
[SwitchB] rip 200
[SwitchB-rip-200] import-route rip 100
[SwitchB-rip-200] import-route direct
[SwitchB-rip-200] quit
# Display the routing table of Switch C.
[SwitchC] display ip routing-table
Routing Tables: Public
Destinations : 8
Destination/Mask
Proto
10.2.1.0/24
RIP
11.1.1.0/24
RIP
12.3.1.0/24
Direct 0
12.3.1.2/32
Direct 0
16.4.1.0/24
Direct 0
16.4.1.1/32
Direct 0
127.0.0.0/8
Direct 0
127.0.0.1/32
Direct 0
4)
Configure an filtering policy to filter redistributed routes
Routes : 6
Pre
Cost
NextHop
0
12.3.1.2
0
127.0.0.1
0
16.4.1.1
0
127.0.0.1
0
127.0.0.1
0
127.0.0.1
Routes : 8
Pre
Cost
NextHop
100
1
12.3.1.1
100
1
12.3.1.1
0
12.3.1.2
0
127.0.0.1
0
16.4.1.1
0
127.0.0.1
0
127.0.0.1
0
127.0.0.1
1-19
Interface
Vlan200
InLoop0
Vlan400
InLoop0
InLoop0
InLoop0
Interface
Vlan200
Vlan200
Vlan200
InLoop0
Vlan400
InLoop0
InLoop0
InLoop0

Advertisement

Chapters

Table of Contents
loading

Table of Contents