Use this command to configure an SNMP community group.
community | Specifies a community group name. |
securityname securityname | (Optional) Specifies an SNMP security name to associate with this community. Default: If no security name is specified, the community name is used. |
context context | (Optional) Specifies a subset of management information this community will be allowed to access. Valid values are full or partial context names of either MIB object IDs or router (the system designated router mode module). Default: All MIB objects. To review all contexts configured for the device, use the show snmp context command. Note: Beginning with Release 6.0, do not specify the routing module ID as part of the context. You must specify router for the system designated router mode module.
|
transport transport | (Optional) Specifies the set of transport endpoints from which SNMP request with this community name will be accepted. Makes a link to a target address table. Default: None. |
volatile | nonvolatile | (Optional) Specifies the storage type for these entries. Default: nonvolatile. |
None.
All command modes.
This example shows how to set an SNMP community name called “vip”:
System(rw)->set snmp community vip
This example shows how to grant SNMP management privileges to “vip” community from the routing module operating in router mode:
System(rw)->set snmp community vip context router