Technical Documentation

Example: Ping Proxy MIB

Restrict the ping-mib community to read and write access of the Ping MIB and jnxpingMIB only. Read or write access to any other MIB using this community is not allowed.

[edit snmp]view ping-mib-view {oid 1.3.6.1.2.1.80 include; #pingMIBoid jnxPingMIB include; #jnxPingMIB}community ping-mib {authorization read-write;view ping-mib-view;}

The following configuration prevents the no-ping-mib community from accessing Ping MIB and jnxPingMIB objects. However, this configuration does not prevent the no-ping-mib community from accessing any other MIB object that is supported on the device.

[edit snmp]view no-ping-mib-view {oid 1.3.6.1.2.1.80 exclude; # deny access to pingMIB objectsoid jnxPingMIB exclude; # deny access to jnxPingMIB objects}community no-ping-mib {authorization read-write;view ping-mib-view;}

Published: 2010-07-16

Help
|
My Account
|
Log Out