beautypg.com

Controlling access to mibs (optional) – Juniper Networks J-Series User Manual

Page 79

background image

3.

If you are finished configuring the network, commit the configuration.

4.

To check the configuration, see “Verifying the SNMP Configuration” on page 58.

Table 34: Configuring SNMP Trap Groups

CLI Configuration Editor

J-Web Configuration Editor

Task

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 trap-group trap-group-name

1.

Next to Trap group, click Add new entry.

2.

In the Group name box, type the name
of the group as a free-form text string.

Create a trap group.

Set the trap-group target to

192.174.6.6

:

set trap-group trap-group-name

targets 192.174.6.6

1.

Next to Targets, click Add new entry.

2.

In the Target box, type the IP address

192.174.6.6

, and click OK.

Configure the trap group to send all trap
notifications to a target IP address—for
example, to the IP address

192.174.6.6

.

Configure the trap group categories:

set trap-group trap-group-name

categories authentication chassis link

1.

Click Categories.

2.

Select the Authentication, Chassis, and
Link check boxes.

3.

Click OK.

Configure the trap group to generate
SNMP notifications on authentication
failures, environment alarms, and
changes in link state for any of the
interfaces.

Controlling Access to MIBs (Optional)

By default, an SNMP community is granted access to all MIBs. To control the MIBs
to which a particular community has access, configure SNMP views that include the
MIBs you want to explicitly grant or deny access to.

To configure SNMP views:

1.

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

2.

To configure SNMP views, perform the configuration tasks described in
Table 35 on page 58.

3.

If you are finished configuring the network, commit the configuration.

4.

To check the configuration, see “Verifying the SNMP Configuration” on page 58.

Configuring SNMP with a Configuration Editor

57

Chapter 3: Configuring SNMP for Network Management