# Check information about the SNMP community name.
<Quidway> display snmp-agent community
 Community name:adminnms2
 Group name:adminnms2
 Acl:2001
 Storage-type: nonVolatile
# 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 allexthgmp
View name:allexthgmp
       MIB Subtree:hwCluster 
       Subtree mask:
       Storage-type: nonVolatile
       View Type:excluded
       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    : 1.1.3.1
  Port             : 162
  Type             : trap
  Version          : v1
  Level            : No authentication and privacy
  NMS type         : NMS
----------------------------------------------------------- 
# When an alarm is generated, run the display trapbuffer command to view the details.
<Quidway> display trapbuffer
Trapping buffer configuration and contents : enabled
Allowed max buffer size : 1024
Actual buffer size : 256
Channel number : 3 , Channel name : trapbuffer
Dropped messages : 0
Overwritten messages : 0
Current messages : 98
#Oct 11 2010 18:57:59 RouterA DS/4/DATASYNC_CFGCHANGE:OID 1.3.6.1.4.1.2011
.5.25.191.3.1 configurations have been changed. The current change number is 95,
 the change loop count is 0, and the maximum number of records is 4095. 
# Check the equipment administrator's contact information.
<Quidway> display snmp-agent sys-info contact
The contact person for this managed node:
 call Operator at 010-12345678 
----End
Configuration Files
Configuration file of the switch
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.
37