Huawei S6700 Series Configuration Manual page 178

Ip routing
Hide thumbs Also See for S6700 Series:
Table of Contents

Advertisement

S6700 Series Ethernet Switches
Configuration Guide - IP Routing
5.
6.
Issue 01 (2012-03-15)
Restore the default number of routes for load balancing on SwitchA.
[SwitchA] ospf
[SwitchA-ospf-1] undo maximum load-balancing
[SwitchA-ospf-1] quit
# Check the routing table of SwitchA.
[SwitchA] display ip routing-table
Route Flags: R - relay, D - download to fib
----------------------------------------------------------------------------
Routing Tables: Public
Destinations : 11
Destination/Mask
10.1.1.0/24
10.1.1.1/32
InLoopBack0
10.1.2.0/24
10.1.2.1/32
InLoopBack0
127.0.0.0/8
InLoopBack0
127.0.0.1/32
InLoopBack0
172.16.1.0/24
172.16.1.1/32
InLoopBack0
172.17.1.0/24
192.168.0.0/24
192.168.1.0/24
As shown in the routing table, when the default setting of load balancing is restored, the
next hops of SwitchA, that is, 10.1.1.2 (SwitchB) and 10.1.2.2 (SwitchC), become valid
routes. This is because the default number of equal-cost routes is 4.
(Optional) Set the preferences for equal-cost routes on SwitchA.
If you need not perform load balancing between SwitchB and SwitchC, set the preferences
for equal-cost routes and specify the next hop.
[SwitchA] ospf
[SwitchA-ospf-1] nexthop 10.1.2.2 weight 1
[SwitchA-ospf-1] quit
# Check the routing table of SwitchA.
[SwitchA] display ip routing-table
Route Flags: R - relay, D - download to fib
------------------------------------------------------------------------------
Routing Tables: Public
Destinations : 11
Destination/Mask
10.1.1.0/24
10.1.1.1/32
InLoopBack0
10.1.2.0/24
10.1.2.1/32
InLoopBack0
127.0.0.0/8
InLoopBack0
127.0.0.1/32
InLoopBack0
172.16.1.0/24
172.16.1.1/32
InLoopBack0
172.17.1.0/24
192.168.0.0/24
192.168.1.0/24
Huawei Proprietary and Confidential
Copyright © Huawei Technologies Co., Ltd.
Routes : 12
Proto
Pre
Cost
Flags
Direct
0
0
Direct
0
0
Direct
0
0
Direct
0
0
Direct
0
0
Direct
0
0
Direct
0
0
Direct
0
0
OSPF
10
3
OSPF
10
3
OSPF
10
2
OSPF
10
2
Routes : 11
Proto
Pre
Cost
Direct
0
0
Direct
0
0
Direct
0
0
Direct
0
0
Direct
0
0
Direct
0
0
Direct
0
0
Direct
0
0
OSPF
10
3
OSPF
10
2
OSPF
10
2
4 OSPF Configuration
NextHop
D
10.1.1.1
D
127.0.0.1
D
10.1.2.1
D
127.0.0.1
D
127.0.0.1
D
127.0.0.1
D
172.16.1.1
D
127.0.0.1
D
10.1.1.2
D
10.1.2.2
D
10.1.1.2
D
10.1.2.2
Flags
NextHop
D
10.1.1.1
D
127.0.0.1
D
10.1.2.1
D
127.0.0.1
D
127.0.0.1
D
127.0.0.1
D
172.16.1.1
D
127.0.0.1
D
10.1.2.2
D
10.1.1.2
D
10.1.2.2
Interface
Vlanif10
Vlanif20
Vlanif50
Vlanif10
Vlanif2
Vlanif10
Vlanif20
Interface
Vlanif10
Vlanif20
Vlanif50
Vlanif20
Vlanif10
Vlanif20
159

Advertisement

Table of Contents
loading

Table of Contents