Configuration Commands

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

Defines the name for a family of view subtrees up to a maximum of 32

<1-32 characters>

characters.

 

Command mode: Global configuration

 

 

snmp-server view <1-128> tree

Defines the Object Identifier (OID), a string which, when combined with

<1-64 characters>

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

Defines the bit mask, which in combination with the corresponding tree

<1-32 characters>

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

Selects whether the corresponding instances of

{includedexcluded}

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

Defines the name of the group, up to a maximum of 32 characters.

<1-32 characters>

Command mode: Global configuration

 

 

 

snmp-server access <1-32>

Allows you to select the security model to be used.

security {usmsnmpv1snmpv2}

Command mode: Global configuration

 

 

 

114