juniEthernetSubIfId
Juniper-ETHERNET-MIB ·
.1.3.6.1.4.1.4874.2.2.34.1.2.2.1.4
Object
column r/w
Integer32
An integer identifier for the Ethernet subinterface, used in
conjunction with the command-line interface. It is provided here for
cross-reference purposes only.
The value must be unique among subinterfaces configured on the same
underlying Ethernet interface.
If this object is not configured, or is configured with a value of -1, a
nonzero value will be allocated internally and can be retrieved from
this object after table entry creation has succeeded.
A value of zero for this object is reserved for future use.
Context
- MIB
- Juniper-ETHERNET-MIB
- OID
.1.3.6.1.4.1.4874.2.2.34.1.2.2.1.4- Type
- column
- Access
- readwrite
- Status
- current
- Parent
- juniEthernetSubIfEntry
- Groups
- 1
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 'Juniper-ETHERNET-MIB' -M '/opt/observium/mibs/junose:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'Juniper-ETHERNET-MIB::juniEthernetSubIfId'
More examples
Read one indexed instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'Juniper-ETHERNET-MIB' -M '/opt/observium/mibs/junose:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'Juniper-ETHERNET-MIB::juniEthernetSubIfId.<juniEthernetSubIfIndex>'
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'Juniper-ETHERNET-MIB' -M '/opt/observium/mibs/junose:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'Juniper-ETHERNET-MIB::juniEthernetSubIfId'
Syntax
Integer32
Values & Constraints
Object Constraints
range: -1-2147483647
Conformance
Member of