stp bpdu-protection
int range G1/0/1 to G1/0/24
stp edged-port enable
如果是接入交换机,直接连接终端,其下面的端口可以配置为边缘端口,以减少环路检测的影响,但是也要防止万一,开启bpdu保护。
或者全局模式下,默认开启edged-port:
stp edged-port default
stp bpdu-protection
int range G1/0/1 to G1/0/24
stp edged-port enable
如果是接入交换机,直接连接终端,其下面的端口可以配置为边缘端口,以减少环路检测的影响,但是也要防止万一,开启bpdu保护。
或者全局模式下,默认开启edged-port:
stp edged-port default