PS:华为ENSP模拟器下载地址(提取码:f651 有任何下载安装问题可以在评论区讨论)
组网需求
如图1所示,广播网中有4台设备通过IS-IS路由协议实现互联,其中SwitchA和SwitchB是Level-1-2设备,SwitchC是Level-1设备,SwitchD是Level-2设备。用户希望将性能较好的SwitchA配置为Level-2的DIS。
图1 配置IS-IS的DIS选择组网图
配置思路
采用如下的思路配置IS-IS的DIS选择:
1. 配置IS-IS路由协议,实现网络互联。
2. 配置SwitchA DIS优先级为100,实现SwitchA被选举为Level-2的DIS。
操作步骤
1. 配置各接口所属的VLAN
# 配置SwitchA。Switch、SwitchB、SwitchC和SwitchD的配置与SwitchA类似。
<HUAWEI> system-view
[HUAWEI] sysname SwitchA
[SwitchA] vlan batch 10
[SwitchA] interface gigabitethernet 0/0/1
[SwitchA-GigabitEthernet0/0/1] port link-type trunk
[SwitchA-GigabitEthernet0/0/1] port trunk allow-pass vlan 10
[SwitchA-GigabitEthernet0/0/1] quit
2. 配置各VLANIF接口的IP地址
# 配置SwitchA。SwitchB、SwitchC和SwitchD的配置与SwitchA类似。
[SwitchA] interface vlanif 10
[SwitchA-Vlanif10] ip address 10.1.1.1 24
[SwitchA-Vlanif10] quit
3. 查看各台Switch上VLANIF10的MAC地址
# 查看SwitchA上接口VLANIF10的MAC地址。
[SwitchA] display interface Vlanif 10
Vlanif10 current state : UP
Line protocol current state : UP
Last line protocol up time : 2014-12-02 18:02:15 UTC+08:00
Description:
Route Port,The Maximum Transmit Unit is 1500
Internet Address is 10.1.1.1/24
IP Sending Frames' Format is PKTFMT_ETHNT_2, Hardware address is 00e0-fc10-afec
Current system time: 2014-12-02 18:03:12+08:00
Input bandwidth utilization : --
Output bandwidth utilization : --
# 查看SwitchB上接口VLANIF10的MAC地址。
[SwitchB] display interface Vlanif 10
Vlanif10 current state : UP
Line protocol current state : UP
Last line protocol up time : 2014-12-02 18:01:15 UTC+08:00
Description:
Route Port,The Maximum Transmit Unit is 1500
Internet Address is 10.1.1.2/24
IP Sending