Command Manual – System Management
Quidway S8500 Series Routing Switches Chapter 5 SNMP Configuration Commands
Huawei Technologies Proprietary
5-9
Table 5-5 Description on the fields of the display snmp-agent usm-user command
Field Description
User name Character string identifying the SNMP user
Group name Character string identifying the group the user belongs to
Authencation Mode Authentication code
Privacy Mode Personal code
Engine ID Character string identifying the SNMP device
Acl Character string identifying the access control list
5.1.8 enable snmp trap
Syntax
enable snmp trap updown
undo enable snmp trap updown
View
Ethernet port view / VLAN interface view
Parameter
None
Description
Use the enable snmp trap updown command to enable current port or VLAN
interface to transmit the LINK UP and LINK DOWN trap messages.
Use the undo enable snmp trap updown command to disable current port or VLAN
interface to transmit the LINK UP and LINK DOWN trap messages.
The enable snmp trap command should be used in cooperation with the snmp-agent
trap enable and the snmp-agent target-host commands. The snmp-agent
target-host command is used to specify which hosts can receive the trap messages.
To enable the transmitting of trap messages, you must execute the snmp-agent
target-host command at least once.
Example
# Enable current port Ethernet6/1/1 to transmit the LINK UP and LINK DOWN trap
information with the community name public
<Quidway> system-view
System View: return to User View with Ctrl+Z.
[Quidway-Ethernet6/1/1] snmp trap updown enable