Skip to main content

10.3.15 Setting VACM Management Information


10.3.15 Setting VACM Management Information
VACM management information consists of settings for SNMPv3. Set the following:
  1. - Registering/Deleting a user in an access control group
  2. - Creating/Deleting a MIB access control view
  3. - Assigning a MIB access control view to a group
  4. - Deleting a group from all MIB access control views
The Read-Only view is assigned when an access control view is assigned to a group.
  1. Execute the showsnmpvacm command to display VACM management information.
XSCF> showsnmpvacm
Groups:
Groupname Username
--------- ----------------

xxxxx user1, user2
Views
View Subtree Mask Type
--------- ---------------- ------------ -------------------

all_view .1 ff include
Access
View Group
--------- ----------------

all_view xxxxx
  1. Execute the setsnmpvacm command to set VACM management information.
    The following example adds the access control group xxxxx to user yyyyy.
XSCF> setsnmpvacm creategroup -u yyyyy xxxxx
  1. The following example deletes user yyyyy from the access control group xxxxx.
XSCF> setsnmpvacm deletegroup -u yyyyy xxxxx
  1. The following example unconditionally creates a MIB access control view.
XSCF> setsnmpvacm createview -s .1 all_view
  1. The following example creates a MIB access control view by using an OID mask.
XSCF> setsnmpvacm createview -s .1.3.6.1.2.1 -m fe excl_view
  1. The following example deletes a MIB access control view.
XSCF> setsnmpvacm deleteview -s .1.3.6.1.2.1 excl_view
  1. The following example assigns a MIB access control view to the group xxxxx.
XSCF> setsnmpvacm createaccess -r all_view xxxxx
  1. The following example deletes group1 from all MIB access control views.
XSCF> setsnmpvacm deleteaccess group1
  1. Execute the showsnmpvacm command, and confirm the set VACM management information.
XSCF> showsnmpvacm