Command Reference SNMP Commands
The type of the SNMP trap message, such as snmp.
If no type of the SNMP trap message is specified, all types of the
SNMP trap message will be included.
No SNMP host is specified by default.
Global configuration mode.
This command must be used together with the snmp-server enable traps command to send the
SNMP trap messages to NMS.
Multiple SNMP hosts can be configured to receive the SNMP trap messages. One host can use
different combinations of the types of the SNMP trap message, but the last configuration for the same
host will overwrite the previous configurations. In other words, to send different SNMP trap messages
to the same host, different combination of SNMP trap messages can be configured.
The following example specifies an SNMP host to receive the SNMP event trap:
Ruijie(config)# snmp-server host 192.168.12.219 public snmp
Enables the SNMP agent to send the SNMP
trap message.
Use this command to configure the resend times for inform requests and the inform request timeout.
Use the no form of this command to restore the default settings.
snmp-server inform [ retries retry-time | timeout time ]
Specifies the resend times for inform requests, ranging from 0 to 255.
Specifies the inform request timeout, ranging from 0 to 21,474,836.
The default retry-num is 3, and the default timeout time is 15 seconds.
Global configuration mode.