Celestica Documentation Portal

Find your product documents here

SNMP Community

Configures SNMP community.

Syntaxsnmp-server community <name> <RO/RW>
Command mode CONFIG
Parameters
  • name – SNMP community name (4 – 32 chars: no space, comma, @ allowed).

  • RO/RW – Read-only or Read-write permission.

Usage

Use no snmp-server community <string> to remove the SNMP community.

Supported Releases 1.0.0 or later
Click command config snmp community add [OPTIONS] <snmp_community> <RO|RW>
Example
sonic(config)# snmp-server community private RW
sonic(config)# no snmp-server community private