Command Manual - System Management
Quidway S2000 Series Ethernet Switches
Chapter 5 SNMP Configuration Commands
5-16
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
Summary of Contents for Quidway S2000 Series
Page 8: ...HUAWEI Quidway S2000 Series Ethernet Switches Command Manual 1 Getting Started ...
Page 48: ...HUAWEI Quidway S2000 Series Ethernet Switches Command Manual 2 Port ...
Page 76: ...HUAWEI Quidway S2000 Series Ethernet Switches Command Manual 3 VLAN ...
Page 92: ...HUAWEI Quidway S2000 Series Ethernet Switches Command Manual 4 Multicast ...
Page 107: ...HUAWEI Quidway S2000 Series Ethernet Switches Command Manual 5 QoS ACL ...
Page 124: ...HUAWEI Quidway S2000 Series Ethernet Switches Command Manual 6 Integrated Management ...
Page 160: ...HUAWEI Quidway S2000 Series Ethernet Switches Command Manual 7 STP ...
Page 178: ...HUAWEI Quidway S2000 Series Ethernet Switches Command Manual 8 Security ...
Page 234: ...HUAWEI Quidway S2000 Series Ethernet Switches Command Manual 9 Network Protocol ...
Page 251: ...HUAWEI Quidway S2000 Series Ethernet Switches Command Manual 10 System Management ...
Page 400: ...HUAWEI Quidway S2000 Series Ethernet Switches Command Manual 11 Appendix ...