RSTP和MSTP

LSW1

The device is running!
<Huawei>sys
Enter system view, return user view with Ctrl+Z.
[Huawei]sys LSW1
[LSW1]
Jul 26 2024 20:16:45-08:00 LSW1 DS/4/DATASYNC_CFGCHANGE:OID 1.3.6.1.4.1.2011.5.2
5.191.3.1 configurations have been changed. The current change number is 4, the 
change loop count is 0, and the maximum number of records is 4095.
[LSW1]un in en
Info: Information center is disabled.
[LSW1]stp en
[LSW1]stp mode rstp
Info: This operation may take a few seconds. Please wait for a moment...done.
[LSW1]stp root p	
[LSW1]stp root primary 
[LSW1]lldp en	
[LSW1]lldp enable 
Info: Global LLDP is enabled successfully.
[LSW1]int g0/0/2
[LSW1-GigabitEthernet0/0/2]stp port priority 64
[LSW1-GigabitEthernet0/0/2]q	
[LSW1]display stp brief 
 MSTID  Port                        Role  STP State     Protection
   0    GigabitEthernet0/0/1        DESI  FORWARDING      NONE
   0    GigabitEthernet0/0/2        DESI  FORWARDING      NONE
   0    GigabitEthernet0/0/3        DESI  FORWARDING      NONE
   0    GigabitEthernet0/0/4        DESI  FORWARDING      NONE
[LSW1-GigabitEthernet0/0/2]q
[LSW1]vlan batch 10 20 30 40 50 60 70 80
Info: This operation may take a few seconds. Please wait for a moment...done.
[LSW1]int g0/0/1
[LSW1-GigabitEthernet0/0/1]port link-type trunk
[LSW1-GigabitEthernet0/0/1] port trunk allow-pass vlan 10 20 30 40 50 60 70 80
[LSW1-GigabitEthernet0/0/1]int g0/0/2
[LSW1-GigabitEthernet0/0/2]port link-type trunk
[LSW1-GigabitEthernet0/0/2] port trunk allow-pass vlan 10 20 30 40 50 60 70 80
[LSW1-GigabitEthernet0/0/2]int g0/0/3
[LSW1-GigabitEthernet0/0/3]port link-type trunk
[LSW1-GigabitEthernet0/0/3] port trunk allow-pass vlan 10 20 30 40 50 60 70 80
[LSW1-GigabitEthernet0/0/3]int g0/0/4
[LSW1-GigabitEthernet0/0/4]port link-type trunk
[LSW1-GigabitEthernet0/0/4] port trunk allow-pass vlan 10 20 30 40 50 60 70 80
[LSW1-GigabitEthernet0/0/4]q
[LSW1]stp mode mstp
Info: This operation may take a few seconds. Please wait for a moment...done.
[LSW1]stp region-configuration
[LSW1-mst-region]region-name hcip
[LSW1-mst-region]revision-level 1
[LSW1-mst-region]instance 1 vlan 10 30 50 70
[LSW1-mst-region] instance 2 vlan 20 40 60 80
[LSW1-mst-r
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值