Chapter 2 Cisco Catalyst Blade Switch 3020 for HP Cisco IOS Commands
Examplesv
This is an example of the output from the show port-security command:
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) : 6272
This is an example of output from the show port-security interface interface-id command:
Switch# show port-security interface gigabitethernet0/1
Port Security : Enabled
Port status : SecureUp
Violation mode : Shutdown
Maximum MAC Addresses : 1
Total MAC Addresses : 0
Configured MAC Addresses : 0
Aging time : 0 mins
Aging type : Absolute
SecureStatic address aging : Disabled
Security Violation count : 0
This is an example of output from the show port-security address command:
Switch#
Secure Mac Address Table
-------------------------------------------------------------------
Vlan
----
1
-------------------------------------------------------------------
Total Addresses in System (excluding one mac per port)
Max Addresses limit in System (excluding one mac per port) : 6272
This is an example of output from the show port-security interface gigabitethernet0/2 address
command:
Switch# show port-security interface gigabitethernet0/2 address
-------------------------------------------------------------------
Vlan
----
1
-------------------------------------------------------------------
Total Addresses: 1
This is an example of output from the show port-security interface interface-id vlan command:
Switch# show port-security interface gigabitethernet0/2 vlan
Default maximum:not set, using 5120
VLAN
10
11
12
13
14
OL-8916-01
MaxSecureAddr
(Count)
Gi0/1
1
show port-security address
Mac Address
Type
-----------
----
0006.0700.0800
SecureConfigured
Secure Mac Address Table
Mac Address
Type
-----------
----
0006.0700.0800
SecureConfigured
Maximum
Current
5
default
1
default
54
default
101
default
101
default
201
default
501
CurrentAddr
SecurityViolation
(Count)
(Count)
0
0
Ports
Remaining Age
-----
-------------
Gi0/2
Ports
Remaining Age
-----
-------------
Gi0/2
Cisco Catalyst Blade Switch 3020 for HP Command Reference
show port-security
Security Action
Shutdown
: 1
(mins)
1
: 1
(mins)
1
2-393