Configuration Guide Configuring SNMP
Configuration Steps
Configuring the SNMP Host Address
Optional
Configure the host address of the NMS when the agent is required to actively send messages.
Enabling the Agent to Actively Send a Trap Message to the NMS
Optional
Configure this item on the agent when the agent is required to actively send a trap message to the NMS.
Enabling the Function of Sending a Link Trap Message on an Interface
Optional
Configure this item on the agent when a link trap message needs to be sent on an interface.
Enabling the Function of Sending a System Reboot Trap Message
Optional
Configure this item on the agent when the RGOS system is required to send a trap message to the NMS to notify
system reboot before reloading or reboot of the device.
Specifying the Source Address for Sending a Trap Message
Optional
Configure this item on the agent when it is required to permanently use a local IP address as the source SNMP address
to facilitate management.
Enabling a Trap Message to Carry Private Fields when the Message Is Sent
Optional
Configure this item on the agent when private fields need to be carried in a trap message.
Verification
Run the show snmp command to display the SNMP status.
Run the show running-config command to display configuration information of the device.
Related Commands
Setting the NMS Host Address
snmp-server host { host-addr | ipv6 ipv6-addr } [ traps | inrorms ] [ version { 1 | 2c | 3 { auth | noauth |
priv } ] community-string [ udp-port port-num ] [ notification-type ]
host-addr: Address of the SNMP host.
ipv6-addr: (IPv6) address of the SNMP host.