topologyL2LinkRemotePort
SL-L2TOPOLOGY-MIB ·
smartoptics variant
·
.1.3.6.1.4.1.4515.1.3.10.1.1.1.6
Object
column Integer32
The port number of the remote node.
Context
- MIB
- SL-L2TOPOLOGY-MIB
- OID
.1.3.6.1.4.1.4515.1.3.10.1.1.1.6- Type
- column
- Access
- readonly
- Status
- current
- Parent
- topologyL2LinkEntry
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 'SL-L2TOPOLOGY-MIB' -M '/opt/observium/mibs/smartoptics:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'SL-L2TOPOLOGY-MIB::topologyL2LinkRemotePort'
More examples
Read one indexed instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'SL-L2TOPOLOGY-MIB' -M '/opt/observium/mibs/smartoptics:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'SL-L2TOPOLOGY-MIB::topologyL2LinkRemotePort.<topologyL2LinkLocalIp>.<topologyL2LinkLocalPort>'
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'SL-L2TOPOLOGY-MIB' -M '/opt/observium/mibs/smartoptics:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'SL-L2TOPOLOGY-MIB::topologyL2LinkRemotePort'
Syntax
- Source
- SNMPv2-SMIInteger32
- Base type
Integer32
Values & Constraints
Type Constraints
range: -2147483648..2147483647