community-strings

This command configures the SNMP Community Strings table, which configures SNMP community strings.

Syntax

(config-system)# snmp settings
(snmp)# community-strings <Index> (community-strings-<Index>)#

Command

Description

Index

Defines the table row index.

access-group

Assigns the SNMP community string to an Access Group in the SNMP Access table.

Note: This command is applicable only when in advanced SNMP mode.

group {read-only|read-write}

Defines the access privilege of the SNMP community string.

Note: This parameter is applicable only when in basic SNMP mode.

name

Defines a descriptive name for the SNMP Community String.

password

Defines a password for the SNMP Community String.

Command Mode

Privileged User

Example

This example configures a read-only SNMP community string with password "Public-abc12_3" (basic SNMP mode):

(config-system)# snmp settings
(snmp)# community-strings 2 (community-strings-2)# group read-only
(community-strings-2)# name MonitorGroup
(community-strings-2)# password Public-abc12_3
(community-strings-2)# exit