Owners manual

DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide
437
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 range eth1/0/1-3 interface range eth1/0/1-3
D:Delete-on-Timeout P:Permanent
Interface Max Curr Violation Violation Security Admin Current
No. No. No. Act. Count Mode State State
------------ ----- ----- -------- -------------------- -- -------- -----------
eth1/0/1 5 2 Restrict 0 D Enabled Forwarding
eth1/0/2 10 10 Shutdown 0 D Enabled Err-disabled
eth1/0/3 10 0 Shutdown 0 P Disabled -
Switch#
49-3 snmp-server enable traps port-security
This command is used to enable sending SNMP notifications for port security address violation. Use the
no form of the command to disable sending SNMP notifications.
snmp-server enable traps port-security [trap-rate TRAP-RATE]
no snmp-server enable traps port-security [trap-rate]
Parameters
trap-rate TRAP-RATE
(Optional) Specifies the number of traps per second. The range is from
0 to 1000. The default value ("0") indicates an SNMP trap to be
generated for every security violation.
Default