vlanPortModeContextValue
HPE-vlan-MIB ·
.1.3.6.1.4.1.11.2.48.65.1.1
Object
Indicated port context value: 0. Lag 1. Monitor 2. L3 3. RAVA 4. Dot1x 5. Dot1q 6. Access 7. Trunk 8. Customer 9. PV_promisc 10. PV_host 11. VM_tunnel 12. VM_one_to_one
Context
- MIB
- HPE-vlan-MIB
- OID
.1.3.6.1.4.1.11.2.48.65.1.1- Type
- column
- Access
- readwrite
- Status
- current
- Parent
- vlanPortModeContextEntry
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 'HPE-vlan-MIB' -M '/opt/observium/mibs/hp:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'HPE-vlan-MIB::vlanPortModeContextValue'
More examples
Read one indexed instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'HPE-vlan-MIB' -M '/opt/observium/mibs/hp:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'HPE-vlan-MIB::vlanPortModeContextValue.<ifIndex>'
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'HPE-vlan-MIB' -M '/opt/observium/mibs/hp:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'HPE-vlan-MIB::vlanPortModeContextValue'
Syntax
- Source
- SNMPv2-SMIInteger32
- Base type
Integer32
Values & Constraints
Type Constraints
range: -2147483648..2147483647