Juniper Networks J-Series manual Controlling Access to MIBs Optional, Configuring Snmp Trap Groups

Models: J-Series

1 332
Download 332 pages 610 b
Page 79
Image 79

Chapter 3: Configuring SNMP for Network Management

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

Task

J-Web Configuration Editor

Navigate to the SNMP level in the

1.

In the J-Web interface, select

configuration hierarchy.

 

Configuration>View and Edit>Edit

 

 

Configuration.

 

2.

Next to Snmp, click Configure or Edit.

CLI Configuration Editor

From the [edit] hierarchy level, enter

edit snmp

Create a trap group.

1.

Next to Trap group, click Add new entry. Create a community:

 

2.

In the Group name box, type the name

set trap-group trap-group-name

 

 

of the group as a free-form text string.

 

 

 

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

1.

Next to Targets, click Add new entry.

Set the trap-group target to

2.

In the Target box, type the IP address

192.174.6.6:

 

192.174.6.6, and click OK.

set trap-grouptrap-group-name targets 192.174.6.6

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

1.

Click Categories.

Configure the trap group categories:

2.

Select the Authentication, Chassis, and

set trap-group trap-group-name

 

Link check boxes.

 

 

categories authentication chassis link

3.Click OK.

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

Page 79
Image 79
Juniper Networks J-Series manual Controlling Access to MIBs Optional, Configuring Snmp Trap Groups, Click Categories