第一范文网 - 专业文章范例文档资料分享平台

华为的MSTP+VRRP配置

来源:用户分享 时间:2025/5/29 9:43:49 本文由loading 分享 下载这篇文档手机版
说明:文章内容仅供预览,部分内容可能不全,需要完整文档或者需要复制内容,请下载word后使用。下载word有问题请添加微信号:xxxxxxx或QQ:xxxxxx 处理(尽可能给您提供完整文档),感谢您的支持与谅解。

AR-1

undo terminal monitor

Info: Current terminal monitor is off. system-view

Enter system view, return user view with Ctrl+Z. [Huawei]interface ethernet 0/0/0

[Huawei-Ethernet0/0/0]ip address 192.168.0.2 30 [Huawei-Ethernet0/0/0]interface ethernet0/0/1 [Huawei-Ethernet0/0/1]ip address 192.168.0.6 30 [Huawei-Ethernet0/0/1]q [Huawei]interface loopback 0

[Huawei-LoopBack0]ip address 1.1.1.1 32 [Huawei-LoopBack0]q

[Huawei]ip route-static 172.16.0.0 24 192.168.0.1 [Huawei]ip route-static 172.16.1.0 24 192.168.0.5 [Huawei] [Huawei]

[Huawei]ip route-static 0.0.0.0 0 192.168.0.5 [Huawei] [Huawei]

LSW2

undo terminal monitor

Info: Current terminal monitor is off. system-view

Enter system view, return user view with Ctrl+Z. [Huawei] [Huawei]

[Huawei]vlan batch 11 21 22 2 3

Info: This operation may take a few seconds. Please wait for a moment...done.

[Huawei]interface vlanif 11

[Huawei-Vlanif11]ip address 192.168.1.2 28

[Huawei-Vlanif11]vrrp vrid 1 virtual-ip 192.168.1.1 [Huawei-Vlanif11]vrrp vrid 1 priority 200

[Huawei-Vlanif11]vrrp vrid 1 track interface ethernet 0/0/5 reduced 150 [Huawei-Vlanif11]q

[Huawei]interface vlanif 21

[Huawei-Vlanif21]ip address 172.16.0.2 24

[Huawei-Vlanif21]vrrp vrid 2 virtual-ip 172.16.0.1 [Huawei-Vlanif21]vrrp vrid 2 priority 200

[Huawei-Vlanif21]vrrp vrid 2 track interface ethernet 0/0/5 reduced 150 [Huawei-Vlanif21]q

[Huawei]interface vlanif 22

[Huawei-Vlanif22]ip address 172.16.1.2 24

[Huawei-Vlanif22]vrrp vrid 3 virtual-ip 172.16.1.1 [Huawei-Vlanif22]vrrp vrid 3 priority 80 [Huawei-Vlanif22]q

[Huawei]interface ethernet 0/0/1

[Huawei-Ethernet0/0/1]port link-type trunk

[Huawei-Ethernet0/0/1]port trunk allow-pass vlan 11 21 [Huawei-Ethernet0/0/1]interface ethernet 0/0/2 [Huawei-Ethernet0/0/2]port link-type trunk

[Huawei-Ethernet0/0/2]port trunk allow-pass vlan 11 22 [Huawei-Ethernet0/0/2]interface ethernet 0/0/3 [Huawei-Ethernet0/0/3]port link-type trunk

[Huawei-Ethernet0/0/3]port trunk allow-pass vlan 11 21 22 [Huawei-Ethernet0/0/3]q [Huawei]stp enable [Huawei]stp mode mstp

[Huawei]stp region-configuration [Huawei-mst-region]region-name 001 [Huawei-mst-region]instance 1 vlan 11 [Huawei-mst-region]instance 2 vlan 21 [Huawei-mst-region]instance 3 vlan 22

[Huawei-mst-region]active region-configuration

Info: This operation may take a few seconds. Please wait for a moment...done. [Huawei-mst-region]q

