
16-11
Catalyst 4500 Series, Catalyst 2948G, Catalyst 2948G-GE-TX, and Catalyst 2980G Switches Software Configuration Guide—Release 8.2GLX
78-15908-01
Chapter 16 Configuring Port Security
Monitoring Port Security
•
Total number of secure MAC addresses
•
Age and shutdown timeout
•
Shutdown and security mode
•
Statistics data related to port security
To display port security configuration information and statistics, perform this task in privileged mode:
These examples show how to display port security configuration information and statistics:
Console> (enable) show port security 3/24
Port Security Violation Shutdown-Time Age-Time Max-Addr Trap IfIndex
----- -------- --------- ------------- -------- -------- -------- -------
3/24 enabled shutdown 300 60 10 disabled 921
Port Num-Addr Secure-Src-Addr Age-Left Last-Src-Addr Shutdown/Time-Left
----- -------- ----------------- -------- ----------------- ------------------
3/24 4 00-e0-4f-ac-b4-00 60 00-e0-4f-ac-b4-00 no -
00-11-22-33-44-55 0
00-11-22-33-44-66 0
00-11-22-33-44-77 0
Console> (enable) show port security statistics 3/24
Port Total-Addrs Maximum-Addrs
----- ----------- -------------
3/24 4 10
Console> (enable)
Port Total-Addrs Maximum-Addrs
----- ----------- -------------
3/24 1 10
Console> (enable)
This example shows how to display port security statistics on a module:
Console> (enable) show port security statistics 3
Port Total-Addrs Maximum-Addrs
----- ----------- -------------
3/1 0 1
3/2 0 1
3/3 0 1
3/4 0 1
3/5 0 1
3/6 0 1
Module 3:
Total ports: 6
Total secure ports: 0
Total MAC addresses: 6
Total global address space used (out of 1024): 0
Status: installed
Console> (enable)
Task
Command
Step 1
Display the configuration.
show port security [statistics] mod_num/ port_num
Step 2
Display the port security statistics.
show port security [statistics] [system]
[mod_num/port_num]