[Switch-A]stp mode mstp
[Switch-A]vlan batch 10 20 40
[Switch-A]interface GigabitEthernet 0/0/1
[Switch-A-GigabitEthernet0/0/1]port link-type trunk
[Switch-A-GigabitEthernet0/0/1]port trunk allow-pass vlan 10 20 40
[Switch-A-GigabitEthernet0/0/1]quit
[Switch-A]interface GigabitEthernet 0/0/2
[Switch-A-GigabitEthernet0/0/2]port link-type trunk
[Switch-A-GigabitEthernet0/0/2]port trunk allow-pass vlan 10 20 40
[Switch-A-GigabitEthernet0/0/2]quit
[Switch-A]interface Eth 0/0/1
[Switch-A-Ethernet0/0/1]port link-type access
[Switch-A-Ethernet0/0/1]port default vlan 10
[Switch-A-Ethernet0/0/1]quit
[Switch-A]interface Eth 0/0/2
[Switch-A-Ethernet0/0/2]port link-type access
[Switch-A-Ethernet0/0/2]port default vlan 20
[Switch-A-Ethernet0/0/2]quit
[Switch-B]stp mode mstp
[Switch-B]vlan batch 10 20 40
[Switch-B]interface GigabitEthernet 0/0/1
[Switch-B-GigabitEthernet0/0/1]port link-type trunk
[Switch-B-GigabitEthernet0/0/1]port trunk allow
版权说明:如非注明,本站文章均为 扬州驻场服务-网络设备调试-监控维修-南京泽同信息科技有限公司 原创,转载请注明出处和附带本文链接。
请在这里放置你的在线分享代码