156
| Command Line Reference | SmartNA-X 1G/10G Modular
SmartNA-X
™
1G/10G User Guide 1.4
©
2015 Network Critical Solutions Limited
CONTROLLER>
snmp create view
viewName
include .iso 0xf0
CONTROLLER>
snmp create view
viewName
include .iso
CONTROLLER>
snmp create view
viewName
include .iso.org.dod.mgmt 0xf0
CONTROLLER>
apply
snmp delete view
Use the
snmp delete view
command to delete a viewName.
Syntax
snmp delete view
viewName
oid-string
Parameters
•
viewName
Specify the viewName to delete. Note that viewNames are case sensitive—viewName and ViewName are
not the same.
•
oid-string
Specify the OID string that applies to this view. The string must be specified in standard OID format, for
example,
.1.3.6.1.2.1.1
(this is the OID string of the system subtree).
Examples
• Delete the viewName with OID string
.1
:
CONTROLLER>
snmp delete view
viewName
.1
• Delete the viewName with OID string
sysUpTime.0
:
CONTROLLER>
snmp delete view
viewName
sysUpTime.0
snmp show access
Use the
snmp show access
command to list VACM Access Table group entries. The VACM Access Table is used to store
the access rights defined for groups.
Syntax
snmp show access
Parameters
This command has no arguments or keywords.
Example
Show group access rights information:
CONTROLLER>
snmp show access
Access number 0
group name : g1
Security Model : any
Security Level : auth
read view : readviewA
write view : writeviewA
notify view : notifyviewA
Access number 1
group name : groupNameB
Security Model : usm
Security Level : priv
read view : readviewB
write view : writeviewB
notify view : notifyviewB
...