- 1、本文档共7页,可阅读全部内容。
- 2、原创力文档(book118)网站文档一经付费(服务费),不意味着购买了该文档的版权,仅供个人/单位学习、研究之用,不得用于商业用途,未经授权,严禁复制、发行、汇编、翻译或者网络传播等,侵权必究。
- 3、本站所有内容均由合作方或网友上传,本站不对文档的完整性、权威性及其观点立场正确性做任何保证或承诺!文档内容仅供研究参考,付费前请自行鉴别。如您付费,意味着您自己接受本站规则且自行承担风险,本站不退款、不进行额外附加服务;查看《如何避免下载的几个坑》。如果您已付费下载过本站文档,您可以点击 这里二次下载。
- 4、如文档侵犯商业秘密、侵犯著作权、侵犯人身权等,请点击“版权申诉”(推荐),也可以打举报电话:400-050-0827(电话支持时间:9:00-18:30)。
查看更多
8 MSTP及VRRP配置
***************************
MSTP
***************************
SW2
stp region-configuration
region-name H3C
instance 1 vlan 10 20
instance 2 vlan 30 40
instance 3 vlan 99
active region-configuration
qui
stp instance 1 root primary
stp instance 2 3 root secondary
stp enable
stp tc-protection
loopback-detection enable vlan all
int r g1/0/23 to g1/0/26
stp root-protection
SW3
stp region-configuration
region-name H3C
instance 1 vlan 10 20
instance 2 vlan 30 40
instance 3 vlan 99
active region-configuration
qui
stp instance 2 3 root primary
stp instance 1 root secondary
stp enable
stp tc-protection
loopback-detection enable vlan all
int r g1/0/23 to g1/0/26
stp root-protection
//配置根保护功能
IRF
stp region-configuration
region-name H3C
instance 1 vlan 10 20
instance 2 vlan 30 40
instance 3 vlan 99
active region-configuration
stp enable
stp tc-protection
loopback-detection enable vlan all
Int r g1/0/1 g1/0/2 g2/0/1
stp edged-port
stp root-protection
//配置根保护功能
stp tc-protection
//配置tc-bpdu攻击保护
loopback-detection enable
//配置环路检测功能
stp edged-port enable
//配置适合的端口为边缘端口
***************************
VRRP IPV4
***************************
SW1
Vlan 100
name Marketing
port e 1/0/1 to e1/0/4
Vlan 200
name Finance
port e 1/0/5 to e1/0/8
Vlan 300
name HR
port e 1/0/9 to e1/0/12
Vlan 400
name IT
port e 1/0/13 to e1/0/16
interface Vlan-interface 100
ip add 172.16.2.254 24
interface Vlan-interface 200
ip add 172.16.3.254 24
interface Vlan-interface 300
ip add 192.168.2.254 24
interface Vlan-interface 400
ip add 192.168.3.254 24
SW2
interface Vlan-interface10
ip address 172.16.0.252 255.255.255.0
vrrp vrid 10 virtual-ip 172.16.0.254
vrrp vrid 10 priority 150
vrrp vrid 10 track 1 reduced 50
vrrp vrid 10 track 1 priority reduced 50
(模拟器上的)
interface Vlan-interface20
ip address 172.16.1.252 255.255.255.0
vrrp vrid 20 virtual-ip 172.16.1.254
vrrp vrid 20 priority 150
vrrp vrid 20 track 1 reduced 50
vrrp vrid 20 track 1 priority reduced 50
interface Vlan-interface30
ip address 192.168.0.252 255.25
您可能关注的文档
- 阿布扎伊族介绍(英文).doc
- SIP注册说明.docx
- ISG电机中英文翻译.doc
- N多软件注册码大全.doc
- 音乐播放器c#实际运用.docx
- 我国输水钢管同国外的差距及展望(二)美国输水钢管的管厚设计.doc
- matlab实现的ID3 分类决策树 算法.docx
- 关于质心提取的若干图像处理问题的总结.doc
- 使用IO内存控制硬件点亮LED灯.doc
- AE—3D Channel三维通道特效中文.doc
- 新高考生物二轮复习讲练测第6讲 遗传的分子基础(检测) (原卷版).docx
- 新高考生物二轮复习讲练测第12讲 生物与环境(检测)(原卷版).docx
- 新高考生物二轮复习讲练测第3讲 酶和ATP(检测)(原卷版).docx
- 新高考生物二轮复习讲练测第9讲 神经调节与体液调节(检测)(原卷版).docx
- 新高考生物二轮复习讲练测第11讲 植物生命活动的调节(讲练)(原卷版).docx
- 新高考生物二轮复习讲练测第8讲 生物的变异、育种与进化(检测)(原卷版).docx
- 新高考生物二轮复习讲练测第5讲 细胞的分裂、分化、衰老和死亡(讲练)(原卷版).docx
- 新高考生物二轮复习讲练测第5讲 细胞的分裂、分化、衰老和死亡(检测)(原卷版).docx
- 新高考生物二轮复习讲练测第12讲 生物与环境(讲练)(原卷版).docx
- 新高考生物二轮复习讲练测第11讲 植物生命活动的调节(检测)(原卷版).docx
文档评论(0)