ospfPmIfSwitchEncoding

DC-OSPF-MIB · .1.2.826.0.1.1578918.5.62.1.1.21.1.5

Object

The type of encoding used on this interface.  Possible values are as
follows:
-  1       Packet
-  2       Ethernet
-  3       ANSI-ETSI-PDH
-  5       SDH-SONET
-  7       DIG-Wrapper
-  8       Lambda
-  9       Fiber
-  11      Fiber-Channel.

Context

MIB
DC-OSPF-MIB
OID
.1.2.826.0.1.1578918.5.62.1.1.21.1.5
Type
column
Access
noaccess
Status
current
Parent
ospfPmIfSwitchEntry

Walk 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 'DC-OSPF-MIB' -M '/opt/observium/mibs/versa:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'DC-OSPF-MIB::ospfPmIfSwitchEncoding'
More examples
Read one indexed instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'DC-OSPF-MIB' -M '/opt/observium/mibs/versa:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'DC-OSPF-MIB::ospfPmIfSwitchEncoding.<ospfPmIfSwitchApplIndex>.<ospfPmIfSwitchIpAddress>.<ospfPmIfSwitchAddressLessIf>.<ospfPmIfSwitchingCap>.<ospfPmIfSwitchEncoding>.<ospfPmIfSwitchISDIndex>'
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'DC-OSPF-MIB' -M '/opt/observium/mibs/versa:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'DC-OSPF-MIB::ospfPmIfSwitchEncoding'

Syntax

Values & Constraints

Type Values
1ifPacketCapable
2ifEthernetCapable
3ifAnsiEtsiPdhCapable
5ifSdhSonetCapable
7ifDigWrapperCapable
8ifLambdaCapable
9ifFiberCapable
11ifFiberChannelCapable