dot1dSrPort
SOURCE-ROUTING-MIB ·
.1.3.6.1.2.1.17.3.1.1.1
Object
column mandatory
Integer32
The port number of the port for which this entry
contains Source Route management information.
Context
- MIB
- SOURCE-ROUTING-MIB
- OID
.1.3.6.1.2.1.17.3.1.1.1- Type
- column
- Access
- readonly
- 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::dot1dSrPort'
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::dot1dSrPort.<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::dot1dSrPort'
Syntax
Integer32
Values & Constraints
Object Constraints
range: 1-65535