switchport port-security 打开该接口的端口安全功能
switchport port-security maximum value 设置接口上安全地址的最大个数,范围是1-128,缺省值为128。
switchport port-security violation{protect| restrict | shutdown} 设置处理违例的方式
switchport port-security [mac-address mac-address] [ip-address ip-address] 手工配置接口上的安全地址。
仅供参考
switchport port-security 打开该接口的端口安bai全功能
switchport port-security maximum value 设置du接zhi口上安全地址的最大个数dao,范围是1-128,缺省值为128。
switchport port-security violation{protect| restrict | shutdown} 设置处理违例的方式
switchport port-security [mac-address mac-address] [ip-address ip-address] 手工配置接口上的安全地址。