How to configure an SNMP community name on a CE series switch

CE switches support SNMPv1, SNMPv2c, and SNMPv3, while only SNMPv1 and SNMPv2c support community name configuration.
Run the snmp-agent community { read | write } { community-name | cipher community-name } [ alias alias-name ] command in the system view to set an SNMP community name.

For example, set the read/write community name for SNMPv2c to Private123.
[~HUAWEI] snmp-agent sys-info version v2c
[*HUAWEI] snmp-agent community write Private123
[*HUAWEI] commit

Scroll to top