Displaying Port Security Settings - Cisco 4500M Software Manual

Software guide
Table of Contents

Advertisement

Chapter 32
Configuring Port Security
This example shows how to set the aging time as 2 minutes:
Switch(config-if)# switchport port-security aging time 2
You can verify the previous commands by entering the show port-security interface interface_id
command.

Displaying Port Security Settings

Use the show port-security command to display port-security settings for an interface or for the switch.
To display traffic control information, perform one or more of these tasks:
Command
Switch# show port-security [interface interface_id ]
Switch# show port-security [interface interface_id ]
address
This example displays output from the show port-security command when you do not enter an interface:
Switch# show port-security
Secure Port
---------------------------------------------------------------------------
---------------------------------------------------------------------------
Total Addresses in System (excluding one mac per port)
Max Addresses limit in System (excluding one mac per port) :1024
Global SNMP trap control for port-security
OL-6696-01
MaxSecureAddr
(Count)
Fa3/1
2
Fa3/2
2
Fa3/3
2
Fa3/4
2
Fa3/5
2
Fa3/6
2
Fa3/7
2
Fa3/8
2
Fa3/10
1
Fa3/11
1
Fa3/12
1
Fa3/13
1
Fa3/14
1
Fa3/15
1
Fa3/16
1
Purpose
Displays port security settings for the switch or for the
specified interface, including the maximum allowed number of
secure MAC addresses for each interface, the number of secure
MAC addresses on the interface, the number of security
violations that have occurred, and the violation mode.
Displays all secure MAC addresses configured on all switch
interfaces or on a specified interface with aging information
for each address.
CurrentAddr
SecurityViolation
(Count)
(Count)
2
2
2
2
2
2
2
2
0
0
0
0
0
0
0
Software Configuration Guide—Release 12.2(25)EW
Displaying Port Security Settings
Security Action
0
Restrict
0
Restrict
0
Shutdown
0
Shutdown
0
Shutdown
0
Shutdown
0
Shutdown
0
Shutdown
0
Shutdown
0
Shutdown
0
Restrict
0
Shutdown
0
Shutdown
0
Shutdown
0
Shutdown
:8
:20 (traps per second)
32-7

Advertisement

Table of Contents
loading

This manual is also suitable for:

4500 series

Table of Contents