[Huawei]stp instance 1 root primary [Huawei]stp instance 2 root primary [Huawei]stp instance 3 root secondary [Huawei]q sys

Enter system view, return user view with Ctrl+Z. [Huawei]interface vlanif 2

[Huawei-Vlanif2]ip address 192.168.0.1 30 [Huawei-Vlanif2]interface ethernet 0/0/5 [Huawei-Ethernet0/0/5]port link-type access [Huawei-Ethernet0/0/5]port default vlan 2 [Huawei-Ethernet0/0/5]interface vlanif 3 [Huawei-Vlanif3]ip address 192.168.0.9 30 [Huawei-Vlanif3]interface ethernet0/0/4 [Huawei-Ethernet0/0/4]port link-type access [Huawei-Ethernet0/0/4]port default vlan 3 [Huawei-Ethernet0/0/4] [Huawei-Ethernet0/0/4] [Huawei-Ethernet0/0/4]q

[Huawei]ip route-static 1.1.1.1 32 192.168.0.2 [Huawei]ip route-static 0.0.0.0 0 192.168.0.10 [Huawei] User interface con0 is available

Please Press ENTER.

dis vrrp bri

VRID State Interface Type Virtual IP ---------------------------------------------------------------- 1 Master Vlanif11 Normal 192.168.1.1 2 Master Vlanif21 Normal 172.16.0.1 3 Backup Vlanif22 Normal 172.16.1.1 ---------------------------------------------------------------- Total:3 Master:2 Backup:1 Non-active:0

Lsw1

The device is running!

undo terminal monitor

Info: Current terminal monitor is off. system-view

Enter system view, return user view with Ctrl+Z. [Huawei]vlan batch 11 21 22 2 3

Info: This operation may take a few seconds. Please wait for a moment...done.

[Huawei]interface vlanif 11

[Huawei-Vlanif11]ip address 192.168.1.3 28

[Huawei-Vlanif11]vrrp vrid 1 virtual-ip 192.168.1.1 [Huawei-Vlanif11]q

[Huawei]interface vlanif 21

[Huawei-Vlanif21]ip address 172.16.0.3 24

[Huawei-Vlanif21]vrrp vrid 2 virtual-ip 172.16.0.1 [Huawei-Vlanif21]q

[Huawei]interface vlanif 22

[Huawei-Vlanif22]ip address 172.16.1.3 24

[Huawei-Vlanif22]vrrp vrid 2 virtual-ip 172.16.1.1 [Huawei-Vlanif22]vrrp vrid 2 priority 200 [Huawei-Vlanif22]dis this #

interface Vlanif22

ip address 172.16.1.3 255.255.255.0 vrrp vrid 2 virtual-ip 172.16.1.1 vrrp vrid 2 priority 200 # return

[Huawei-Vlanif22]undo vrrp vrid 2 priority 200 ^

Error:Too many parameters found at '^' position. [Huawei-Vlanif22]

[Huawei-Vlanif22]undo vrrp vrid 2 [Huawei-Vlanif22]disthis ^

Error: Unrecognized command found at '^' position. [Huawei-Vlanif22]dis this #

interface Vlanif22

ip address 172.16.1.3 255.255.255.0 #

搜索更多关于: 华为的MSTP+VRRP配置 的文档
华为的MSTP+VRRP配置.doc 将本文的Word文档下载到电脑,方便复制、编辑、收藏和打印
本文链接:https://www.diyifanwen.net/c2iv3r8ynru6gjoh0oac2_1.html(转载请注明文章来源)
热门推荐
Copyright © 2012-2023 第一范文网 版权所有 免责声明 | 联系我们
声明 :本网站尊重并保护知识产权,根据《信息网络传播权保护条例》,如果我们转载的作品侵犯了您的权利,请在一个月内通知我们,我们会及时删除。
客服QQ:xxxxxx 邮箱:xxxxxx@qq.com
渝ICP备2023013149号
Top