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

S5500-ei series ethernet switches
Table of Contents

Advertisement

[SwitchB] ospf
[SwitchB-ospf-1] area 0
[SwitchB-ospf-1-area-0.0.0.0] network 10.1.1.0 0.0.0.255
[SwitchB-ospf-1-area-0.0.0.0] network 10.6.1.0 0.0.0.255
[SwitchB-ospf-1-area-0.0.0.0] quit
# Configure Switch C.
<SwitchC> system-view
[SwitchC] ospf
[SwitchC-ospf-1] area 0
[SwitchC-ospf-1-area-0.0.0.0] network 10.1.1.0 0.0.0.255
[SwitchC-ospf-1-area-0.0.0.0] network 10.2.1.0 0.0.0.255
[SwitchC-ospf-1-area-0.0.0.0] quit
3)
Configure RIP basic functions.
# Configure Switch C.
<SwitchC> system-view
[SwitchC] rip 1
[SwitchC-rip-1] network 11.3.1.0
[SwitchC-rip-1] version 2
[SwitchC-rip-1] undo summary
# Configure Switch D.
<SwitchD> system-view
[SwitchD] rip 1
[SwitchD-rip-1] network 11.0.0.0
[SwitchD-rip-1] version 2
[SwitchD-rip-1] undo summary
[SwitchD-rip-1] quit
# Configure RIP to redistribute the routes from OSPF process 1 and direct routes on Switch C.
[SwitchC-rip-1] import-route direct
[SwitchC-rip-1] import-route ospf 1
# Display the routing table information of Switch D.
[SwitchD] display ip routing-table
Routing Tables: Public
Destinations : 10
Destination/Mask
Proto
10.1.1.0/24
RIP
10.2.1.0/24
RIP
10.5.1.0/24
RIP
10.6.1.0/24
RIP
11.3.1.0/24
Direct 0
11.3.1.2/32
Direct 0
11.4.1.0/24
Direct 0
11.4.1.2/32
Direct 0
127.0.0.0/8
Direct 0
Routes : 10
Pre
Cost
NextHop
100
1
11.3.1.1
100
1
11.3.1.1
100
1
11.3.1.1
100
1
11.3.1.1
0
11.3.1.2
0
127.0.0.1
0
11.4.1.2
0
127.0.0.1
0
127.0.0.1
1-23
Interface
Vlan300
Vlan300
Vlan300
Vlan300
Vlan300
InLoop0
Vlan400
InLoop0
InLoop0

Advertisement

Chapters

Table of Contents
loading

Table of Contents