赞
踩
配置端口安全功能,可以实现用户的动态绑定。通过配置接口MAC地址学习限制数的功能可以阻止其他非信任的MAC主机通过本接口和交换机通信,提高设备与网络的安全性。
# 配置GE0/0/1接口的端口安全功能。
<HUAWEI> system-view [HUAWEI] interface gigabitethernet 0/0/1 [HUAWEI-GigabitEthernet0/0/1] port-security enable
# 配置GE0/0/1接口的MAC地址学习限制数为5,即最多可以学习到5个MAC地址表项。
<HUAWEI> system-view [HUAWEI] interface gigabitethernet 0/0/1 [HUAWEI-GigabitEthernet0/0/1] port-security enable [HUAWEI-GigabitEthernet0/0/1] port-security max-mac-num 5
Copyright © 2003-2013 www.wpsshop.cn 版权所有,并保留所有权利。