![Huawei S6700 Series Configuration Manual Download Page 354](http://html.mh-extra.com/html/huawei/s6700-series/s6700-series_configuration-manual_169517354.webp)
The configuration details are not mentioned here.
3.
Configure basic IS-IS functions.
The configuration details are not mentioned here.
4.
Set the number of equal-cost routes for load balancing to 1 on Switch A.
[SwitchA]
isis 1
[SwitchA-isis-1]
maximum load-balancing 1
[SwitchA-isis-1]
quit
# Display the routing table of SwitchA.
[SwitchA]
display isis route
Route information for ISIS(1)
-----------------------------
ISIS(1) Level-2 Forwarding Table
--------------------------------
IPV4 Destination IntCost ExtCost ExitInterface NextHop
Flags
-------------------------------------------------------------------------
192.168.1.0/24 20 NULL Vlanif20 10.1.2.2
A/-/-/-
10.1.1.0/24 10 NULL Vlanif10 Direct D/-/
L/-
172.16.1.0/24 10 NULL Vlanif50 Direct D/-/
L/-
172.17.1.0/24 30 NULL Vlanif10 10.1.1.2
A/-/-/-
10.1.2.0/24 10 NULL Vlanif20 Direct D/-/
L/-
192.168.0.0/24 20 NULL Vlanif10 10.1.1.2
A/-/-/-
Flags: D-Direct, A-Added to URT, L-Advertised in LSPs, S-IGP Shortcut,
U-Up/Down Bit Set
As shown in the routing table, when the maximum number of equal-cost routes for load
balancing is set to 1, IS-IS chooses the next hop 10.1.1.2 (Switch B) as the only best route
to the destination network 172.17.1.0. This is because Switch B has a smaller system ID.
5.
Restore the default number of equal-cost routes for load balancing on Switch A.
[SwitchA]
isis 1
[SwitchA-isis-1]
undo maximum load-balancing
[SwitchA-isis-1]
quit
# Display the routing table of SwitchA.
[SwitchA]
display isis route
Route information for ISIS(1)
-----------------------------
ISIS(1) Level-2 Forwarding Table
--------------------------------
IPV4 Destination IntCost ExtCost ExitInterface NextHop
Flags
-------------------------------------------------------------------------
192.168.1.0/24 20 NULL Vlanif20 10.1.2.2
A/-/-/-
10.1.1.0/24 10 NULL Vlanif10 Direct D/-/
L/-
172.16.1.0/24 10 NULL Vlanif50 Direct D/-/
L/-
172.17.1.0/24 30 NULL Vlanif10 10.1.1.2
A/-/-/-
Vlanif20 10.1.2.2
S6700 Series Ethernet Switches
Configuration Guide - IP Routing
6 IS-IS Configuration
Issue 01 (2012-03-15)
Huawei Proprietary and Confidential
Copyright © Huawei Technologies Co., Ltd.
335