我看不出两者有什么不同。两者都进入运行配置。
1)粘性+静态
Switch1(config-if)#switchport port-security mac-address sticky ?
H.H.H 48 bit mac address
Switch1(config-if)#switchport port-security mac-address sticky ae11.be22.ce33
2) 仅静态
Switch1(config-if)#switchport port-security mac-address ?
H.H.H 48 bit mac address
Switch1(config-if)#switchport port-security mac-address ae12.be22.ce33
在运行配置中
interface GigabitEthernet1/0/17
switchport access vlan 4
switchport mode access
switchport voice vlan 5
switchport priority extend trust
switchport port-security maximum 5
switchport port-security mac-address sticky
**switchport port-security mac-address sticky ae11.be22.ce33
switchport port-security mac-address ae12.be22.ce33**
duplex full
mls qos trust cos
spanning-tree portfast
spanning-tree bpduguard enable
!
使困惑。