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. |
group {read-only|read-write} |
Defines the access privilege of the SNMP community string. |
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":
(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