cpvlanTrunkPortEncapType
CISCO-PRIVATE-VLAN-MIB ·
.1.3.6.1.4.1.9.9.173.1.2.4.1.2
Object
column r/w
Enumeration
The type of VLAN encapsulation desired to be used on this
private vlan trunk port.
It is either a particular type, or 'negotiate' meaning
whatever type results from the negotiation.
dot1Q(1) indicates that the port should accept and transmit
packets with IEEE 802.1q VLAN encapsulation
isl(2) indicates that the port should accept and transmit
packets with Inter Switch Link (ISL) VLAN encapsulation
negotiate(3) indicates that the VLAN encapsulation is
negotiated with the far end. The negotiated VLAN
encapsulation can be dot1Q or isl. negotiate(2) is not
allowed if the port does not support negotiation of
VLAN encapsulation type or if its
cpvlanTrunkPortDynamicState is set to onNoNegotiate(2)
Context
- MIB
- CISCO-PRIVATE-VLAN-MIB
- OID
.1.3.6.1.4.1.9.9.173.1.2.4.1.2- 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::cpvlanTrunkPortEncapType'
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::cpvlanTrunkPortEncapType.<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::cpvlanTrunkPortEncapType'
Syntax
Enumeration
Values & Constraints
Enumerated Values
1 | dot1Q |
2 | isl |
3 | negotiate |
Conformance
Member of
Compliance refinements
Values:
dot1Q(1)
Write access is not required and only one of the
3 enumerated values for the Private Trunk port
encapsulation types need to be supported,
specifically: dot1Q(1).
3 enumerated values for the Private Trunk port
encapsulation types need to be supported,
specifically: dot1Q(1).