Junos OS

Can I filter specific SNMP queries on a device?

By Elevate posted 02-01-2016 10:48

  

Question

Can I filter specific SNMP queries on a device?

Answer

Yes, you can filter specific SNMP queries on a device using exclude and include statements.

 

The following example shows a configuration that blocks read-write operation on all OIDs under .1.3.6.1.2.1.1 for the community test:

 

user@host# show snmp
view system-exclude {
oid .1.3.6.1.2.1.1 exclude;
oid .1 include;
}
community test {
view system-exclude;
authorization read-write;
}
}

For more information, click: Configuring SNMP on devices running Junos OS.


#JunosOS
#FAQ
0 comments
0 views

Permalink