provDot1qPortVlanPortType
IPE-COMMON-MIB ·
.1.3.6.1.4.1.119.2.3.69.501.5.20.10.1.3
Object
column r/w
Enumeration
VLAN Port Type. When the port is configured as 'tunnel' port, the object returns value as 'tunnel'. If trunk VLANs are assigned to the port, the object returns value as 'trunk'. Trunk VLANs and Access VLANs are assigned to the port, the value becomes 'trunkWithAccess'. If the port has only access vlan, the value becomes 'accessOnly'.
Context
- MIB
- IPE-COMMON-MIB
- OID
.1.3.6.1.4.1.119.2.3.69.501.5.20.10.1.3- Type
- column
- Access
- readwrite
- Status
- current
- Parent
- provDot1qPortVlanEntry
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 'IPE-COMMON-MIB' -M '/opt/observium/mibs/nec:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'IPE-COMMON-MIB::provDot1qPortVlanPortType'
More examples
Read one indexed instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'IPE-COMMON-MIB' -M '/opt/observium/mibs/nec:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'IPE-COMMON-MIB::provDot1qPortVlanPortType.<provDot1qPortVlanIfIndex>'
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'IPE-COMMON-MIB' -M '/opt/observium/mibs/nec:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'IPE-COMMON-MIB::provDot1qPortVlanPortType'
Syntax
Enumeration
Values & Constraints
No enumerated values or constraints recorded.