|
Navigate to the SNMP level in the configuration
hierarchy.
|
In the configuration editor hierarchy, select Snmp.
|
From the top of the configuration hierarchy, enter
edit snmp
|
|
Create and name a community.
|
- Next to Community, click Add new entry.
- In the Community box, type the name of the community as
a free-form text string.
|
Create a community:
set community community-name
|
|
Grant read-write access to the community.
|
In the Authorization box, select read-write from
the list.
|
Set the authorization to read-write:
set community community-name authorization
read-write
|
|
Allow community access to a client at a particular IP address—for
example, at IP address 10.10.10.10.
|
- Next to Clients, click Add new entry.
- In the Prefix box, type the IP address, in dotted decimal
notation.
- Click OK.
|
Configure client access for the IP address 10.10.10.10:
set community community-name clients 10.10.10.10
|
|
Allow community access to a group of clients—for example, all
addresses within the 10.10.10.0/24 prefix, except those within the 10.10.10.10/29 prefix.
|
- Next to Clients, click Add new entry.
- In the Prefix box, type the IP address prefix 10.10.10.0/24,
and click OK.
- Next to Clients, click Add new entry.
- In the Prefix box, type the IP address prefix 10.10.10.10/29.
- Select the Restrict check box.
- Click OK.
|
- Configure client access for the IP address 10.10.10.0/24:
set community community-name clients 10.10.10.0/24
- Configure client access to restrict the IP addresses 10.10.10.10/29:
set community community-name clients 10.10.10.10/29
restrict
|