Users Guide
The no version of this command resets the value to the default.
Example (VLAN)
OS10(config)# mac address-table static 34:17:eb:f2:ab:c6 vlan 1 
interface ethernet 1/1/30
Example (Port-
Channel)
OS10(config)# mac address-table static 34:17:eb:02:8c:33 vlan 10 
interface port-channel 1
Supported
Releases
10.2.0E or later
show switchport port-security
Displays port security information of interfaces.
Syntax
show switchport port-security [interface {ethernet node/slot/port[:subport]
| port-channel port-channel-number}]
Parameters
● interface — Displays the interface type:
○ ethernet node/slot/port[:subport] — Displays the port security information of an
Ethernet interface.
○ port-channel channel-number — Displays the port security information of an Ethernet
interface, from 1 to 128.
Default
None
Command Mode EXEC
Usage
Information
This command displays port security information of all interfaces.
Example
(Address)
OS10# show switchport port-security
Global Port-security status       :Enable
Interface name                    : eth1/1/1
Port Security                     :Enabled
Port Status                       :Error-Disable
Mac learn limit                   :100
MAC-learn-limit-Violation action  :Shutdown
Sticky                            :Disabled  
Mac-move-allow                    :Not Allowed
mac-move-violation action         :shutdown-both
Aging                             :Enabled
Total MAC Addresses               :10
Secure static MAC Addresses       :0
Sticky MAC Addresses              :10
Secure Dynamic MAC addresses      :0
Interface name                    : eth1/1/10
Port Security                     :Enabled 
Port Status                       :Error-Disable
Mac learn limit                   :100
MAC-learn-limit-Violation action  :Shutdown
Sticky                            :Disabled 
Mac-move-allow                    :Not Allowed
mac-move-violation action         :shutdown-both
Aging                             :Enabled
Total MAC Addresses               :11
Secure static MAC Addresses       :0
Security
1421










