juniSystemPortNumber
Juniper-System-MIB ·
.1.3.6.1.4.1.4874.2.2.2.1.4.1.1.1
Object
column Integer32
Port number of this physical port, relative to the slot in which it resides. Each physical port is uniquely distinguished by its slot number, slot level and port number. Port numbers are zero-based.
Context
- MIB
- Juniper-System-MIB
- OID
.1.3.6.1.4.1.4874.2.2.2.1.4.1.1.1- Type
- column
- Access
- noaccess
- Status
- current
- Parent
- juniSystemPortEntry
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-System-MIB' -M '/opt/observium/mibs/junose:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'Juniper-System-MIB::juniSystemPortNumber'
More examples
Read one indexed instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'Juniper-System-MIB' -M '/opt/observium/mibs/junose:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'Juniper-System-MIB::juniSystemPortNumber.<juniSystemSlotNumber>.<juniSystemSlotLevel>.<juniSystemPortNumber>'
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'Juniper-System-MIB' -M '/opt/observium/mibs/junose:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'Juniper-System-MIB::juniSystemPortNumber'
Syntax
Integer32
Values & Constraints
Object Constraints
range: 0-255