D-Link DES-3200 Switch User Manual


 
xStack® DES-3200 Series Layer 2 Ethernet Managed Switch CLI Reference Guide
63
config snmp linkchange_traps ports
Purpose
Used to configure the sending of linkchange traps and per port
control for sending of change traps.
Syntax
config snmp linkchange_traps ports [all | <portlist>] [enable | disable]
Description
This command is used to configure the sending of linkchange traps
and per port control for the sending of change traps.
Parameters
all – To specify all ports.
<portlist> - To specify a port range.
enable – To enable the sending of a link change trap for this port.
disable - To disable the sending of a link change trap for this port.
Restrictions
Only Administrator-level users can issue this command.
Example usage:
To configure SNMP linkchange traps for ports 1 to 4:
DES-3200-28:4#config snmp linkchange_traps ports 1-4 enable
Command: config snmp linkchange_traps ports 1-4 enable
Success.
DES-3200-28:4#
show snmp traps
Purpose
Used to show SNMP trap support on the Switch.
Syntax
show snmp traps {linkchange_traps { ports <portlist>} }
Description
This command is used to view the SNMP trap support status
currently configured on the Switch.
Parameters
linkchange_traps – This displays the current SNMP linkchange trap
status.
<portlist> – This specifies a list of ports to display SNMP trap
support.
Restrictions
None.
Example usage:
To view the current SNMP trap support:
DES-3200-28:4#show snmp traps
Command: show snmp traps
SNMP Traps : Enabled
Authenticate Traps : Enabled
Linkchange Traps : Enabled
DES-3200-28:4#