2-550
Catalyst 6500 Series Switch Command Reference—Release7.6
78-15328-01
Chapter2 Catalyst 6500 Series Switch and ROM Monitor Commands
set snmp view
set snmp viewTo configure the SNMP MIB view, use the set snmp view command.
set snmp view [-hex]{viewname}{subtree}[mask] [included | excluded] [volatile | nonvolatile]
Syntax Description
Defaults The defaults are as follows:
•Storage type is volatile.
•Bit mask is NULL.
•MIB subtree is included.
Command Types Switch command.
Command Modes Privileged.
Usage Guidelines If you use special characters for viewname (nonprintable delimiters for this parameter), you must use a
hexadecimal keyword, which is one or two hexadecimal digits separated by a colon (:); for example,
00:ab:34.
A MIB subtree with a mask defines a view subtree. The MIB subtree can be in object identifier (OID)
format or a text name mapped to a valid OID.
-hex (Optional) Displays the viewname value in a hexadecimal format.
viewname Name of a MIB view.
subtree MIB subtree.
mask (Optional) Specifies that the bit mask is used with the subtree. A bit mask
can be all ones, all zeros, or any combination; the maximum length is 3
bytes.
included |
excluded (Optional) Specifies that the MIB subtree is included or excluded.
volatile (Optional) Specifies that the storage type is defined as temporary memory
and the content is deleted if the device is turned off.
nonvolatile (Optional) Specifies that the storage type is defined as persistent memory
and the content remains after the device is turned off and on again.