思科交换机vrrpmstp配置实例

更新时间:2023-07-12 05:43:53 阅读: 评论:0

思科交换机vrrpmstp配置实例
一、组网需求
1、witcha、witchb选用两台锐捷的5750;witchc、hwichd选
用锐捷的3750和3760
2、全网共有两个业务vlan,为vlan10、vlan203、Switcha、witchb都分别对两vlan起用两vrrp组,实现两组的业务的负
载分担和备份。
4、Switcha、witchb、witchc、witchd都起用mtp多生成数协议,并且
所有设备都属于同一个mt域,且实例映射一致(vlan10映射实例1、vlan20映射实例2其他vlan映射默认实例0)。
5、Vlan10业务以witcha为根桥;vlan20业务以witchb为根桥;实现阻
断网络环路,并能实现不同vlan数据流负载分担功能。
二、组网图
三、配置步骤
Switcha配置:1#howrun
Currentconfiguration:1651byte!
verionRGNOS10.2.00(2),Releae(29287)(TueDec2520:39:14CST2007-ngcf49)hotname1
co-operateenable!!!
vlan1!
vlan10!
vlan20!!
noervicepaword-encryption!
panning-tree开启生成树(默认为mtp)
panning-treemtconfiguration进入mt配置模式reviion1指定MSTreviionnumber为1nameregion1指定mt配置名称
intance0vlan1-9,11-19,21-4094缺省情况下vlan都属于实例0intance1vlan10手工指定vlan10属于实例1intance2vlan20手工指定vlan20属于实例2
panning-treemt1priority0指定实例1的优先级为0(为根桥)panning-treemt2priority4096指定实例2的优先级为4096interfaceGigabitEthernet0/1
witchportaccevlan10配置g0/1属于vlan10!
克什米尔公主号interfaceGigabitEthernet0/2
witchportaccevlan20配置g0/2属于vlan20!
interfaceGigabitEthernet0/3!..
interfaceGigabitEthernet0/24设置g0/24为trunk接口且允许vlan10/20通过witchportmodetrunk!
interfaceVLAN10创建vlan10vi接口ipaddre192.168.10.1255.255.255.0配置ip地址
vrrp1priority120配置vrrp组1优先级为120
vrrp1ip192.168.10.254配置vrrp组1虚拟ip地址为192.168.10.254!
interfaceVLAN20创建vlan20vi接口ipaddre192.168.20.1255.255.255.0配置ip地址
vrrp2ip192.168.20.254配置vrrp组2虚拟ip地址为192.168.20.254默认vrrp组的优先级为100默认不显示!
linecon0linevty04login
1#howvlan
VLANNameStatuPort-------------------------------------------------------------------------------
百崖大峡谷
1VLAN0001STATICGi0/3,Gi0/4,Gi0/5,Gi0/6
Gi0/7,Gi0/8,Gi0/9,Gi0/10
Gi0/11,Gi0/12,Gi0/13,Gi0/14
Gi0/15,Gi0/16,Gi0/17,Gi0/18
中长发直发
Gi0/19,Gi0/20,Gi0/21,Gi0/22
Gi0/23,Gi0/24
10VLAN0010STATICGi0/1,Gi0/24
20VLAN0020STATICGi0/2,Gi0/24
Switchb配置:
2#howrun
Currentconfiguration:1607byte
!
verionRGNOS10.2.00(2),Releae(27932)(ThuDec1310:32:09CST2007-ngcf31)hotname2!!!
vlan1!
vlan10!
vlan20!!
noervicepaword-encryption!
panning-tree
panning-treemtconfigurationreviion1nameregion1
intance0vlan1-9,11-19,21-4094intance1vlan10intance2vlan20
panning-treemt1priority4096panning-treemt2priority0interfaceGigabitEthernet0/1witchportaccevlan10!
interfaceGigabitEthernet0/2witchportaccevlan20!..
interfaceGigabitEthernet0/24witchportmodetrunk!
interfaceVLAN10
魅力男生ipaddre192.168.10.2255.255.255.0vrrp1ip192.168.10.254!手机没有网络
interfaceVLAN20
ipaddre192.168.20.2255.255.255.0vrrp2priority120
vrrp2ip192.168.20.254!
linecon0linevty04login!!end
2#howvlan
VLANNameStatuPort--------------------------------------------------------------------------------
1VLAN0001STATICGi0/3,Gi0/4,Gi0/5,Gi0/6
Gi0/7,Gi0/8,Gi0/9,Gi0/10
Gi0/11,Gi0/12,Gi0/13,Gi0/14
Gi0/15,Gi0/16,Gi0/17,Gi0/18
Gi0/19,Gi0/20,Gi0/21,Gi0/22
Gi0/23,Gi0/24
别平10VLAN0010STATICGi0/1,Gi0/24
20VLAN0020STATICGi0/2,Gi0/24
Switchc配置:
控辍保学工作制度3#howrun
Currentconfiguration:1540byte!
verionRGNOS10.2.00(2),Releae(28794)(FriDec2109:27:15CST2007-ngcf32)hotname3!
vlan1!
vlan10!!
开学了手抄报内容ervicepaword-encryption!
panning-tree
panning-treemtconfigurationreviion1nameregion1
intance0vlan1-9,11-19,21-4094intance1vlan10intance2vlan20
panning-treemt1priority0panning-treemt2priority4096interfaceFatEthernet0/1witchportaccevlan10!
interfaceFatEthernet0/2witchportaccevlan10!..
interfaceGigabitEthernet0/25!
interfaceGigabitEthernet0/26!
interfaceGigabitEthernet0/27!
interfaceGigabitEthernet0/28!
interfaceVLAN10
ipaddre192.168.10.3255.255.255.0!
iproute0.0.0.00.0.0.0192.168.10.254!

本文发布于:2023-07-12 05:43:53,感谢您对本站的认可!

本文链接:https://www.wtabcd.cn/fanwen/fan/82/1092046.html

版权声明:本站内容均来自互联网,仅供演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系,我们将在24小时内删除。

标签:实例   配置   属于
相关文章
留言与评论(共有 0 条评论)
   
验证码:
推荐文章
排行榜
Copyright ©2019-2022 Comsenz Inc.Powered by © 专利检索| 网站地图