华为的MSTP+VRRP配置
更新时间:2024-05-05 08:45:01 阅读量: 综合文库 文档下载
AR-1
Info: Current terminal monitor is off.
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
Info: Current terminal monitor is off.
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
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.
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!
Info: Current terminal monitor is off.
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 #
return
[Huawei-Vlanif22]vrrp vrid 3 virtual-ip 172.16.1.1 [Huawei-Vlanif22]vrrp vrid 3 priority 200
[Huawei-Vlanif22]vrrp vrid 3 track interface ethernet0/0/5 reduced 150 [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 ethernet0/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 secondary [Huawei]stp instance 2 root secondary [Huawei]stp instance 3 root primary [Huawei]q
Enter system view, return user view with Ctrl+Z. [Huawei]interface vlanif 2
[Huawei-Vlanif2]ip address 192.168.0.5 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.10 30 [Huawei-Vlanif3]interface ethernet0/0/4 [Huawei-Ethernet0/0/4]po li a [Huawei-Ethernet0/0/4]po de vl 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.6 [Huawei]ip route-static 0.0.0.0 0 192.168.0.9 [Huawei]dis vrrp bri [Huawei]dis vrrp brief
VRID State Interface Type Virtual IP ---------------------------------------------------------------- 1 Backup Vlanif11 Normal 192.168.1.1 2 Backup Vlanif21 Normal 172.16.0.1 3 Master Vlanif22 Normal 172.16.1.1 ---------------------------------------------------------------- Total:3 Master:1 Backup:2 Non-active:0 [Huawei]
LSW3
The device is running!
Info: Current terminal monitor is off.
Error: Unrecognized command found at '^' position.
Enter system view, return user view with Ctrl+Z. [Huawei]vlan batch 11 22
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.5 28 [Huawei-Vlanif11]q
[Huawei]interface ethernet 0/0/3
[Huawei-Ethernet0/0/3]port link-type access [Huawei-Ethernet0/0/3]port default vlan 22 [Huawei-Ethernet0/0/3]interface ethernet 0/0/1 [Huawei-Ethernet0/0/1]port link-type trunk
[Huawei-Ethernet0/0/1]port trunk allow-pass vlan 11 22 [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]
User interface con0 is available
Please Press ENTER.
LSW4
Please press enter to start cmd line!
Info: Current terminal monitor is off.
Enter system view, return user view with Ctrl+Z. [Huawei]vlan batch 11 21
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.4 28 [Huawei-Vlanif11]q
[Huawei]interface ethernet0/0/3
[Huawei-Ethernet0/0/3]port link-type access [Huawei-Ethernet0/0/3]port default vlan 21 [Huawei-Ethernet0/0/3]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 ethernet0/0/2 [Huawei-Ethernet0/0/2]port link-type trunk
[Huawei-Ethernet0/0/2]port trunk allow-pass vlan 11 21 [Huawei-Ethernet0/0/2]q [Huawei]vlan 11
[Huawei-vlan11]description Guanli [Huawei-vlan11]dis this # vlan 11
description Guanli # return
[Huawei-vlan11] User interface con0 is available
Please Press ENTER.
正在阅读:
华为的MSTP+VRRP配置05-05
冀教版四年级数学上全册教学反思06-16
厦门市建设工程施工阶段项目监理机构人员配备标准与管理暂行办法06-24
将企业营造成“和谐大家庭”12-25
中国广告横幅行业发展研究报告 - 图文10-27
人教版新版八年级物理下册(全册)《教师教学用书》补充练习05-06
学校历史教师年终工作总结参考文本04-03
- 多层物业服务方案
- (审判实务)习惯法与少数民族地区民间纠纷解决问题(孙 潋)
- 人教版新课标六年级下册语文全册教案
- 词语打卡
- photoshop实习报告
- 钢结构设计原理综合测试2
- 2014年期末练习题
- 高中数学中的逆向思维解题方法探讨
- 名师原创 全国通用2014-2015学年高二寒假作业 政治(一)Word版
- 北航《建筑结构检测鉴定与加固》在线作业三
- XX县卫生监督所工程建设项目可行性研究报告
- 小学四年级观察作文经典评语
- 浅谈110KV变电站电气一次设计-程泉焱(1)
- 安全员考试题库
- 国家电网公司变电运维管理规定(试行)
- 义务教育课程标准稿征求意见提纲
- 教学秘书面试技巧
- 钢结构工程施工组织设计
- 水利工程概论论文
- 09届九年级数学第四次模拟试卷
- 华为
- 配置
- MSTP
- VRRP
- 小学五年级美术知识清单(人教版)
- 吉林省长白山2013学年高数学 第二章综合素质能力检测 新人教A版
- 社会工作概论复习资料
- 110kV变电站初步设计
- 丙烷脱氢制丙烯调研报告
- 2004年广东省中学生初中生物学联赛试卷(5)
- 统计学习题
- 2011北京国际商会参会企业名单
- 乡土中国的读书笔记
- 管理会计学复习题(带答案)
- 传感器技术期末考试--试题库
- 收费管理系统项目可行性研究报告 - 图文
- 福利管理制度
- THPFSM-3型实训指导书实训指导书
- 中考物理总复习 专题二 情景归纳题(提醒突破,致胜中考)
- 吹风机毕业设计
- 继电保护竞赛之--选择题汇总第1套
- “十三五”重点项目-盐酸环丙沙星注射液项目商业计划书
- DSP的FIR设计(低通滤波)C语言编写
- 宁夏现代种业发展规划