ipEncap
SWITCH-CHASSIS-MIB ·
.1.3.6.1.4.1.207.8.9.1.1.3.4
Object
scalar obsolete
r/w
Enumeration
The type of IP datagram encapsulation that the device will use after a restart: Ethernet or IEEE802.2. The active type of IP datagram encapsulation can be determined by examining the appropriate instance of the ifType attribute of the MIB-II interfaces table entry for the device's Ethernet interface. If the value of that instance of ifType is ethernet-csmacd(6), then the active type of IP datagram encapsulation is Ethernet; if the value of that instance of ifType is iso88023-csmacd(7), then the active type of IP datagram encapsulation is IEEE802.2.
Context
- MIB
- SWITCH-CHASSIS-MIB
- OID
.1.3.6.1.4.1.207.8.9.1.1.3.4- Type
- scalar
- Access
- readwrite
- Status
- obsolete
- Parent
- ipParams
Net-SNMP examples
How SNMP and these commands workScalars have one instance, identified by the .0 suffix.
Read the scalar instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'SWITCH-CHASSIS-MIB' -M '/opt/observium/mibs/allied-old:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'SWITCH-CHASSIS-MIB::ipEncap.0'
More examples
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'SWITCH-CHASSIS-MIB' -M '/opt/observium/mibs/allied-old:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'SWITCH-CHASSIS-MIB::ipEncap'
Syntax
Enumeration
Values & Constraints
Enumerated Values
1 | ethernet |
2 | ieee8022 |