D-Link DIS-200G Datasheet - Page 169
snmp-server enable traps snmp, Parameters, Default, Command Mode, Command Default Level
View all D-Link DIS-200G manuals
Add to My Manuals
Save this manual to your list of manuals |
Page 169 highlights
DIS-200G Series Gigabit Ethernet Switch CLI Reference Guide Switch(config)# 32-5 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 linkup linkdown coldstart warmstart (Optional) Specifies to control the sending of SNMP authentication failure notifications. An authentication Failure trap 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. (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. (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. (Optional) Specifies to control the sending of SNMP coldStart notifications. (Optional) Specifies to control the sending of SNMP warmStart notifications. Default By default, this option is disabled. Command Mode Global Configuration Mode. Command Default Level Level: 15. Usage Guideline This command controls the sending of SNMP standard notification traps. To enable the sending of notification traps, the global setting must be enabled too. Example This example shows how to enable the switch to send all SNMP traps to the host 10.9.18.100 using the community string defined as public. Switch# configure terminal Switch(config)# snmp-server enable traps Switch(config)# snmp-server enable traps snmp 165