1、H3CTE MSTP+VRRP 综合实验实验拓扑:实验设备:S5800交换机4台实验配置重点:vlan 1#vlan 10#vlan 20#vlan 30#vlan 40#vlan 101 # stp instance 0 root primarystp instance 1 root primarystp instance 2 root secondarystp enable (H3C 默认不开启)stp region-configurationregion-name ekestininstance 1 vlan 10 30vlan 1#vlan 10#vlan 20#vlan 30#vla
2、n 40#vlan 102 #stp instance 0 root secondarystp instance 1 root secondarystp instance 2 root primarystp enable(H3C 默认不开启)stp region-configurationregion-name ekestininstance 1 vlan 10 30instance 2 vlan 20 40active region-configuration(不要忘记激活)#interface Bridge-Aggregation1port link-type trunkport trun
3、k permit vlan 1 10 20 30 40link-aggregation mode dynamic#interface Vlan-interface10ip address 10.1.10.2 255.255.255.0vrrp vrid 10 virtual-ip 10.1.10.1vrrp vrid 10 priority 150vrrp vrid 10 preempt-mode timer delay 5(打开抢占)vrrp vrid 10 track interface Vlan-interface101 reduced 50vrrp vrid 10 authentica
4、tion-mode simple ekestin#interface Vlan-interface20ip address 10.1.20.2 255.255.255.0vrrp vrid 20 virtual-ip 10.1.20.1vrrp vrid 20 priority 110vrrp vrid 20 preempt-mode timer delay 5vrrp vrid 20 authentication-mode simple ekestin#interface Vlan-interface30ip address 10.1.30.2 255.255.255.0vrrp vrid
5、30 virtual-ip 10.1.30.1vrrp vrid 30 priority 150vrrp vrid 30 preempt-mode timer delay 5vrrp vrid 30 track interface Vlan-interface101 reduced 50vrrp vrid 30 authentication-mode simple ekestin#interface Vlan-interface40ip address 10.1.40.2 255.255.255.0vrrp vrid 40 virtual-ip 10.1.40.1vrrp vrid 40 pr
6、iority 110vrrp vrid 40 preempt-mode timer delay 5vrrp vrid 40 authentication-mode simple ekestin#interface Vlan-interface101ip address 100.100.100.100 255.255.255.0#interface GigabitEthernet1/0/1port link-mode bridgeport link-type trunkport trunk permit vlan 1 10 20 30 40#interface GigabitEthernet1/
7、0/2instance 2 vlan 20 40active region-configuration(不要忘记激活)#interface Bridge-Aggregation1port link-type trunkport trunk permit vlan 1 10 20 30 40 link-aggregation mode dynamic# interface Vlan-interface10ip address 10.1.10.3 255.255.255.0vrrp vrid 10 virtual-ip 10.1.10.1vrrp vrid 10 priority 110vrrp
8、vrid 10 preempt-mode timer delay 5(打开抢占)vrrp vrid 10 authentication-mode simple ekestin#interface Vlan-interface20ip address 10.1.20.3 255.255.255.0vrrp vrid 20 virtual-ip 10.1.20.1vrrp vrid 20 priority 150vrrp vrid 20 preempt-mode timer delay 5vrrp vrid 20 track interface Vlan-interface102 reduced
9、50vrrp vrid 20 authentication-mode simple ekestin#interface Vlan-interface30ip address 10.1.30.3 255.255.255.0vrrp vrid 30 virtual-ip 10.1.30.1vrrp vrid 30 priority 110vrrp vrid 30 preempt-mode timer delay 5vrrp vrid 30 authentication-mode simple ekestin#interface Vlan-interface40ip address 10.1.40.
10、3 255.255.255.0vrrp vrid 40 virtual-ip 10.1.40.1vrrp vrid 40 priority 150vrrp vrid 40 preempt-mode timer delay 5vrrp vrid 40 track interface Vlan-interface102 reduced 50vrrp vrid 40 authentication-mode simple ekestin#interface Vlan-interface102ip address 200.200.200.200 255.255.255.0#interface Gigab
11、itEthernet1/0/1port link-mode bridgeport link-type trunkport trunk permit vlan 1 10 20 30 40#interface GigabitEthernet1/0/2port link-mode bridgeport link-type trunkport trunk permit vlan 1 10 20 30 40#interface GigabitEthernet1/0/46port link-mode bridgeport access vlan 101#interface GigabitEthernet1
12、/0/47port link-mode bridgeport link-aggregation group 1#interface GigabitEthernet1/0/48port link-mode bridgeport link-aggregation group 1port link-mode bridgeport link-type trunkport trunk permit vlan 1 10 20 30 40#interface GigabitEthernet1/0/46port link-mode bridgeport access vlan 102#interface Gi
13、gabitEthernet1/0/47port link-mode bridgeport link-aggregation group 1#interface GigabitEthernet1/0/48port link-mode bridgeport link-aggregation group 1SW1-GigabitEthernet1/0/46dis vrrp IPv4 Standby Information:Run Mode : StandardRun Method : Virtual MACTotal number of virtual routers : 4Interface VR
14、ID State Run Adver Auth VirtualPri Timer Type IP-Vlan10 10 Master 150 1 Simple 10.1.10.1Vlan20 20 Backup 110 1 Simple 10.1.20.1Vlan30 30 Master 150 1 Simple 10.1.30.1Vlan40 40 Backup 110 1 Simple 10.1.40.1SW1-GigabitEthernet1/0/46dis vrrIPv4 Standby Information:Run Mode : StandardRun Method : Virtua
15、l MACTotal number of virtual routers : 4Interface VRID State Run Adver Auth VirtualPri Timer Type IP-Vlan10 10 Backup 110 1 Simple 10.1.10.1Vlan20 20 Master 150 1 Simple 10.1.20.1Vlan30 30 Backup 110 1 Simple 10.1.30.1Vlan40 40 Master 150 1 Simple 10.1.40.1vlan 1#vlan 10#vlan 20#vlan 1#vlan 10#vlan
16、20#vlan 30#vlan 40#stp enablestp region-configurationregion-name ekestininstance 1 vlan 10 30instance 2 vlan 20 40active region-configuration#interface GigabitEthernet1/0/1port link-mode bridgeport link-type trunkport trunk permit vlan 1 10 20 30 40#interface GigabitEthernet1/0/2port link-mode bridg
17、eport link-type trunkport trunk permit vlan 1 10 20 30 40vlan 30#vlan 40#stp enablestp region-configurationregion-name ekestininstance 1 vlan 10 30instance 2 vlan 20 40active region-configuration#interface GigabitEthernet1/0/1port link-mode bridgeport link-type trunkport trunk permit vlan 1 10 20 30 40#interface GigabitEthernet1/0/2port link-mode bridgeport link-type trunkport trunk permit vlan 1 10 20 30 40
Copyright © 2018-2021 Wenke99.com All rights reserved
工信部备案号:浙ICP备20026746号-2
公安局备案号:浙公网安备33038302330469号
本站为C2C交文档易平台,即用户上传的文档直接卖给下载用户,本站只是网络服务中间平台,所有原创文档下载所得归上传人所有,若您发现上传作品侵犯了您的权利,请立刻联系网站客服并提供证据,平台将在3个工作日内予以改正。