jnxIfOtnOCh2PortMode
JUNIPER-IFOTN-MIB ·
.1.3.6.1.4.1.2636.3.70.1.2.1.1.13
Object
The Port Mode for this interface 0 - default (not applicable) 1 - lan 2 - wan 3 - gfp
Context
- MIB
- JUNIPER-IFOTN-MIB
- OID
.1.3.6.1.4.1.2636.3.70.1.2.1.1.13- Type
- column
- Access
- readonly
- Status
- obsolete
- Parent
- jnxIfOtnOCh2CfgEntry
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-IFOTN-MIB' -M '/opt/observium/mibs/juniper:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'JUNIPER-IFOTN-MIB::jnxIfOtnOCh2PortMode'
More examples
Read one indexed instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'JUNIPER-IFOTN-MIB' -M '/opt/observium/mibs/juniper:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'JUNIPER-IFOTN-MIB::jnxIfOtnOCh2PortMode.<jnxIfOtnOCh2CfgContainerIndex>.<jnxIfOtnOCh2CfgL1Index>.<jnxIfOtnOCh2CfgL2Index>.<jnxIfOtnOCh2CfgL3Index>.<jnxIfOtnOCh2CfgL4Index>'
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'JUNIPER-IFOTN-MIB' -M '/opt/observium/mibs/juniper:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'JUNIPER-IFOTN-MIB::jnxIfOtnOCh2PortMode'
Syntax
- Source
- SNMPv2-SMIUnsigned32
- Base type
Unsigned32
Values & Constraints
Type Constraints
range: 0..4294967295