Verifying The Snmp Configuration - Juniper J2300 User Manual

J-series services router
Hide thumbs Also See for J2300:
Table of Contents

Advertisement

3.
4.
Table 101: Configuring SNMP Views
Task
Navigate to the SNMP level in the
configuration hierarchy.
Create a view.
Configure the view to include a MIB—for
example, pingMIB.
Configure the view to exclude a
MIB—for example, jnxPingMIB.
Associate the view with a community.

Verifying the SNMP Configuration

To verify the SNMP configuration, perform the following verification task.
If you are finished configuring the network, commit the configuration.
To check the configuration, see "Verifying the SNMP Configuration" on page
251.
J-Web Configuration Editor
In the configuration editor hierarchy,
select Snmp.
1.
Next to View, click Add new entry.
2.
In the Name box, type the name of
the view as a free-form text string.
1.
Next to Oid, click Add new entry.
2.
In the Name box, type the OID
of the pingMIB, in either dotted
integer or subtree name format.
3.
In the View action box, select
include from the drop-down
menu, and click OK.
1.
Next to Oid, click Add new entry.
2.
In the Name box, type the OID of
the jnxPingMIB, in either dotted
integer or subtree name format.
3.
In the View action box, select
exclude from the drop-down
menu, and click OK twice.
1.
On the Snmp page, under
Community, click the name of the
community to which you want to
apply the view.
2.
In the View box, type the view
name.
3.
Click OK.
Configuring SNMP for Network Management
CLI Configuration Editor
From the top of the configuration
hierarchy, enter:
edit snmp
Create a view:
set view view-name
Set the pingMIB OID value and mark it
for inclusion:
set view view-name oid 1.3.6.1.2.1.80
include
Set the jnxPingMIB OID value and mark
it for exclusion:
set view view-name oid jnxPingMIB
exclude
Set the community view:
set community community-name view
view-name
Verifying the SNMP Configuration
251

Hide quick links:

Advertisement

Table of Contents
loading

This manual is also suitable for:

J2350J2320J4300J6300J6350J4350

Table of Contents