Sets or modifies the Branch Gateway’s SNMP community strings that are used by SNMP v2 and SNMP v2c.
Syntax
set snmp community {read-only | read-write}[community_string]
Parameters
Parameter
Description
Possible Values
Default Value
read-only
Keyword specifying the read-only access level
read-write
Keyword specifying the read-write access level
community_string
Specifies the name of the SNMP community. If no community string is specified, the community string configured for the specified access type is cleared.
User level
read-write
Context
general
Example
To set the read-only community string to read:
Gxxx-001(super)# set snmp community read-only read
SNMP read-only community string set