Juniper Networks J-Series Network Router User Manual


 
Table 33: Configuring SNMP Agents and Communities
CLI Configuration EditorJ-Web Configuration EditorTask
From the [edit] hierarchy level, enter
edit snmp
1.
In the J-Web interface, select
Configuration>View and Edit>Edit
Configuration.
2.
Next to Snmp, click Configure or Edit.
Navigate to the SNMP level in the
configuration hierarchy.
Create a community:
set community community-name
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 and name a community.
Set the authorization to read-write:
set community community-name
authorization read-write
In the Authorization box, select read-write from
the list.
Grant read-write access to the
community.
Configure client access for the IP
address 10.10.10.10:
set community community-name clients
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.
Allow community access to a
client at a particular IP
addressfor example, at IP
address 10.10.10.10.
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
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.
Allow community access to a
group of clientsfor example, all
addresses within the
10.10.10.0/24 prefix, except
those within the 10.10.10.10/29
prefix.
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.
56 Configuring SNMP with a Configuration Editor
J-series Services Router Administration Guide