interface FastEthernet0/11 配置0/11口
switchport access vlan 3 把本端口归属于vlan3
switchport mode access 本端口设置成access
switchport port-security 开启端口安全
switchport port-security aging time 2 端口MAC地址绑定老化时间2分钟
switchport port-security violation restrict 违反端口安全的措施禁止转发
switchport port-security aging type inactivity 老化类型不进行替换
mls qos cos override 开启QOS
macro description cisco-desktop 描述
spanning-tree portfast 开启端口快速转发
spanning-tree bpduguard enable 开启BPDU防护