CLI Reference Guide SNMP Configuration Commands
Global configuration mode.
The example below specifies the SNMP system contract i-net800@i-net.com.cn:
Ruijie(config)# snmp-server contact i-net800@i-net.com.cn
Check the SNMP information.
Disable the SNMP agent function.
snmp-server enable traps
Use this command to enable the SNMP server to actively send the SNMP Trap massage to NMS when
some emergent and important events occur in global configuration mode. The no form of this
command is used to disable the SNMP server to actively send the SNMP Trap massage to NMS.
snmp-server enable traps [ snmp ]
no snmp-server enable traps
Enable the trap notification of SNMP events.
Global configuration mode.
This command must work with the global configuration command snmp-server host to send the
SNMP Trap message.
The example below enables the SNMP server to actively send the SNMP Trap message.
Ruijie(config)# snmp-server enable traps snmp
Ruijie(config)# snmp-server host 192.168.12.219 public snmp
Specify the SNMP host to send the SNMP Trap message.