osPortEthType2
OS-PORT-MIB ·
.1.3.6.1.4.1.6926.2.1.102.2
Object
scalar r/w
OctetString
define the second eth type 0x1-0xFFFF.
Context
- MIB
- OS-PORT-MIB
- OID
.1.3.6.1.4.1.6926.2.1.102.2- Type
- scalar
- Access
- readwrite
- Status
- current
- Parent
- osPortCoreEgressEth
- Groups
- 1
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 'OS-PORT-MIB' -M '/opt/observium/mibs/mrv:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'OS-PORT-MIB::osPortEthType2.0'
More examples
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'OS-PORT-MIB' -M '/opt/observium/mibs/mrv:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'OS-PORT-MIB::osPortEthType2'
Syntax
OctetString
Values & Constraints
Object Constraints
range: 2-2
Conformance
Member of