[ Contents] [ Prev] [ Next] [ Index] [ Report an Error]

Configuring SNMP Agents and Communities (Required)

To configure the SNMP agent, you must enable and authorize the network management system access to the Services Router, by configuring one or more communities. Each community has a community name, an authorization, which determines the kind of access the network management system has to the device, and, when applicable, a list of valid clients that can access the device.

To configure SNMP communities:

  1. Navigate to the top of the configuration hierarchy in either the J-Web or CLI configuration editor.
  2. To configure SNMP communities, perform the configuration tasks described in Table 64.
  3. If you are finished configuring the network, commit the configuration.
  4. To check the configuration, see Verifying the SNMP Configuration.

Table 64: Configuring SNMP Agents and Communities

Task

J-Web Configuration Editor

CLI Configuration Editor

Navigate to the SNMP level in the configuration hierarchy.

  1. In the J-Web interface, select Configuration>View and Edit>Edit Configuration.
  2. Next to Snmp, click Configure or Edit.

From the [edit] hierarchy level, enter

edit snmp

Create and name a community.

  1. Next to Community, click Add new entry.
  2. 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.

  1. Next to Clients, click Add new entry.
  2. In the Prefix box, type the IP address, in dotted decimal notation.
  3. 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.

  1. Next to Clients, click Add new entry.
  2. In the Prefix box, type the IP address prefix 10.10.10.0/24, and click OK.
  3. Next to Clients, click Add new entry.
  4. In the Prefix box, type the IP address prefix 10.10.10.10/29.
  5. Select the Restrict check box.
  6. Click OK.
  1. Configure client access for the IP address 10.10.10.0/24:

    set community community-name clients 10.10.10.0/24

  2. Configure client access to restrict the IP addresses 10.10.10.10/29:

    set community community-name clients 10.10.10.10/29 restrict


[ Contents] [ Prev] [ Next] [ Index] [ Report an Error]