Users Guide

Table Of Contents
View port-security parameters for all interfaces
To view port-security parameters for all interfaces, use the following command in EXEC mode:
show switchport port-security [interface {ethernet node/slot/port[:subport] | port-
channel port-channel-number}]
View port-security parameters for all interfaces example
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
Sticky MAC Addresses :0
Secure Dynamic MAC addresses :11
OS10# show switchport port-security interface ethernet 1/1/1
Global Port-security status :Enable
Interface name : ethernet1/1/1
Port Security :Enabled
Port Status :Error-Disable
Mac-learn limit :1024
MaC-learn-limit-Violation Action :Shutdown
Sticky :Enabled
Mac-move-allow :Not Allowed
Mac-move-violation :shutdown-both
Aging :Disbaled
Total MAC Addresses :10
Secure static MAC Addresses :0
Sticky MAC Addresses :10
Secure Dynamic MAC addresses :0
OS10# show switchport port-security interface port-channel 120
Interface name : port-channel 120
Port Security :Disabled
Port Status : Up
mac-learn limit :1024
Mac-learn-limit-Violation Action :Flood
Sticky :Enabled
Mac-move-allow :Allowed
1396
Security