180
S
MARTNA™ 10G NETWORK ACCESS (SMARTNA-X)
COMMAND LINE INTERFACE REFERENCE |
DRAFT
Example • Create a view named All with access to the OID subtree starting from .1 (the MIB root level). Users in such a
group will have read, write, or notify access to the entire MIB depending on the type of access set by the snmp
create access command for the group.
• Create a view named None with excluded access to the OID subtree starting from .1 (the MIB root lever).
Effectively, any user in this group will have no read, write or notify access to the MIB.
• Create a view named NC with access to the OID subtree starting at .1.3.6.1.4.1.31645 (Network Critical
proprietary MIBs).
• Create a view named mgmt that is excluded from the MIB subtree starting at .iso.org.dod.mgmt:
• Create a view named ifRow4 that has access to OID subtree .1.3.6.1.2.1.2.2.1.0.4 with sub identifier 0xff:a0 in
the view OID to match against:
• Below, the first two examples define the same view, covering the whole of the .iso subtree, with the third
example ignoring the subidentifiers not covered by the mask:
CONTROLLER>snmp create view All include .1
CONTROLLER>snmp create view None exclude .1
CONTROLLER>snmp create view NC include .1.3.6.1.4.1.31645
CONTROLLER>snmp create view mgmt exclude .iso.org.dod.mgmt
CONTROLLER>snmp create view ifRow4 include .1.3.6.1.2.1.2.2.1.0.4 0xff:a0
CONTROLLER>snmp create view iso1 include .iso 0xf0
CONTROLLER>snmp create view iso2 include .iso
CONTROLLER>snmp create view iso3 include .iso.org.dod.mgmt 0xf0