dot1dSrPortLocalSegment

SOURCE-ROUTING-MIB · .1.3.6.1.2.1.17.3.1.1.3

Object

column mandatory r/w Integer32
The segment number that uniquely identifies the
segment to which this port is connected. Current
source routing protocols limit this value to the
range: 0 through 4095. (The value 0 is used by
some management applications for special test
cases.) A value of 65535 signifies that no segment
number is assigned to this port.

Context

MIB
SOURCE-ROUTING-MIB
OID
.1.3.6.1.2.1.17.3.1.1.3
Type
column
Access
readwrite
Status
mandatory
Parent
dot1dSrPortEntry

Walk 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 'SOURCE-ROUTING-MIB' -M '/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'SOURCE-ROUTING-MIB::dot1dSrPortLocalSegment'
More examples
Read one indexed instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'SOURCE-ROUTING-MIB' -M '/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'SOURCE-ROUTING-MIB::dot1dSrPortLocalSegment.<dot1dSrPort>'
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'SOURCE-ROUTING-MIB' -M '/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'SOURCE-ROUTING-MIB::dot1dSrPortLocalSegment'

Syntax

Source
SNMPv2-SMIInteger32
Base type
Integer32

Values & Constraints

Type Constraints
range: -2147483648..2147483647