J-series™ Services Router Administration Guide

Table 33: Configuring SNMP Agents and Communities

Task

J-Web Configuration Editor

CLI Configuration Editor

Navigate to the SNMP level in the

1.

In the J-Web interface, select

From the [edit] hierarchy level, enter

configuration hierarchy.

 

Configuration>View and Edit>Edit

 

 

 

Configuration.

edit snmp

 

2.

Next to Snmp, click Configure or Edit.

 

Create and name a community.

1.

Next to Community, click Add new entry.

Create a community:

 

2.

In the Community box, type the name of

set community community-name

 

 

the community as a free-form text string.

 

 

 

Grant read-write access to the community.

In the Authorization box, select read-writefrom Set the authorization to read-write: the list.

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.

Configure client access for the IP

2.

In the Prefix box, type the IP address, in

address 10.10.10.10:

 

 

dotted decimal notation.

set community community-nameclients

 

 

3.

Click OK.

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.

1. Configure client access for the IP

2.

In the Prefix box, type the IP address

address 10.10.10.0/24:

 

 

prefix 10.10.10.0/24, and click OK.

set community community-name

 

 

3.

Next to Clients, click Add new entry.

clients 10.10.10.0/24

4.

In the Prefix box, type the IP address

2. Configure client access to restrict

 

prefix 10.10.10.10/29.

the IP addresses 10.10.10.10/29:

5.

Select the Restrict check box.

set community community-name

 

 

6.

Click OK.

clients 10.10.10.10/29 restrict

Managing SNMP Trap Groups (Required)

SNMP traps are unsolicited notifications that are generated by conditions on the Services Router. When events trigger a trap, a notification is sent to the configured clients for that particular trap group. To manage a trap group, you must create the group, specify the types of traps that are included in the group, and define one or more targets to receive the trap notifications.

To configure SNMP trap groups:

1.Navigate to the top of the configuration hierarchy in either the J-Web or CLI configuration editor.

2.To configure SNMP trap groups, perform the configuration tasks described in Table 34 on page 57.

56Configuring SNMP with a Configuration Editor

Page 78
Image 78
Juniper Networks J-Series manual Managing Snmp Trap Groups Required, Configuring Snmp Agents and Communities