亚洲农村老熟妇肥BBBB_无码人妻精品一区二区蜜桃色_精品亚洲AⅤ无码午夜在线观看_中文字幕熟妇人妻在线视频_囯产色无码精品视频免费

當前位置: 首頁 > 科技新聞 >

VRRP+MSTP經(jīng)典組網(wǎng)案例配置教程

時間:2020-04-30 16:56來源:網(wǎng)絡整理 瀏覽:
實驗topo:當組網(wǎng)成功時:多余鏈路會被阻塞出現(xiàn)備份原正常鏈路失效時備份鏈路被激活SW1:vlan batch 10 20 30 40stp

實驗topo:

VRRP+MSTP經(jīng)典組網(wǎng)案例配置教程


當組網(wǎng)成功時:


VRRP+MSTP經(jīng)典組網(wǎng)案例配置教程

多余鏈路會被阻塞出現(xiàn)備份


VRRP+MSTP經(jīng)典組網(wǎng)案例配置教程

原正常鏈路失效時備份鏈路被激活


SW1:

vlan batch 10 20 30 40

stp mode mstp
stp enable
stp region-configuration
region-name huawei
instance 1 vlan 10 20
instance 2 vlan 30 40 active region-configuration

stp instance 1 root primary
stp instance 2 root secondary

interface GigabitEthernet0/0/24
port link-type trunk
port trunk allow-pass all interface GigabitEthernet0/0/21 port link-type trunk
port trunk allow-pass all

interface Vlanif10
ip address 192.168.10.253 255.255.255.0
vrrp vrid 10 virtual-ip 192.168.10.254
vrrp vrid 10 priority 120
vrrp vrid 10 preempt-mode timer delay 20

interface Vlanif20
ip address 192.168.20.253 255.255.255.0
vrrp vrid 20 virtual-ip 192.168.20.254
vrrp vrid 20 priority 120
vrrp vrid 20 preempt-mode timer delay 20

interface Vlanif30
ip address 192.168.30.252 255.255.255.0
vrrp vrid 30 virtual-ip 192.168.30.254

interface Vlanif40
ip address 192.168.40.252 255.255.255.0
vrrp vrid 40 virtual-ip 192.168.40.254

SW2

vlan batch 10 20 30 40

stp mode mstp
stp enable
stp region-configuration
region-name huawei
instance 1 vlan 10 20
instance 2 vlan 30 40 active region-configuration

stp instance 2 root primary
stp instance 1 root secondary

interface GigabitEthernet0/0/24
port link-type trunk
port trunk allow-pass all interface GigabitEthernet0/0/22 port link-type trunk
port trunk allow-pass all

interface Vlanif10
ip address 192.168.10.252 255.255.255.0
vrrp vrid 10 virtual-ip 192.168.10.254

interface Vlanif20
ip address 192.168.20.252 255.255.255.0
vrrp vrid 20 virtual-ip 192.168.20.254

interface Vlanif30
ip address 192.168.30.253 255.255.255.0
vrrp vrid 30 virtual-ip 192.168.30.254
vrrp vrid 30 priority 120
vrrp vrid 30 preempt-mode timer delay 20

interface Vlanif40
ip address 192.168.40.253 255.255.255.0
vrrp vrid 40 virtual-ip 192.168.40.254
vrrp vrid 40 priority 120
vrrp vrid 40 preempt-mode timer delay 20

SW3

推薦內(nèi)容