配置思路ensp_配置IS-IS的DIS选择示例

本文介绍了如何在华为ENSP模拟器中配置IS-IS路由协议,以确保性能更好的SwitchA被选举为Level-2的DIS。配置过程包括设置各接口的VLAN、IP地址,查看MAC地址,配置IS-IS基本功能,并调整DIS优先级,最终验证配置结果。
摘要由CSDN通过智能技术生成

29c518b2900b8af1db75f763e7258bd3.png

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选择组网图

7f77dc2ac1587f015fc0ff7db21e004a.png

配置思路

采用如下的思路配置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 
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值