STP个人实验笔记
1.实验拓扑
SW1和SW2基本配置
sys
vlan batch 10 20
int g0/0/1
port link-type trunk
port trunk allow-pass vlan all
int g0/0/2
port link-type trunk
port trunk allow-pass vlan all
SW3和SW4基本配置
sys
vlan batch 10 20
int g0/0/1
port link-type trunk
port trunk allow-pass vlan all
int g0/0/2
port link-type trunk
port trunk allow-pass vlan all
int g0/0/3
port link-type access
port default vlan 10
int g0/0/4
port link-type access
port default vlan 20
SW1、SW2、SW3、SW4 开启stp配置,默认开启
stp enable
SW1、SW2、SW3、SW4 设置stp模式为stp配置
stp mode stp
SW1设置为根桥
stp root primary
SW2设置为次根桥
stp root secondary
查看stp信息
dis stp
dis stp brief
标签:基本,vlan,int,配置,stp,trunk,link,STP,port From: https://blog.csdn.net/weixin_50709708/article/details/143935958