一、开启端口安全
[switch] port-security enable
二、配置端口安全允许的最大安全MAC地址数
[switch] interface interface-type interface-number //进入端口
[
一、开启端口安全
[switch] port-security enable
二、配置端口安全允许的最大安全MAC地址数
[switch] interface interface-type interface-number //进入端口
[