F3215-HP Load Balancing Module Network Management Configuration Guide-6PW101

192
Configure basic OSPF:
# Configure Router A.
<RouterA> system-view
[RouterA] ospf
[RouterA-ospf-1] area 0
[RouterA-ospf-1-area-0.0.0.0] network 10.5.1.0 0.0.0.255
[RouterA-ospf-1-area-0.0.0.0] network 10.2.1.0 0.0.0.255
[RouterA-ospf-1-area-0.0.0.0] quit
# Configure Router B.
<RouterB> system-view
[RouterB] ospf
[RouterB-ospf-1] area 0
[RouterB-ospf-1-area-0.0.0.0] network 10.1.1.0 0.0.0.255
[RouterB-ospf-1-area-0.0.0.0] network 10.6.1.0 0.0.0.255
[RouterB-ospf-1-area-0.0.0.0] quit
# Configure LB.
<LB> system-view
[LB] ospf
[LB-ospf-1] area 0
[LB-ospf-1-area-0.0.0.0] network 10.1.1.0 0.0.0.255
[LB-ospf-1-area-0.0.0.0] network 10.2.1.0 0.0.0.255
[LB-ospf-1-area-0.0.0.0] quit
[LB-ospf-1] quit
Configure basic RIP:
# Configure LB.
[LB] rip 1
[LB-rip-1] network 11.3.1.0
[LB-rip-1] version 2
[LB-rip-1] undo summary
# Configure Router C.
<RouterC> system-view
[RouterC] rip 1
[RouterC-rip-1] network 11.0.0.0
[RouterC-rip-1] version 2
[RouterC-rip-1] undo summary
[RouterC-rip-1] quit
# Configure RIP to redistribute the routes from OSPF process 1 and direct routes on LB.
[LB-rip-1] import-route direct
[LB-rip-1] import-route ospf 1
[LB-rip-1] quit
# Display the IP routing table on Router C.
[RouterC] display ip routing-table
Routing Tables: Public
Destinations : 10 Routes : 10
Destination/Mask Proto Pre Cost NextHop Interface