FUJITSU SPARC M4000 User Manual

Page 139

Advertising
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.

<Example 1> Add a user to an access control group xxxxx.

XSCF> setsnmpvacm creategroup -u yyyyy xxxxx

<Example 2> Delete a user from an access control group xxxxx.

XSCF> setsnmpvacm deletegroup -u yyyyy xxxxx

<Example 3> Create an MIB access control view without conditions.

XSCF> setsnmpvacm createview -s .1 all_view

<Example 4> 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

<Example 5> Delete an MIB access control view.

XSCF> setsnmpvacm deleteview -s .1.3.6.1.2.1 excl_view

<Example 6> Provide an MIB access control view to a group.

XSCF> setsnmpvacm createaccess -r all_view xxxxx

<Example 7> 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

Advertising