Show Port-Security - Cisco Catalyst 2950 Command Reference Manual

Desktop switch
Hide thumbs Also See for Catalyst 2950:
Table of Contents

Advertisement

show port-security

show port-security
Use the show port-security privileged EXEC command to display the port security settings defined for
an interface or for the switch.
Syntax Description
interface
interface-id
address
| begin
| exclude
| include
expression
Command Modes
Privileged EXEC
Command History
Release
12.1(6)EA2
Usage Guidelines
If you enter this command without keywords, the output includes the administrative and the operational
status of all secure ports on the switch.
If you enter an interface-id, 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 an interface-id and the address keyword, the show port-security interface interface-id
address 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.
Expressions are case sensitive. For example, if you enter | exclude output, the lines that contain output
do not appear, but the lines that contain Output appear.
Catalyst 2950 Desktop Switch Command Reference
2-200
show port-security [interface interface-id] [address] [ | {begin | exclude | include} expression]
(Optional) Display the port security settings for the specified interface.
(Optional) Display all the secure addresses on all ports.
(Optional) Display begins with the line that matches the specified expression.
(Optional) Display excludes lines that match the specified expression.
(Optional) Display includes lines that match the specified expression.
Expression in the output to use as a reference point.
Modification
This command was first introduced. It replaced the show port security and show
mac-address-table secure commands.
Chapter 2 Cisco IOS Commands
78-11381-05

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents