Navigation
Supported Platforms
Related Documentation
- ACX, M, MX, PTX, T Series
- Configuring SNMP on a Device Running Junos OS
- Configuration Statements at the [edit snmp] Hierarchy Level
- ACX, EX, M, MX, PTX, SRX, T Series
- view (Configuring a MIB View)
- ACX, EX, M, MX, PTX, T Series
- oid
- QFX Series
- Configuring MIB Views
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;}
Related Documentation
- ACX, M, MX, PTX, T Series
- Configuring SNMP on a Device Running Junos OS
- Configuration Statements at the [edit snmp] Hierarchy Level
- ACX, EX, M, MX, PTX, SRX, T Series
- view (Configuring a MIB View)
- ACX, EX, M, MX, PTX, T Series
- oid
- QFX Series
- Configuring MIB Views
Published: 2013-07-16
Supported Platforms
Related Documentation
- ACX, M, MX, PTX, T Series
- Configuring SNMP on a Device Running Junos OS
- Configuration Statements at the [edit snmp] Hierarchy Level
- ACX, EX, M, MX, PTX, SRX, T Series
- view (Configuring a MIB View)
- ACX, EX, M, MX, PTX, T Series
- oid
- QFX Series
- Configuring MIB Views