MAC地址防漂移配置

adc00 2020-05-10

#全局开启mac地址漂移检测(默认开启)

[Huawei]mac-address flapping detection 

#配置接口学习mac地址优先级,默认为0,越大越优先

[Huawei-GigabitEthernet0/0/1]mac-learning priority <0-3>

#配置不允许相同优先级接口MAC地址漂移

[Huawei]undo mac-learning priority 3 allow-flapp

#基于vlan配置mac地址漂移检测

[Huawei]vlan 2
[Huawei-vlan2]loop-detect eth-loop block-time 100 retry-times 3

相关推荐

爱文学更爱编程 / 0评论 2020-08-01