vlanTrunkPortDynamicState

CISCO-VTP-MIB · ciscosb variant · .1.3.6.1.4.1.9.9.46.1.6.1.1.13

Object

column r/w Enumeration
For devices that allows dynamic determination of whether
a link between two switches should be a trunk or not, this object
allows the operator to mandate the behavior of that dynamic
mechanism.
              
on(1) dictates that the interface will always be a
trunk. This is the value for static entries (those that
show no dynamic behavior). If the negotiation is supported on this
port, negotiation will take place with the far end to attempt
to bring the far end into trunking state.
              
off(2) allows an operator to specify that the specified
interface is never to be trunk, regardless of any dynamic
mechanisms to the contrary.  This value is useful for
overriding the default behavior of some switches. If the
negotiation is supported on this port, negotiation will take place
with the far end to attempt on the link to bring the far end into
non-trunking state.
              
desirable(3) is used to indicate that it is desirable for
the interface to become a trunk.  The device will initiate
any negotiation necessary to become a trunk but will not
become a trunk unless it receives confirmation from the far
end on the link.
              
auto(4) is used to indicate that the interface is capable
and willing to become a trunk but will not initiate
trunking negotiations.  The far end on the link are
required to either start negotiations or start sending
encapsulated packets, on which event the specified
interface will become a trunk.
              
onNoNegotiate(5) is used to indicate that the interface is permanent
ly
set to be a trunk, and no negotiation takes place with the
far end on the link to ensure consistent operation. This is similar
to on(1) except no negotiation takes place with the far end.
              
If the port does not support negotiation or its
vlanTrunkPortEncapsulationType is set to negotiate(5),
onNoNegotiate(5) is not allowed.
              
Devices that do no support dynamic determination (for just
a particular interface, encapsulation or for the whole
device) need only support the 'on', and 'off' values.

Context

MIB
CISCO-VTP-MIB
OID
.1.3.6.1.4.1.9.9.46.1.6.1.1.13
Type
column
Access
readwrite
Status
current
Parent
vlanTrunkPortEntry
Groups
1

Walk 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/ciscosb:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'CISCO-VTP-MIB::vlanTrunkPortDynamicState'
More examples
Read one indexed instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'CISCO-VTP-MIB' -M '/opt/observium/mibs/ciscosb:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'CISCO-VTP-MIB::vlanTrunkPortDynamicState.<vlanTrunkPortIfIndex>'
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'CISCO-VTP-MIB' -M '/opt/observium/mibs/ciscosb:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'CISCO-VTP-MIB::vlanTrunkPortDynamicState'

Syntax

Enumeration

Values & Constraints

Enumerated Values
1on
2off
3desirable
4auto
5onNoNegotiate

Conformance