vtpDiscoverAction
CISCO-VTP-MIB ·
.1.3.6.1.4.1.9.9.46.1.7.1.1.1
Object
column r/w
Enumeration
When this object is set to discover(1), all the
entries in vtpDiscoverResultTable for the
corresponding management domain will be removed
and the local device will begin to discover all
VTP members in the management domain. Upon the
successful completion of discovery, the discovered
result will be stored in the vtpDiscoverResultTable.
If vtpDiscoverStatus is inProgress(1), setting
vtpDiscoverAction to discover(1) will fail.
When this object is set to purgeResult(3),
all the entries of vtpDiscoverResultTable for
the corresponding management domain will be
removed from vtpDiscoverResultTable.
When this object is set to noOperation(2), no
action will be taken. When read, this object
always returns noOperation(2).
Context
- MIB
- CISCO-VTP-MIB
- OID
.1.3.6.1.4.1.9.9.46.1.7.1.1.1- Type
- column
- Access
- readwrite
- Status
- current
- Parent
- vtpDiscoverEntry
- Groups
- 1
Net-SNMP examples
How SNMP and these commands workWalk the column to discover its indexed instances, or supply every index to read one instance.
Walk the column
/usr/bin/snmpbulkwalk -v2c -c '<community>' -Pud -Ir -OQUs -m 'CISCO-VTP-MIB' -M '/opt/observium/mibs/cisco:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'CISCO-VTP-MIB::vtpDiscoverAction'
More examples
Read one indexed instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'CISCO-VTP-MIB' -M '/opt/observium/mibs/cisco:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'CISCO-VTP-MIB::vtpDiscoverAction.<managementDomainIndex>'
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'CISCO-VTP-MIB' -M '/opt/observium/mibs/cisco:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'CISCO-VTP-MIB::vtpDiscoverAction'
Syntax
Enumeration
Values & Constraints
Enumerated Values
1 | discover |
2 | noOperation |
3 | purgeResult |
Conformance
Member of
Compliance refinements
vtpMIBCompliance14
readonly
Write access is not required.
vtpMIBCompliance15
readonly
Write access is not required.
vtpMIBCompliance16
readonly
Write access is not required.