Operation Manual – SNMP
Quidway S3100 Series Ethernet Switches Chapter 1
SNMP Configuration
Huawei Technologies Proprietary
1-7
Operation Command Description
Set Trap target host
address
snmp-agent target-host trap
address udp-domain { ip-addr }
[ 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 I s 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 Displaying SNMP
After the above configuration is completed, execute the display command in any view
to view the running of SNMP, and to verify the configuration.
Table 1-5 Display SNMP
Operation Command
Display system information of the
current SNMP device
display snmp-agent sys-info [ contact
| location | version ]*
Display SNMP packet statistics
information
display snmp-agent statistics
Display the engine ID of the current
device
display snmp-agent { local-engineid |
remote-engineid }
Display group information about the
device
display snmp-agent group
[ group-name ]
Display SNMP user information
display snmp-agent usm-user
[ engineid engineid | username
user-name | group group-name ]
Display Trap list information
display snmp-agent trap-list
Display the currently configured
community name
display snmp-agent community
[ read | write ]
Display the currently configured MIB
view
display snmp-agent mib-view
[ exclude | include | viewname
view-name ]