Operation Manual – SNMP and RMON
Quidway S3900 Series Ethernet Switches-Release 1510 Chapter 1 SNMP Configuration
Huawei Technologies Proprietary
1-7
1.3.1 Configuration Prerequisites
Complete SNMP basic configuration.
1.3.2 Configuration Tasks
Table 1-4 Configure Trap
Operation Command Description
Enter system view
system-view
—
Enable the device to
send Trap packets
snmp-agent trap enable
[ configuration | flash | ospf
[ process-id ] [ ospf-trap-list ] |
standard [ authentication |
coldstart | linkdown | linkup |
warmstart ]* | system | vrrp
[ authfailure | newmaster ] ]
Enter port
view or
interface view
interface interface-type
interface-number
Enable the
port or
interface to
send Trap
packets
enable snmp trap updown
Enable
the port
to send
Trap
packets
Quit to
system view
quit
Optional
By default, the
port is enabled
to send Trap
packets.
Set Trap target host
address
snmp-agent target-host trap
address udp-domain { ip-address }
[ udp-port port-number ] params
securityname security-string [ v1 |
v2c | v3 {authentication | privacy } ]
Required
Set the source address
to send Trap packets
snmp-agent trap source
interface-type interface-number
Optional
Set the information
queue length of Trap
packet sent to
destination host
snmp-agent trap queue-size size
Optional
The default
value is 100.
Set aging time for Trap
packets
snmp-agent trap life seconds
Optional
The default
aging time for
Trap packets is
120 seconds.