Operation Manual - System Management
Quidway S3500 Series Ethernet Switches Chapter 5 SNMP Configuration
Huawei Technologies Proprietary
5-4
Table 5-3 Set the method of identifying and contacting the administrator
Operation Command
Set the method of identifying and contacting
the administrator
snmp-agent sys-info contact
sysContact
Restore the default method of identifying and
contacting the administrator
undo snmp-agent sys-info
contact
5.3.3 Enable/Disable SNMP Agent to Send Trap
The managed device transmits trap without request to the Network Management
Station to report some critical and urgent events (such as restart).
You can use the following commands to enable or disable the managed device to
transmit trap message.
Perform the following configuration in system view.
Table 5-4 Enable/Disable snmp agent to Send Trap
Operation Command
Enable to send
trap
snmp-agent trap enable [ standard [ authentication ]
[ coldstart ] [ linkdown ] [ linkup ] [ warmstart ] ]
Disable to send
trap
undo snmp-agent trap enable [ standard [ authentication ]
[ coldstart ] [ linkdown ] [ linkup ] [ warmstart ] ]
5.3.4 Set the Destination Address of Trap
You can use the following commands to set or delete the destination address of the
trap.
Perform the following configuration in system view.
Table 5-5 Set the destination address of trap
Operation Command
Set the destination
address of trap
snmp-agent target-host trap address udp-domain
host-addr [ udp-port udp-port-number ] params
securityname community-string [ v1 | v2c | v3
[ authentication | privacy ] ]
Delete the destination
address of trap
undo snmp-agent target-host host-addr securityname
community-string