Show Port-Security - Cisco 4500M Command Reference Manual

Command reference
Hide thumbs Also See for 4500M:
Table of Contents

Advertisement

Chapter2
Cisco IOS Commands for the Catalyst 4500 Series Switches

show port-security

To display port security settings for an interface or for the switch, use the show port-security command.
Syntax Description
address
interface interface-id
Command Modes
Privileged EXEC
Command History
Release
12.1(13)EW
12.2(18)EW
Usage Guidelines
If you enter the command without keywords, the output includes the administrative and operational
status of all secure ports on the switch.
If you enter the interface-id value, the show port-security command displays port security settings for
the interface.
If you enter the address keyword, the show port-security address command displays the secure MAC
addresses for all interfaces and the aging information for each secure address .
If you enter the interface-id value and the address keyword, the show port-security address interface
command displays all the MAC addresses for the interface with aging information for each secure
address. You can also use this command to display all the MAC addresses for an interface even if you
have not enabled port security on it.
Examples
This is an example of the output from the show port-security command:
Switch# show port-security
Secure Port
Action
----------------------------------------------------------------------------
----------------------------------------------------------------------------
Total Addresses in System :21
Max Addresses limit in System :1024
Switch#
78-16201-01
show port-security [address ] [interface interface-id ]
(Optional) Displays all secure MAC addresses for all ports or for a specific
port.
(Optional) Displays port security settings for a specific interface.
Modification
Support for this command was first introduced on the Catalyst 4500 series switch.
Support was enhanced to display sticky MAC addresses.
MaxSecureAddr
(Count)
Fa0/1
11
Fa0/5
15
Fa0/11
5
Catalyst4500 Series SwitchCiscoIOS Command Reference—Release 12.2(18)EW
CurrentAddr
SecurityViolation
(Count)
(Count)
11
0
5
0
4
0
show port-security
Security
Shutdown
Restrict
Protect
2-361

Advertisement

Table of Contents
loading

This manual is also suitable for:

Ws-c4507r4500 series

Table of Contents