portInfoVlanTag
IBM-GbTOR-G8264T-MIB ·
.1.3.6.1.4.1.20301.2.7.13.1.3.2.1.1.22
Object
column Enumeration
This is the operational VLAN tag state of the port. Typically, the value of this object is the same as the value of the agPortCurCfgVlanTag objec. But if, for example, 802.1x is enabled on the port and if the port is assigned a vlan via 802.1x, the port will be operationally untagged even when the port is configured to be tagged.
Context
- MIB
- IBM-GbTOR-G8264T-MIB
- OID
.1.3.6.1.4.1.20301.2.7.13.1.3.2.1.1.22- Type
- column
- Access
- readonly
- Status
- current
- Parent
- portInfoTableEntry
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 'IBM-GbTOR-G8264T-MIB' -M '/opt/observium/mibs/ibm:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'IBM-GbTOR-G8264T-MIB::portInfoVlanTag'
More examples
Read one indexed instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'IBM-GbTOR-G8264T-MIB' -M '/opt/observium/mibs/ibm:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'IBM-GbTOR-G8264T-MIB::portInfoVlanTag.<portInfoIndx>'
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'IBM-GbTOR-G8264T-MIB' -M '/opt/observium/mibs/ibm:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'IBM-GbTOR-G8264T-MIB::portInfoVlanTag'
Syntax
Enumeration
Values & Constraints
Enumerated Values
0 | untagged |
1 | tagged |