[Contents]
[Prev]
[Next]
[Index]
[Report an Error]
Associating Security Names with a Community
For SNMPv1 or SNMPv2c packets, you must assign
security names to groups at the [edit snmp v3 vacm security-to-group] hierarchy level and you must associate a security name with an SNMP
community.
Use the following configuration statements to configure
SNMPv1 or SNMPv2c communities for the VACM:
- snmp v3 snmp-community community-index {
- community-name community-name;
- security-name security-name;
- address address;
- }
To configure the community:
- From configuration mode, access the configuration statement
that configures the community.
- [edit]
- user@host# edit snmp v3 snmp-community community-index
Unique index that identifies an SNMP
community.
- (Optional) Specify the community string for the SNMPv1
or SNMPv2c community.
- [edit snmp v3 snmp-community community-index]
- user@host# set community-name community-name
If a community name is not specified,
the community index is used.
- Specify the VACM security name to associate with the community
string.
- [edit snmp v3 snmp-community community-index]
- user@host# set security-name security-name
- (Optional) Specify the IP address or subnet of the SNMP
clients that are authorized to use this community.
- [edit snmp v3 snmp-community community-index]
- user@host# set address address
If an address is not specified, all clients
are authorized to use the community.
- (Optional) Verify your configuration.
- [edit snmp v3 snmp-community community-index]
- user@host# show
[Contents]
[Prev]
[Next]
[Index]
[Report an Error]