dot1dSrPortTargetSegment
SOURCE-ROUTING-MIB ·
.1.3.6.1.2.1.17.3.1.1.5
Object
The segment number that corresponds to the target
segment this port is considered to be connected to
by the bridge. 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 target segment is assigned
to this port.
Context
- MIB
- SOURCE-ROUTING-MIB
- OID
.1.3.6.1.2.1.17.3.1.1.5- Type
- column
- Access
- readwrite
- Status
- mandatory
- Parent
- dot1dSrPortEntry
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 'SOURCE-ROUTING-MIB' -M '/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'SOURCE-ROUTING-MIB::dot1dSrPortTargetSegment'
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::dot1dSrPortTargetSegment.<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::dot1dSrPortTargetSegment'
Syntax
- Source
- SNMPv2-SMIInteger32
- Base type
Integer32
Values & Constraints
Type Constraints
range: -2147483648..2147483647