provDot1qPortAccessVid
IPE-COMMON-MIB ·
.1.3.6.1.4.1.119.2.3.69.501.5.20.10.1.5
Object
Access VLAN ID. When the 'provDot1qPortVlanPortType' is 'trunkWithAccess' or 'accessOnly', the object returns access VLAN ID. Otherwise the object returns '0'.
Context
- MIB
- IPE-COMMON-MIB
- OID
.1.3.6.1.4.1.119.2.3.69.501.5.20.10.1.5- 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::provDot1qPortAccessVid'
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::provDot1qPortAccessVid.<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::provDot1qPortAccessVid'
Syntax
- Source
- IpeVlanIndexOrZero
- Base type
Integer32
Values & Constraints
Type Constraints
range: 0..4094