Command Reference SNMP Commands
1.7 snmp-server enable traps
Use this command to enable the SNMP agent to send the SNMP trap massage to NMS. Use the no
form of this command to disable the SNMP agent to send the SNMP trap massage to NMS.
snmp-server enable traps [ notification-type ]
no snmp-server enable traps
Specifies the type of trap messages.
snmp: SNMP trap message
bridge: Bridge trap message.
mac-notification: MAC trap message.
ospf: OSPF trap message.
vrrp: VRRP trap message.
web-auth: Web authentication trap message.
Sending trap message to the NMS is disabled by default.
Global configuration mode.
This command must be used together with the snmp-server host command to send the trap
message. Specifying no trap type indicates all trap messages are sent.
The following example enables the SNMP agent to send the SNMP trap message.
Ruijie(config)# snmp-server enable traps snmp
Ruijie(config)# snmp-server host 192.168.12.219 public snmp
Specifies the SNMP host to send the SNMP
trap message.
1.8 snmp-server flow-control
Use this command to configure the SNMP flow control. Use the no form of this command to restore
the default setting.