beautypg.com

FUJITSU SPARC M4000 User Manual

Page 139

background image

Chapter 2 Setting Up XSCF

2-83

1. Use the showsnmpvacm (8) 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

2. Use the setsnmpvacm (8) command to set VACM management information.

Add a user to an access control group xxxxx.

XSCF> setsnmpvacm creategroup -u yyyyy xxxxx

Delete a user from an access control group xxxxx.

XSCF> setsnmpvacm deletegroup -u yyyyy xxxxx

Create an MIB access control view without conditions.

XSCF> setsnmpvacm createview -s .1 all_view

Create an MIB access control view by using an OID mask.

XSCF> setsnmpvacm createview -s .1.3.6.1.2.1 -m fe excl_view

Delete an MIB access control view.

XSCF> setsnmpvacm deleteview -s .1.3.6.1.2.1 excl_view

Provide an MIB access control view to a group.

XSCF> setsnmpvacm createaccess -r all_view xxxxx

Delete a group from all MIB access control views.

XSCF> setsnmpvacm deleteaccess group1

3. Use the showsnmpvacm (8) command to confirm the settings.

XSCF> showsnmpvacm