Switch(config-if)# switchport port-security mac-address sticky 0000.1111.1111该命令的用例是什么?
根据定义,粘性地址是添加到运行配置中的学习安全地址。根据定义,已配置地址是通过 静态配置的安全Switch(config-if)# switchport port-security mac-address 0000.2222.2222地址。
通过手动添加粘性地址,我添加了一个配置地址。在我看来,该命令是多余的,并且与粘性 MAC 地址的概念相矛盾。
甚至debug port-security系统日志中的条目也会调用一个固定的配置地址。发出后Switch# clear port-security sticky address 0000.1111.1111,有PSECURE: Deleting secure MAC address 0000.1111.1111 on portandPSECURE: Address is sticky on port和等条目PSECURE: Delete configured address: 0000.1111.1111 from subblock。