Snmp-Agent Trap Enable - Huawei Quidway S2000 Series Command Manual

Table of Contents

Advertisement

Command Manual - System Management
Quidway S2000 Series Ethernet Switches

5.1.17 snmp-agent trap enable

Syntax
snmp-agent trap enable [ standard [ authentication ] [ coldstart ] [ linkdown ]
[ linkup ] [ warmstart ] ]
undo snmp-agent trap enable [ standard [ authentication ] [ coldstart ] [ linkdown ]
[ linkup ] [ warmstart ] ]
View
System view
Parameter
standard [ authentication ] [ coldstart ] [ linkdown ] [ linkup ] [ warmstart ]:
Configure to send standard Trap messages. authentication: Configure to send SNMP
authentication Trap messages. coldstart: Configure to send SNMP cold start Trap
messages. linkdown: Configure to send SNMP link down Trap messages. linkup:
Configure to send SNMP link up Trap messages. warmstart: Configure to send SNMP
warm start Trap messages.
Description
Using snmp-agent trap enable command, you can enable the device to send Trap
message. Using undo snmp-agent trap enable command, you can disable Trap
message sending.
By default, Trap message sending is disabled.
snmp-agent trap enable command and snmp-agent target-host command should
be used at the same time. snmp-agent target-host command specifies which hosts
can receive Trap message. However, to send Trap message, at least one snmp-agent
target-host command should be configured.
Example
# Enable to send the trap packet of SNMP authentication failure to 10.1.1.1. The
community name is huawei.
[Quidway] snmp-agent trap enable standard authentication
[Quidway] snmp-agent target-host trap address udp-domain 10.1.1.1 params
securityname huawei
Chapter 5 SNMP Configuration Commands
5-16

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents