How can I configure SNMP versions on a CE switch

31

Three SNMP versions are available: v1, v2c, and v3. The default SNMP version is SNMPv3.
# Set the SNMP versions used by the switch to v2c and v3.
system-view
[~HUAWEI] snmp-agent sys-info version v2c
[*HUAWEI] commit
# Configure the switch to use all SNMP versions.
system-view
[~HUAWEI] snmp-agent sys-info version all
[*HUAWEI] commit
# Set the SNMP version used by the switch to v2c.
system-view
[~HUAWEI] snmp-agent sys-info version v2c
[*HUAWEI] snmp-agent sys-info version v3 disable
[*HUAWEI] commit

Other related questions:
How can I view the SNMP configuration on a CE switch
Run the display current-configuration configuration snmp command to view the SNMP configuration on a CE switch.

How can I delete the SNMP configuration on a CE switch
The undo snmp-agent command disables the SNMP agent function, but does not delete the SNMP configuration. After the snmp-agent command is re-executed, the original SNMP configuration still exists. If you need to permanently delete an SNMP configuration, run appropriate undo commands.

If you have more questions, you can seek help from following ways:
To iKnow To Live Chat
Scroll to top