Skip to main content
Viptela is now part of Cisco.
Product Documentation
Viptela Documentation


snmp view—Define an SNMP MIB view.

vManage Feature Template

For all Viptela devices:

Configuration ► Templates ► SNMP

Command Hierarchy

  view string
    oid oid-subtree [exclude]


Include or Exclude a Subtree of MIB Objects
If you omit the exclude option in the oid command, the subtree of MIB objects is included, or viewable, in the MIB view.
If you specify the exclude option, the subtree of MIB objects is excluded and hence is not viewable in the MIB view. For example, you might want to exclude MIB objects which could potentially reveal information about configure SNMP credentials (such as snmpUsmMIB, snmpVacmMIB, and snmpCommunityMIB).
Object Identifier
oid oid-subtree
Object identifier of a subtree of MIB objects. Specify the OID in Abstract Syntax Notation One (ASN.1) notation, as a sequence of dotted integers that identify the node of an SNMP tree. Use the asterisk wildcard (*) in any position of the OID subtree to match any value at that position rather than matching a specific type or name.
View Name
view string
Name of the view record you are creating. It can be a maximum of 32 characters. If the name includes spaces, enclose it in quotation marks (" ").

Operational Commands

show running-config snmp


Create a view of the Internet portion of the SNMP MIB:

Viptela# show running-config snmp
 no shutdown
 view v2
 community private
  view          v2
  authorization read-only

Create a view of the private portion of the Viptela MIB:

viptela(config-snmp)# view viptela-private oid

Configure a MIB view for system status:

Viptela(config)# show config
 view status

Release Information

Command introduced in Viptela Software Release 14.1.​
Wildcard for configuring OID subtree added in Release 16.2.

Additional Information

See the Configuring SNMP article for your software release.
OID Repository

  • Was this article helpful?