![Huawei NetEngine5000E Configuration Manual Download Page 70](http://html.mh-extra.com/html/huawei/netengine5000e/netengine5000e_configuration-manual_169429070.webp)
The configuration is committed.
----End
3.2.4 Checking the Configuration
After basic SNMPv1 functions are configured, you can view the SNMPv1 configuration.
Prerequisite
The configurations of basic SNMPv1 functions are complete.
Procedure
l
Run the
display snmp-agent community
command to check the configured community
name.
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
router.
l
Run the
display current-configuration
| include
max-size
command to check the
allowable maximum size of an SNMP packet.
l
Run the
display current-configuration
| include
trap
command to check trap
configuration.
l
Run the
display snmp-agent vacmgroup
command to check all the configured View-
based Access Control Model (VACM) groups.
l
Run the
display snmp-agent target-host
command to check information about the target
host.
----End
Example
When the configuration is complete, run the
display snmp-agent community
command. You
can view the configured community name.
<HUAWEI>
display snmp-agent community
Community name:public
Group name:public
Storage-type: nonVolatile
Community name:private
Group name:private
Storage-type: nonVolatile
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 SNMPv3
Run the
display acl
acl-number
command. You can view the rules in the specified ACL.
<HUAWEI>
display
acl
2000
HUAWEI NetEngine5000E Core Router
Configuration Guide - System Management
3 SNMP Configuration
Issue 01 (2011-10-15)
Huawei Proprietary and Confidential
Copyright © Huawei Technologies Co., Ltd.
62