DGS-1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide
573
Default
By default, this option is disabled.
Command Mode
Global Configuration Mode.
Command Default Level
Level: 12.
Usage Guideline
This command enables the device to send the SNMP notification traps globally. To configure the
router to send these SNMP notifications, enter the
snmp-server enable traps
command to enable
the global setting.
Example
This example shows how to enable the SNMP traps global sending state.
Switch# configure terminal
Switch(config)# snmp-server enable traps
Switch(config)#
63-7
snmp-server enable traps snmp
This command is used to enable the sending of all or specific SNMP notifications. Use the
no
form of
this command to disable sending of all or specific SNMP notifications.
snmp-server enable traps snmp [authentication] [linkup] [linkdown] [coldstart] [warmstart]
no snmp-server enable traps snmp [authentication] [linkup] [linkdown] [coldstart]
[warmstart]
Parameters
authentication
(Optional) Specifies to control the sending of SNMP authentication
failure notifications. An authenticationFailuretrap is generated when
the device receives an SNMP message that is not properly
authenticated. The authentication method depends on the version of
SNMP being used. For SNMPv1 or SNMPv2c, authentication failure
occurs if packets are formed with an incorrect community string. For
SNMPv3, authentication failure occurs if packets are formed with an
incorrect SHA/MD5 authentication key.
linkup
(Optional) Specifies to control the sending of SNMP linkUp
notifications. A linkup (3) trap is generated when the device
recognizes that one of the communication links has come up.
linkdown
(Optional) Specifies to control the sending of SNMP linkDown
notifications. A linkDown (2) trap is generated when the device
recognizes a failure in one of the communication links.
coldstart
(Optional) Specifies to control the sending of SNMP coldStart
notifications.
warmstart
(Optional) Specifies to control the sending of SNMP warmStart
notifications.
Default
By default, this option is disabled.
Command Mode
Global Configuration Mode.
Summary of Contents for DGS-510
Page 1: ...1 ...
Page 287: ...DGS 1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide 284 ...
Page 321: ...DGS 1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide 318 ...
Page 493: ...DGS 1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide 490 ...
Page 733: ...DGS 1510 Series Gigabit Ethernet SmartPro Switch CLI Reference Guide 730 ...