EasyManuals Logo
Home>Cisco>Switch>Catalyst 3750-X

Cisco Catalyst 3750-X Command Reference

Cisco Catalyst 3750-X
1244 pages
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Page #815 background imageLoading...
Page #815 background image
2-783
Catalyst 3750-X and 3560-X Switch Command Reference
OL-29704-01
Chapter 2 Catalyst 3750-X and 3560-X Switch Cisco IOS Commands
show port-security
show port-security
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]
Syntax Description
Command Modes Privileged EXEC
Command History
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 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.
Examples This is an example of the output from the show port-security command:
Switch# show port-security
Secure Port MaxSecureAddr CurrentAddr SecurityViolation Security Action
(Count) (Count) (Count)
-------------------------------------------------------------------------------
Gi1/0/1 1 0 0 Shutdown
-------------------------------------------------------------------------------
Total Addresses in System (excluding one mac per port) : 1
Max Addresses limit in System (excluding one mac per port) : 6272
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.
Release Modification
12.2(53)SE2 This command was introduced.

Table of Contents

Other manuals for Cisco Catalyst 3750-X

Questions and Answers:

Question and Answer IconNeed help?

Do you have a question about the Cisco Catalyst 3750-X and is the answer not in the manual?

Cisco Catalyst 3750-X Specifications

General IconGeneral
BrandCisco
ModelCatalyst 3750-X
CategorySwitch
LanguageEnglish

Related product manuals