![Huawei S6700 Series Скачать руководство пользователя страница 355](http://html.mh-extra.com/html/huawei/s6700-series/s6700-series_configuration-manual_169517355.webp)
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, the number of equal-cost routes for load balancing is restored
to the default value of 6. Both the next hops of Switch A, 10.1.1.2 (that is, SwitchB) and
10.1.2.2 (that is, SwitchC) now become valid.
6.
(Optional) Configure the preference for equal-cost routes on Switch A.
If you do not perform load balancing through Switch B and SwitchC, configure the
preference of the equal-cost routes and specify the next hop.
[SwitchA]
isis
[SwitchA-isis-1]
nexthop 10.1.2.2 weight 1
[SwitchA-isis-1]
quit
7.
Verify the configuration.
# 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 Vlanif20 10.1.2.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, the preference (with the weight of 1) of the next hop 10.1.2.2,
the Switch C, is higher than that of 10.1.1.2, the Switch B, after the preference is configured
for equal-cost routes. Thus, IS-IS chooses the next hop 10.1.2.2 as the best route.
Configuration Files
l
Configuration file of Switch A
#
sysname SwitchA
#
vlan batch 10 20 50
#
isis 1
is-level level-2
network-entity 10.0000.0000.0001.00
nexthop 10.1.2.2 weight
#
interface Vlanif10
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.
336