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
When the configuration is complete, run the
display snmp-agent community read
command.
You can view the configured community name.
<Huawei>
display snmp-agent community read
Community name:
huawei
Storage type: nonVolatile
View name: ViewDefault
Acl: 2001
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:
SNMPv1
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
View Type:excluded
View status:active
View name:ViewDefault
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.
13