MNS-BB
Software User Guide
-45-
Syntax
:
group <add|delete> id=<id> [groupname=<name>] [model=<v1|v2c|usm>]
[com2secid=<com2sec-id>]
This command is part of the VACM. This directive defines the mapping from sec model/sec name to
group. A sec model is one of v1, v2c, or usm. User can specify up to 10 entries.
LE2425A(snmpv3)##
group add id=1 groupname=v1 model=v1 com2secid=1
Entry is added successfully
Syntax
:
show-group
[id=<id>]
This command shows all or specific group entries.
id – [optional] this is the entry number and when specified, this shows a specific entry.
LE2425A(snmpv3)##
show-group
ID Group Name Sec. Model Com2Sec ID
======================================
1 v1 v1 1
2 -- -- --
3 -- -- --
4 -- -- --
5 -- -- --
6 -- -- --
7 -- -- --
8 -- -- --
9 -- -- --
10 -- -- --
LE2425A(snmpv3)##
show-group id=1
Group ID : 1
Group Name : v1
Model : v1
Com2Sec ID : 1
Syntax:
view <add|delete> id=<id> [viewname=<name>] [type=<included|excluded>]
[subtree=<oid>] [mask=<hex-string>]
This is part of the VACM commands. A view defines a manager or group or manager stations what it
can access inside the MIB object tree. A user can define up to 10 entries.
LE2425A(snmpv3)##
view add id=1 viewname=all type=included subtree=.1
Entry is added successfully
Syntax:
show-view
[id=<id>]
This command shows all or specific view entries.
LE2425A(snmpv3)##
show-view
ID View Name Type Subtree Mask
=============================================
1 all included .1 ff
2 -- -- -- --