hpSwitchPortTaggedVlanMap2k
CONFIG-MIB ·
.1.3.6.1.4.1.11.2.14.11.5.1.7.1.3.1.1.27
Object
column mandatory
OctetString
A string of octets containing one bit per VLAN ID in the range 1025 through 2048. The first octet corresponds to VLAN IDs 1025 through 1032, the second octet to VLAN IDs 1033 through 1040, 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.27- 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::hpSwitchPortTaggedVlanMap2k'
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::hpSwitchPortTaggedVlanMap2k.<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::hpSwitchPortTaggedVlanMap2k'
Syntax
OctetString
Values & Constraints
Object Constraints
range: 0-128