端口保护配置

开启Portfast
int g1/0/1
stp edged-port
BPDUguard防护
stp bpdu-protection
检测到环路shutdown
loop-detection global enable vlan all
loop-detection global action shutdown
int g1/0/1
loop-detection enable vlan all
loop-detection action shutdown
设置300秒自动恢复机制
shutdown-interval 300

posted @ 2024-11-15 16:04  Super-Boy  阅读(30)  评论(0)    收藏  举报