DXS-1210 Series Smart Managed Switch CLI Reference Guide
292
Switch# configure terminal
Switch(config)#snmp-server enable traps
Switch(config)#
38-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 commandto 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.
Command Default Level
Level: 12.
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.
Содержание DXS-1210-10TS
Страница 1: ......
Страница 246: ...DXS 1210 Series Smart Managed Switch CLI Reference Guide 243 ...
Страница 260: ...DXS 1210 Series Smart Managed Switch CLI Reference Guide 257 ...