DIS-200G Series Gigabit Ethernet Switch CLI Reference Guide
136
27-2
show port-security
This command is used to display the current port security settings.
show port-security [[interface
INTERFACE-ID
[, | -]] [address]
Parameters
INTEFACE-ID
Specifies the ID of the interface to be displayed.
,
(Optional) Specifies a series of interfaces, or separate a range of
interfaces from a previous range. No space is allowed before and
after the comma.
-
(Optional) Specifies a range of interfaces. No space is allowed
before and after the hyphen.
address
Specifies to display all the secure MAC addresses, including both
configured and learned entries.
Default
None.
Command Mode
EXEC Mode or Any Configuration Mode.
Command Default Level
Level: 1.
Usage Guideline
This command is used to display the current port security settings.
Example
This example shows how to display the port security settings of interfaces eth1/0/1 to eth1/0/3.
Switch# show port-security interface eth 1/0/1-3
Interface Max Curr Violation Violation Admin Current
No. No. No. Act. Count State State
------------ ----- ----- -------- -------------------- -------- ------------
eth1/0/1 32 0 Protect - Disabled -
eth1/0/2 32 0 Protect - Disabled -
eth1/0/3 32 0 Protect - Disabled –