< Home

Verifying the Basic SNMPv2c Function Configuration

Prerequisites

The configurations of basic SNMPv2c functions are complete.

Procedure

  • Run the display snmp-agent community command to check community names.
  • Run the display snmp-agent sys-info version command to check the enabled SNMP version.
  • Run the display acl acl-number command to check ACL rules.
  • Run the display snmp-agent mib-view command to check MIB views.
  • Run the display snmp-agent sys-info contact command to check the administrator's contact information.
  • Run the display snmp-agent sys-info location command to check the location of the switch.
  • Run the display current-configuration | include max-size command to check the maximum size of an SNMP packet.
  • Run the display current-configuration | include trap command to check trap configuration.
  • Run the display snmp-agent trap all command to check current and default status of all traps of all features.
  • Run the display snmp-agent target-host command to check information about the target host.
  • Run the display snmp-agent inform [ address udp-domain ip-address [ vpn-instance vpn-instance-name ] params securityname { security-name | cipher security-name } ] command to check configurations of all or specified target hosts that send informs.
  • 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 the inform logs saved in the inform log buffer.
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic