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

view

snmp view—Define an SNMP MIB view.

vManage Feature Template

For all Viptela devices:

Configuration ► Templates ► SNMP

Command Hierarchy

snmp
  view string
    oid oid-subtree [exclude]

Options

Include or Exclude a Subtree of MIB Objects
exclude
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

Example

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

Viptela# show running-config snmp
snmp
 no shutdown
 view v2
  oid 1.3.6.1
 !
 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 1.3.6.1.4.1.41916

Configure a MIB view for system status:

Viptela(config)# show config
snmp
 view status
  oid 1.3.6.1.2.1.2.2.2.1.8
 !
!

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?