vPortIfIndex
SWITCH-VLAN-MIB ·
allied-old variant
·
.1.3.6.1.4.1.207.8.9.2.5.2.4.1.1.13
Object
column IF-MIBInterfaceIndex
The value of ifIndex which corresponds to this virtual port.
Context
- MIB
- SWITCH-VLAN-MIB
- OID
.1.3.6.1.4.1.207.8.9.2.5.2.4.1.1.13- Type
- column
- Access
- readonly
- Status
- current
- Parent
- vPortEntry
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 'SWITCH-VLAN-MIB' -M '/opt/observium/mibs/allied-old:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'SWITCH-VLAN-MIB::vPortIfIndex'
More examples
Read one indexed instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'SWITCH-VLAN-MIB' -M '/opt/observium/mibs/allied-old:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'SWITCH-VLAN-MIB::vPortIfIndex.<vPortNumber>'
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'SWITCH-VLAN-MIB' -M '/opt/observium/mibs/allied-old:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'SWITCH-VLAN-MIB::vPortIfIndex'
Syntax
- Source
- IF-MIBInterfaceIndex
- Base type
Integer32- Display format
d
Type Description
A unique value, greater than zero, for each interface or interface sub-layer in the managed system. It is recommended that values are assigned contiguously starting from 1. The value for each interface sub-layer must remain constant at least from one re-initialization of the entity's network management system to the next re-initialization.
Values & Constraints
Object Constraints
range: 1-255
Type Constraints
range: 1..2147483647