HP (Hewlett-Packard) 445942-001 Switch User Manual


 
Configuration Commands
114
SNMPv3 View configuration
The following table describes the SNMPv3 View Configuration commands.
Table 85 SNMPv3 View Configuration commands
Command Description
snmp-server view <1-128> name
<1-32 characters>
Defines the name for a family of view subtrees up to a maximum of 32
characters.
Command mode: Global configuration
snmp-server view <1-128> tree
<1-64 characters>
Defines the Object Identifier (OID), a string which, when combined with
the corresponding mask, defines a family of view subtrees.
An example of an OID is 1.3.6.1.2.1.1.1.0.
Command mode: Global configuration
snmp-server view <1-128> mask
<1-32 characters>
Defines the bit mask, which in combination with the corresponding tree
defines a family of view subtrees. The mask can have a maximum of 32
characters.
Command mode: Global configuration
snmp-server view <1-128> type
{included|excluded}
Selects whether the corresponding instances of
vacmViewTreeFamilySubtree and vacmViewTreeFamilyMask
define a family of view subtrees, which is included in or excluded from
the MIB view.
Command mode: Global configuration
no snmp-server view <1-128>
Deletes the vacmViewTreeFamily group entry.
Command mode: Global configuration
show snmp-server view <1-128>
Displays the current vacmViewTreeFamily configuration.
Command mode: All
View-based Access Control Model configuration
The view-based Access Control Model defines a set of services that an application can use for checking
access rights of the user. Access control is needed when the user has to process SNMP retrieval or
modification request from an SNMP entity.
The following table describes the User Access Control Configuration commands.
Table 86 View-based Access Control Configuration commands
Command Description
snmp-server access <1-32> name
<1-32 characters>
Defines the name of the group, up to a maximum of 32 characters.
Command mode: Global configuration
snmp-server access <1-32>
security {usm|snmpv1|snmpv2}
Allows you to select the security model to be used.
Command mode: Global configuration