Procedure
l
Run the
display snmp-agent usm-user
[
user-name
] command to check user information.
l
Run the
display snmp-agent sys-info
version
command to check the enabled SNMP
version.
l
Run the
display acl
acl-number
command to check the rules in the specified ACL.
l
Run the
display snmp-agent mib-view
command to check the MIB view.
l
Run the
display snmp-agent sys-info
contact
command to check the equipment
administrator's contact information.
l
Run the
display snmp-agent sys-info
location
command to check the location of the
device.
l
Run the
display current-configuration
| include
trap
command to check trap
configurations.
l
Run the
display snmp-agent extend error-code status
command to check whether the
SNMP extended error code feature is enabled.
----End
Example
Run the
display snmp-agent usm-user
command. You can view SNMP user information.
<Huawei>
display snmp-agent usm-user
User name: testuser
Engine ID: 000007DB7F00000100004C3F
Group name: testgroup
Authentication mode: md5, Privacy mode: des56
Storage type: nonVolatile
User status: active
Total number is 1
Run the
display snmp-agent sys-info version
command. You can view the SNMP version
running on the agent.
<Huawei>
display snmp-agent sys-info version
SNMP version running in the system:
SNMPv3
Run the
display acl
acl-number
command. You can view the rules in the specified ACL.
<Huawei>
display
acl
2000
Basic ACL 2000, 1 rule
Acl's step is 5
rule 5 permit source 1.1.1.1 0
Run the
display snmp-agent mib-view
command. You can view the MIB view.
<Huawei>
display snmp-agent mib-view
View name:ViewDefault
MIB Subtree:internet
Subtree mask:
Storage type: nonVolatile
View Type:included
View status:active
View name:ViewDefault
MIB Subtree:snmpUsmMIB
Subtree mask:
Storage type: nonVolatile
View Type:excluded
View status:active
View name:ViewDefault
MIB Subtree:snmpVacmMIB
Subtree mask:
Storage type: nonVolatile
Huawei AR150&200 Series Enterprise Routers
Configuration Guide - Network Management
1 SNMP Configuration
Issue 02 (2012-03-30)
Huawei Proprietary and Confidential
Copyright © Huawei Technologies Co., Ltd.
29