All MIBs › CISCO-VTP-MIB › vtpAuthPasswordType
vtpAuthPasswordType
Module: CISCO-VTP-MIB
OID (symbolic): CISCO-VTP-MIB::vtpAuthPasswordType
OID (numeric): 1.3.6.1.4.1.9.9.46.1.9.1.1.2
Node type: OBJECT-TYPE
Type: INTEGER
Access: read-write
Description: By default this object has the value as plaintext(1) and the VTP password is stored in the configuration file in plain text.
Setting this object to hidden(2) will hide the password from the configuration.
Once this object is set to hidden(2), it cannot be set to plaintext(1) alone. However, it may be set to plaintext(1) at the same time the password is set.
What is vtpAuthPasswordType?
This read-write enumeration controls whether the configured VTP password is stored in the device's configuration file as plaintext(1), the default, or hidden(2) so it does not appear in cleartext. An admin concerned about exposing the VTP domain password in configuration backups or "show running-config" output would set this to hidden(2), though the MIB notes it can't be switched back to plaintext(1) alone once hidden. For example, after setting vtpAuthPassword, an admin might immediately set this object to hidden(2) so the password never shows up in plaintext in the saved configuration.
Examples
Walk all instances (SNMPv2c):
snmpwalk -v2c -c public <target> 1.3.6.1.4.1.9.9.46.1.9.1.1.2 snmpwalk -v2c -c public <target> CISCO-VTP-MIB::vtpAuthPasswordType
Get a specific instance (index 1):
snmpget -v2c -c public <target> 1.3.6.1.4.1.9.9.46.1.9.1.1.2.1 snmpget -v2c -c public <target> CISCO-VTP-MIB::vtpAuthPasswordType.1
Set instance 1 (SNMPv2c):
snmpset -v2c -c private <target> 1.3.6.1.4.1.9.9.46.1.9.1.1.2.1 i <value>
Start monitoring Cisco Catalyst switches (VLAN Trunking Protocol) with a free 30-day trial of IPNetwork Monitor. Create custom SNMP monitor using the CISCO-VTP-MIB::vtpAuthPasswordType OID value, configure state conditions and alerts, and monitor any Cisco Catalyst switches (VLAN Trunking Protocol) from a single console.
OID Breakdown
Upper-level ancestors (8 from the standard OID tree / other modules)
| Numeric OID | Name | Module |
|---|---|---|
| 1 | iso | LANART-AGENT |
| 1.3 | org | AirPair-MIB |
| 1.3.6 | dod | AirPair-MIB |
| 1.3.6.1 | internet | AirPair-MIB |
| 1.3.6.1.4 | private | AirPair-MIB |
| 1.3.6.1.4.1 | enterprises | AirPair-MIB |
| 1.3.6.1.4.1.9 | cisco | CAT2600-MIB |
| 1.3.6.1.4.1.9.9 | ciscoMgmt | CISCO-SMI |
| Numeric OID | Name | Module |
|---|---|---|
| 1.3.6.1.4.1.9.9.46 | ciscoVtpMIB | CISCO-VTP-MIB |
| 1.3.6.1.4.1.9.9.46.1 | vtpMIBObjects | CISCO-VTP-MIB |
| 1.3.6.1.4.1.9.9.46.1.9 | vtpAuthentication | CISCO-VTP-MIB |
| 1.3.6.1.4.1.9.9.46.1.9.1 | vtpAuthenticationTable | CISCO-VTP-MIB |
| 1.3.6.1.4.1.9.9.46.1.9.1.1 | vtpAuthEntry | CISCO-VTP-MIB |
| 1.3.6.1.4.1.9.9.46.1.9.1.1.2 | vtpAuthPasswordType | CISCO-VTP-MIB |