wanInterfaceEntryIndex
CTRON-WAN-MIB ·
.1.3.6.1.4.1.52.4.1.2.7.1.1.4.1.3
Object
A unique value for each interface of this physical port. It is a value between 1 and the number of interfaces that exist for the current port. The number of interfaces for each type of port is: 24 for a port type (wanPhysPortType) of 't1', 30 for a port type of 'e1', and 1 for a port type of 'synchronous'. There will be no entries if the port type is 'none'.
Context
- MIB
- CTRON-WAN-MIB
- OID
.1.3.6.1.4.1.52.4.1.2.7.1.1.4.1.3- Type
- column
- Access
- readonly
- Status
- mandatory
- Parent
- wanInterfaceEntry
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 'CTRON-WAN-MIB' -M '/opt/observium/mibs/cabletron:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'CTRON-WAN-MIB::wanInterfaceEntryIndex'
More examples
Read one indexed instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'CTRON-WAN-MIB' -M '/opt/observium/mibs/cabletron:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'CTRON-WAN-MIB::wanInterfaceEntryIndex.<wanInterfaceConnectionIndex>.<wanInterfacePhysPortIndex>.<wanInterfaceEntryIndex>'
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'CTRON-WAN-MIB' -M '/opt/observium/mibs/cabletron:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'CTRON-WAN-MIB::wanInterfaceEntryIndex'
Syntax
- Source
- SNMPv2-SMIInteger32
- Base type
Integer32
Values & Constraints
Type Constraints
range: -2147483648..2147483647