C
L
I
R
OMMAND
INE
NTERFACE
EFERENCE
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.
CONTROLLER>snmp create view All include .1
• 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.
CONTROLLER>snmp create view None exclude .1
• Create a view named NC with access to the OID subtree starting at .1.3.6.1.4.1.31645 (Network Critical
proprietary MIBs).
CONTROLLER>snmp create view NC include .1.3.6.1.4.1.31645
• Create a view named mgmt that is excluded from the MIB subtree starting at .iso.org.dod.mgmt:
CONTROLLER>snmp create view mgmt exclude .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:
CONTROLLER>snmp create view ifRow4 include .1.3.6.1.2.1.2.2.1.0.4 0xff:a0
• 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 iso1 include .iso 0xf0
CONTROLLER>snmp create view iso2 include .iso
CONTROLLER>snmp create view iso3 include .iso.org.dod.mgmt 0xf0
|
S
NA™ 10G N
MART
DRAFT
A
(S
NA-X)
ETWORK
CCESS
MART
180
Need help?
Do you have a question about the SmartNA-X and is the answer not in the manual?