亚洲全黄无码一级在线看_国产剧情久久久性色_无码av一区二区三区无码_亚洲成a×人片在线观看

當(dāng)前位置: 首頁 > 科技新聞 >

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

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

實(shí)驗(yàn)topo:

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


當(dāng)組網(wǎng)成功時(shí):


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

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


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

原正常鏈路失效時(shí)備份鏈路被激活


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)容