cpvlanTrunkPortDynamicState
CISCO-PRIVATE-VLAN-MIB ·
.1.3.6.1.4.1.9.9.173.1.2.4.1.1
Object
column r/w
Enumeration
For private VLAN trunk ports, this object allows the
operator to mandate the trunking behavior of the port
on(1) dictates that the private VLAN port will always be a
trunk. 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.
onNoNegotiate(2) is used to indicate that the interface is
permanently 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 a port does not support negotiation, the value of on(1)
is not allowed. If the port's cpvlanTrunkPortEncapType is
set to negotiate(3), onNoNegotiate(2) is not allowed.
Context
- MIB
- CISCO-PRIVATE-VLAN-MIB
- OID
.1.3.6.1.4.1.9.9.173.1.2.4.1.1- Type
- column
- Access
- readwrite
- Status
- current
- Parent
- cpvlanTrunkPortEntry
- 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-PRIVATE-VLAN-MIB' -M '/opt/observium/mibs/cisco:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'CISCO-PRIVATE-VLAN-MIB::cpvlanTrunkPortDynamicState'
More examples
Read one indexed instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'CISCO-PRIVATE-VLAN-MIB' -M '/opt/observium/mibs/cisco:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'CISCO-PRIVATE-VLAN-MIB::cpvlanTrunkPortDynamicState.<ifIndex>'
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'CISCO-PRIVATE-VLAN-MIB' -M '/opt/observium/mibs/cisco:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'CISCO-PRIVATE-VLAN-MIB::cpvlanTrunkPortDynamicState'
Syntax
Enumeration
Values & Constraints
Enumerated Values
1 | on |
2 | onNoNegotiate |
Conformance
Member of