Show Port-Security - Cisco Catalyst 3560-X Command Reference Manual

Hide thumbs Also See for Catalyst 3560-X:
Table of Contents

Advertisement

show port-security

show port-security
Syntax Description
Command Modes
Command History
Usage Guidelines
Catalyst 3750-X and 3560-X Switch Command Reference
2-734
Downloaded from
www.Manualslib.com
Use the show port-security privileged EXEC command to display port-security settings for an interface
or for the switch.
show port-security [interface interface-id] [address | vlan] [ | {begin | exclude | include}
expression]
interface interface-id
(Optional) Display port security settings for the specified interface. Valid
interfaces include physical ports (including type, stack member
(stacking-capable switches only) module, and port number).
address
(Optional) Display all secure MAC addresses on all ports or a specified port.
vlan
(Optional) Display port security settings for all VLANs on the specified
interface. This keyword is visible only on interfaces that have the switchport
mode set to trunk.
| begin
(Optional) Display begins with the line that matches the expression.
| exclude
(Optional) Display excludes lines that match the expression.
| include
(Optional) Display includes lines that match the specified expression.
expression
Expression in the output to use as a reference point.
Privileged EXEC
Release
Modification
12.2(53)SE2
This command was introduced.
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 an interface-id, the command displays port security settings for the interface.
If you enter the address keyword, the 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 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.
If you enter the vlan keyword, the command displays the configured maximum and the current number
of secure MAC addresses for all VLANs on the interface. This option is visible only on interfaces that
have the switchport mode set to trunk.
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.
manuals search engine
Chapter 2 Catalyst 3750-X and 3560-X Cisco IOS Commands
OL-21522-02

Advertisement

Table of Contents
loading

This manual is also suitable for:

Catalyst 3750-x

Table of Contents