Verifying The Snmp Configuration; Verifying Snmp Agent Configuration - Juniper J-Series Administration Manual

Juniper networks router administration guide
Hide thumbs Also See for J-Series:
Table of Contents

Advertisement

J-series
Services Router Administration Guide
Table 35: 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.

Verifying SNMP Agent Configuration

Verify that SNMP is running and that requests and traps are being properly
Purpose
transmitted.
From the CLI, enter the
Action
user@host> show snmp statistics
SNMP statistics:
58

Verifying the SNMP Configuration

J-Web Configuration Editor
1.
In the J-Web interface, select Configuration>View
and Edit>Edit Configuration.
2.
Next to Snmp, click Configure or Edit.
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
either dotted integer or subtree name format.
3.
In the View action box, select include from the list,
and click OK.
1.
Next to Oid, click Add new entry.
2.
In the Name box, type the OID of the
either dotted integer or subtree name format.
3.
In the View action box, select exclude from the list,
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.
show snmp statistics
Input:
Packets: 246213, Bad versions: 12 , Bad community names: 12,
Bad community uses: 0, ASN parse errors: 96,
Too bigs: 0, No such names: 0, Bad values: 0,
Read onlys: 0, General errors: 0,
Total request varbinds: 227084, Total set varbinds: 67,
CLI Configuration Editor
From the
[edit]
enter
edit snmp
Create a view:
set view view-name
Set the
pingMIB
mark it for inclusion:
, in
pingMIB
set view view-name oid
1.3.6.1.2.1.80 include
Set the
jnxPingMIB
mark it for exclusion:
jnxPingMIB
, in
set view view-name oid jnxPingMIB
exclude
Set the community view:
set community community-name view
view-name
command.
hierarchy level,
OID value and
OID value and

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents