Operation Manual – SNMP and RMON
Quidway S5600 Series Ethernet Switches-Release 1510 Chapter 1
SNMP Configuration
Huawei Technologies Proprietary
1-7
Operation Command Description
Enable the
port or
interface to
send Trap
packets
enable snmp trap updown
Trap
packets
Quit to
system view
quit
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.
1.4 Setting the Logging Function for Network Management
Table 1-5 Set the logging function for network management
Operation Command Description
Enter system view
system-view
—
Set the logging
function for network
management
snmp-agent log
{ set-operation |
get-operation | all }
Optional;
By default, the logging
function for SNMP is disabled.