35-8
Catalyst 6000 Family Software Configuration Guide—Releases 6.3 and 6.4
78-13315-02
Chapter 35 Configuring Port Security
Configuring Port Security
This example shows how to display the static CAM entries:
Console>
show cam static
VLAN Dest MAC/Route Des [CoS] Destination Ports or VCs / [Protocol Type]
---- ------------------ ----- -------------------------------------------
3 04-04-05-06-07-08 * FILTER
Displaying Port Security
The
show port security
command displays the following information:
•
List of secure MAC addresses for a port
•
Maximum number of secure addresses allowed on a port
•
Total number of secure MAC addresses
•
Age
•
Age left and shutdown timeout left
•
Shutdown/security mode
•
Statistics related to port security
To display port security configuration information and statistics, perform this task in privileged mode:
This example shows 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)
Task
Command
Step 1
Display the configuration.
show port security
[
statistics
]
mod/port
Step 2
Display the port security statistics.
show port
security statistics
[
system
]
[
mod/port
]