set snmp community

Description

Configures the SNMP v2 community name.

See show snmp community.

Syntax

set snmp community <community>

Parameters

Parameter

Description

community

Configures the SNMP v2 community name.

The default name is "public".

A string that contains less than 257 characters, of this set:

  • a-z (lower-case letters)

  • A-Z (upper-case letters)

  • 0-9 (digits)

  • '.' (period)

  • '-' (minus)

  • '_' (underscore)

  • '@' (at)

Example

set snmp community MySnmpCommunity