|
Navigate to the SNMP level in the configuration
hierarchy.
|
In the configuration editor hierarchy, select Snmp.
|
From the top of the configuration hierarchy, enter:
edit snmp
|
|
Create a view.
|
- Next to View, click Add new entry.
- In the Name box, type the name of the view as a free-form
text string.
|
Create a view:
set view view-name
|
|
Configure the view to include a MIB—for example, pingMIB.
|
- Next to Oid, click Add new entry.
- In the Name box, type the OID of the pingMIB,
in either dotted integer or subtree name format.
- In the View action box, select include from
the drop-down menu, and click OK.
|
Set the pingMIB OID value and mark it for inclusion:
set view view-name oid 1.3.6.1.2.1.80 include
|
|
Configure the view to exclude a MIB—for example, jnxPingMIB.
|
- Next to Oid, click Add new entry.
- In the Name box, type the OID of the jnxPingMIB,
in either dotted integer or subtree name format.
- In the View action box, select exclude from
the drop-down menu, and click OK twice.
|
Set the jnxPingMIB OID value and mark it for exclusion:
set view view-name oid jnxPingMIB exclude
|
|
Associate the view with a community.
|
- On the Snmp page, under Community, click the name of
the community to which you want to apply the view.
- In the View box, type the view name.
- Click OK.
|
Set the community view:
set community community-name view view-name
|