HPE 5800 Series Configuration Manual page 49

Layer 3 - ip routing
Hide thumbs Also See for 5800 Series:
Table of Contents

Advertisement

# Enable RIP 100 and RIP 200 and specify RIPv2 on Switch B.
<SwitchB> system-view
[SwitchB] rip 100
[SwitchB-rip-100] network 11.0.0.0
[SwitchB-rip-100] version 2
[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 RIPv2 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
[SwitchC-rip-200] quit
# Display the routing table on Switch C.
[SwitchC] display ip routing-table
Routing Tables: Public
Destinations : 6
Destination/Mask
12.3.1.0/24
12.3.1.2/32
16.4.1.0/24
16.4.1.1/32
127.0.0.0/8
127.0.0.1/32
Configure route redistribution:
3.
# 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 on Switch C.
[SwitchC] display ip routing-table
Routing Tables: Public
Destinations : 8
Destination/Mask
10.2.1.0/24
11.1.1.0/24
12.3.1.0/24
12.3.1.2/32
16.4.1.0/24
16.4.1.1/32
Routes : 6
Proto
Pre
Cost
Direct 0
0
Direct 0
0
Direct 0
0
Direct 0
0
Direct 0
0
Direct 0
0
Routes : 8
Proto
Pre
Cost
RIP
100
1
RIP
100
1
Direct 0
0
Direct 0
0
Direct 0
0
Direct 0
0
38
NextHop
Interface
12.3.1.2
Vlan200
127.0.0.1
InLoop0
16.4.1.1
Vlan400
127.0.0.1
InLoop0
127.0.0.1
InLoop0
127.0.0.1
InLoop0
NextHop
Interface
12.3.1.1
Vlan200
12.3.1.1
Vlan200
12.3.1.2
Vlan200
127.0.0.1
InLoop0
16.4.1.1
Vlan400
127.0.0.1
InLoop0

Advertisement

Table of Contents
loading

This manual is also suitable for:

5820x series

Table of Contents