38 SPARC Enterprise Mx000 Servers Administration Guide • April 2007
▼ To Create a VACM Group
1. Log in to the XSCF console with platadm privileges.
2. Type the setsnmpvacm command:
where
username is a valid user name known to the SNMP agent, and groupname is the
name of the group to create for the specified user for view access.
3. To verify the operation, type the showsnmpvacm command.
▼ To Create a VACM View
1. Log in to the XSCF console with platadm privileges.
2. Type the setsnmpvacm command:
where
OID_subtree is the MIB OID subtree for the view (values start at .1 for the
entire MIB tree, and can be limited to certain portions of the tree by using the
optional
OID_Mask), and viewname is the name of the view to create for the SNMP
agent exported MIB information. View access is read-only for the agent.
3. To verify the operation, type the showsnmpvacm command.
▼ To Give a VACM Group Access to a VACM View
1. Log in to the XSCF console with platadm privileges.
2. Type the setsnmpvacm command:
where
viewname is a valid SNMP agent view, and groupname is a valid SNMP agent
group name.
3. To verify the operation, type the showsnmpvacm command.
XSCF> setsnmpvacm creategroup -u username groupname
XSCF>
setsnmpvacm createview -s OID_subtree [-m OID_Mask] viewname
XSCF>
setsnmpvacm createaccess -r viewname groupname