hpSwitchPortTaggedVlanMap1k
CONFIG-MIB ·
.1.3.6.1.4.1.11.2.14.11.5.1.7.1.3.1.1.26
Object
column mandatory
OctetString
A string of octets containing one bit per VLAN ID in the range 1 through 1024. The first octet corresponds to VLAN IDs 1 through 8, the second octet to VLAN IDs 9 through 16, etc. Within each octet, the most significant bit represents the lowest numbered VLAN ID, and the least significant bit represents the highest numbered VLAN ID. If a bit is set to 1, then the given port is tagged in the corresponding VLAN .
Context
- MIB
- CONFIG-MIB
- OID
.1.3.6.1.4.1.11.2.14.11.5.1.7.1.3.1.1.26- Type
- column
- Access
- readonly
- Status
- mandatory
- Parent
- hpSwitchPortEntry
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 'CONFIG-MIB' -M '/opt/observium/mibs/hp:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'CONFIG-MIB::hpSwitchPortTaggedVlanMap1k'
More examples
Read one indexed instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'CONFIG-MIB' -M '/opt/observium/mibs/hp:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'CONFIG-MIB::hpSwitchPortTaggedVlanMap1k.<hpSwitchPortIndex>'
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'CONFIG-MIB' -M '/opt/observium/mibs/hp:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'CONFIG-MIB::hpSwitchPortTaggedVlanMap1k'
Syntax
OctetString
Values & Constraints
Object Constraints
range: 0-128