Use the following configuration statements to define named views:
- snmp view view-name ...
- snmp view view-name oid oid {
- (include|exclude);
- }
To configure named views:
- [edit]
- user@host# edit snmp view view-name
The view name identifies a group of MIB objects for which to define access.
To include the OID in the view:
- [edit snmp view view-name]
- user@host# set oid oid include
To exclude the OID from the view:
- [edit snmp view view-name]
- user@host# set oid oid exclude
- [edit snmp view view-name]
- user@host# show