Use the following CLI syntax to configure view options:
config>system>security>snmp
view view-name subtree oid-value
mask mask-value[type {included | excluded}]
The following example displays view command usage:
config>system>security>snmp# view testview subtree 1
config>system>security>snmp>view$ mask ff type included
config>system>security>snmp>view$ exit
config>system>security>snmp# view testview subtree 1.3.6.1.2
config>system>security>snmp>view$ mask ff type X
config>system>security>snmp>view$ exit
The following example displays the view configuration:
ALU-1>config>system>security>snmp# info
----------------------------------------------
view "testview" subtree 1
mask ff
exit
view testview subtree 1.3.6.1.2
mask ff type excluded
exit
community "private" rwa version both
community "public" r version v2c
----------------------------------------------
ALU-1>config>system>security>snmp#