CISCO-PRIVATE-VLAN-MIB :: cpvlanTrunkPortEncapType

MIB Reference — IPNetwork Monitor · Updated September 14, 2026

All MIBsCISCO-PRIVATE-VLAN-MIBcpvlanTrunkPortEncapType

cpvlanTrunkPortEncapType

Module: CISCO-PRIVATE-VLAN-MIB

OID (symbolic): CISCO-PRIVATE-VLAN-MIB::cpvlanTrunkPortEncapType

OID (numeric): 1.3.6.1.4.1.9.9.173.1.2.4.1.2

Node type: OBJECT-TYPE

Type: INTEGER

Access: read-write

Description: 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)

What is cpvlanTrunkPortEncapType?

Configures the VLAN tagging/encapsulation type (e.g., 802.1Q) used on a Private VLAN trunk port, or lets it be negotiated automatically.

Examples

Walk all instances (SNMPv2c):

snmpwalk -v2c -c public <target> 1.3.6.1.4.1.9.9.173.1.2.4.1.2
snmpwalk -v2c -c public <target> CISCO-PRIVATE-VLAN-MIB::cpvlanTrunkPortEncapType

Get a specific instance (index 1):

snmpget -v2c -c public <target> 1.3.6.1.4.1.9.9.173.1.2.4.1.2.1
snmpget -v2c -c public <target> CISCO-PRIVATE-VLAN-MIB::cpvlanTrunkPortEncapType.1

Set instance 1 (SNMPv2c):

snmpset -v2c -c private <target> 1.3.6.1.4.1.9.9.173.1.2.4.1.2.1 i <value>

Start monitoring Cisco Catalyst/Nexus switches (Private VLAN) with a free 30-day trial of IPNetwork Monitor. Create custom SNMP monitor using the CISCO-PRIVATE-VLAN-MIB::cpvlanTrunkPortEncapType OID value, configure state conditions and alerts, and monitor any Cisco Catalyst/Nexus switches (Private VLAN) from a single console.

OID Breakdown

Upper-level ancestors (8 from the standard OID tree / other modules)
Numeric OIDNameModule
1isoLANART-AGENT
1.3orgAirPair-MIB
1.3.6dodAirPair-MIB
1.3.6.1internetAirPair-MIB
1.3.6.1.4privateAirPair-MIB
1.3.6.1.4.1enterprisesAirPair-MIB
1.3.6.1.4.1.9ciscoCAT2600-MIB
1.3.6.1.4.1.9.9ciscoMgmtCISCO-SMI
Numeric OIDNameModule
1.3.6.1.4.1.9.9.173ciscoPrivateVlanMIBCISCO-PRIVATE-VLAN-MIB
1.3.6.1.4.1.9.9.173.1cpvlanMIBObjectsCISCO-PRIVATE-VLAN-MIB
1.3.6.1.4.1.9.9.173.1.2cpvlanPortObjectsCISCO-PRIVATE-VLAN-MIB
1.3.6.1.4.1.9.9.173.1.2.4cpvlanTrunkPortTableCISCO-PRIVATE-VLAN-MIB
1.3.6.1.4.1.9.9.173.1.2.4.1cpvlanTrunkPortEntryCISCO-PRIVATE-VLAN-MIB
1.3.6.1.4.1.9.9.173.1.2.4.1.2cpvlanTrunkPortEncapTypeCISCO-PRIVATE-VLAN-MIB