No relevant resource is found in the selected language.
Your browser version is too early. Some functions of the website may be unavailable. To obtain better user experience, upgrade the browser to the latest version.
Huawei uses machine translation combined with human proofreading to translate this document to different languages in order to help you better understand the content of this document.
Note: Even the most advanced machine translation cannot match the quality of professional translators.
Huawei shall not bear any responsibility for translation accuracy and it is recommended that you refer to the English document (a link for which has been provided).
Checking the Configuration
Checking the Configuration
Prerequisites
The configurations of basic SNMPv2c functions are complete.
Procedure
Run the display snmp-agent
community command to check the configured community name.
Run the display snmp-agent
sys-infoversion command
to check the enabled SNMP version.
Run the display aclacl-number command to check the ACL rules.
Run the display snmp-agent
mib-view command to check the MIB view.
Run the display snmp-agent
sys-infocontact command
to check the equipment administrator's contact information.
Run the display snmp-agent
sys-infolocation command
to check the location of the switch.
Run the display current-configuration | includemax-size command to check the maximum size of an SNMP packet.
Run the display current-configuration | includetrap command to check trap configuration.
Run the display
snmp-agent trap all command to check current and
default status of all traps in all features.
Run the display snmp-agent
target-host command to check information about the
target host.
Run the display snmp-agent inform [ addressudp-domainip-address [ vpn-instancevpn-instance-name ] paramssecurityname { security-name | ciphersecurity-name } ] command to check parameters
configured for all or specified target hosts to send Inform messages.
Run the display
snmp-agent extend error-code status command to check
whether the function that the device sends extended error codes to
the NMS is enabled.
Run the display snmp-agent
notification-log command
to view trap logs saved in the trap log buffer.
Run the display
constant-ifindex configuration command to check the
constant interface index function and relevant configuration information.