mgmdHostInterfaceIfIndex
MGMD-STD-MIB ·
.1.3.6.1.2.1.185.1.1.1.1
Object
column IF-MIBInterfaceIndex
The ifIndex value of the interface for which IGMP or MLD is enabled. The table is indexed by the ifIndex value and the InetAddressType to allow for interfaces that may be configured in both IPv4 and IPv6 modes.
Context
- MIB
- MGMD-STD-MIB
- OID
.1.3.6.1.2.1.185.1.1.1.1- Type
- column
- Access
- noaccess
- Status
- current
- Parent
- mgmdHostInterfaceEntry
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 'MGMD-STD-MIB' -M '/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'MGMD-STD-MIB::mgmdHostInterfaceIfIndex'
More examples
Read one indexed instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'MGMD-STD-MIB' -M '/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'MGMD-STD-MIB::mgmdHostInterfaceIfIndex.<mgmdHostInterfaceIfIndex>.<mgmdHostInterfaceQuerierType>'
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'MGMD-STD-MIB' -M '/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'MGMD-STD-MIB::mgmdHostInterfaceIfIndex'
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
Type Constraints
range: 1..2147483647