tRingPortRingPortMediaSelect
DOT5-LOG-MIB ·
.1.3.6.1.4.1.52.4.1.2.1.1.3.3.1.1.4
Object
column mandatory
r/w
Enumeration
When written, this object allows for the selection of the media type for this ring port. If the ring port is not selectable and an attempt is made to change the media type, a BADSETINFO error will be returned. When read, this object will return the last selection made unless it is unselectable, in which case noSelection is returned.
Context
- MIB
- DOT5-LOG-MIB
- OID
.1.3.6.1.4.1.52.4.1.2.1.1.3.3.1.1.4- Type
- column
- Access
- readwrite
- Status
- mandatory
- Parent
- tRingPortRingEntry
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 'DOT5-LOG-MIB' -M '/opt/observium/mibs/cabletron:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'DOT5-LOG-MIB::tRingPortRingPortMediaSelect'
More examples
Read one indexed instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'DOT5-LOG-MIB' -M '/opt/observium/mibs/cabletron:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'DOT5-LOG-MIB::tRingPortRingPortMediaSelect.<tRingPortRingPortId>.<tRingPortRingPortGrpId>'
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'DOT5-LOG-MIB' -M '/opt/observium/mibs/cabletron:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'DOT5-LOG-MIB::tRingPortRingPortMediaSelect'
Syntax
Enumeration
Values & Constraints
Enumerated Values
1 | noSelection |
2 | stp |
3 | fiber |