rcPortDuplexSpeedSet
SWITCH-SYSTEM-MIB ·
.1.3.6.1.4.1.8886.6.1.1.4.1.1.7
Object
column r/w
Enumeration
The desired speed and duplex for this interface. If the selected control is not possible on the interface, a value of illegal(99) is returned. If the port type does NOT support the default of autonegotiate(1), then the application initializes the port to a valid value (e.g., 1000full(6)). Note that not all controls are possible for all interfaces. For example, only full-1000(6) is available for Gigabit Ethernet interfaces.
Context
- MIB
- SWITCH-SYSTEM-MIB
- OID
.1.3.6.1.4.1.8886.6.1.1.4.1.1.7- Type
- column
- Access
- readwrite
- Status
- current
- Parent
- rcPortEntry
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 'SWITCH-SYSTEM-MIB' -M '/opt/observium/mibs/raisecom:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'SWITCH-SYSTEM-MIB::rcPortDuplexSpeedSet'
More examples
Read one indexed instance
/usr/bin/snmpget -v2c -c '<community>' -Pud -Ir -OQUv -m 'SWITCH-SYSTEM-MIB' -M '/opt/observium/mibs/raisecom:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'udp:<hostname>:161' 'SWITCH-SYSTEM-MIB::rcPortDuplexSpeedSet.<rcPortIndex>'
Translate to a numeric OID
/usr/bin/snmptranslate -Pud -Ir -On -m 'SWITCH-SYSTEM-MIB' -M '/opt/observium/mibs/raisecom:/opt/observium/mibs/rfc:/opt/observium/mibs/net-snmp' 'SWITCH-SYSTEM-MIB::rcPortDuplexSpeedSet'
Syntax
Enumeration
Values & Constraints
Enumerated Values
1 | autonegotiate |
2 | half-10 |
3 | full-10 |
4 | half-100 |
5 | full-100 |
6 | half-1000 |
7 | full-1000 |