[Quidway]
snmp-agent trap queue-size 200
[Quidway]
snmp-agent trap life 60
Step 6
Configure the equipment administrator's contact information.
[Quidway]
snmp-agent sys-info contact call Operator at 010-12345678
Step 7
Configure the NMS2.
For details on how to configure NMS2, see the relevant NMS configuration guide.
Step 8
Verify the configuration.
After the configurations are complete, run the following commands to verify that the
configurations have taken effect.
# Check information about the user group.
<Quidway>
display snmp-agent group testgroup
Group name: testgroup
Security model: v3 AuthPriv
Readview: ViewDefault
Writeview: testview
Notifyview: testview
Storage-type: nonVolatile
Acl:2001
# Check information about the user.
<Quidway>
display snmp-agent usm-user
User name: testuser
Engine ID: 000007DB7F00000100004C3F active
Group name:testgroup
# Check the configured ACL.
<Quidway>
display acl 2001
Basic ACL 2001, 2 rules
Acl's step is 5
rule 5 permit source 1.1.1.2 0
rule 6 deny source 1.1.1.1 0
# Check the MIB view.
<Quidway>
display snmp-agent mib-view viewname testview
View name:testview
MIB Subtree:iso
Subtree mask:
Storage-type: nonVolatile
View Type:included
View status:active
# Check the target host.
<Quidway>
display snmp-agent target-host
Target-host NO. 1
-----------------------------------------------------------
IP-address : 1.1.1.2
Source interface : -
VPN instance : -
Security name : testuser
Port : 162
Type : trap
Version : v1
Level : No authentication and privacy
NMS type : NMS
-----------------------------------------------------------
Quidway S2700 Series Ethernet Switches
Configuration Guide - Network Management
1 SNMP Configuration
Issue 01 (2011-07-15)
Huawei Proprietary and Confidential
Copyright © Huawei Technologies Co., Ltd.
44