CLI Guide

Table Of Contents
Layer 2 Switching Commands 322
Syntax
show port-security [ interface-id | all | dynamic interface-id | static interface-
id | violation interface-id]
interface-id —An Ethernet or port channel interface identifier.
all—Display information for all interfaces.
Default Configuration
Port security is disabled by default.
No port security MAC addresses are learned or configured by default.
The maximum static MAC address limit is 100 MAC addresses.
The maximum dynamic MAC address limit is 600 MAC addresses.
Command Mode
Privileged Exec mode, Global Configuration mode and all Configuration
submodes
User Guidelines
Setting the dynamic limit to 0 causes all received packets with non-static or
sticky MAC addresses to be considered as violations.
This information is shown if no parameters are given:
This information is shown if only an interface parameter is given:
Field Description
Admin Mode The configured global administrative status of port
MAC locking.
Field Description
Interface Identifier The interface identifier.
Status The port security administrative status
(enabled/disabled).