All MIBs › ETH-SWITCH-MIB › portIfSpeedAndDuplex
portIfSpeedAndDuplex
Module: ETH-SWITCH-MIB
OID (symbolic): ETH-SWITCH-MIB::portIfSpeedAndDuplex
OID (numeric): 1.3.6.1.4.1.208.39.3.3.1.10
Node type: OBJECT-TYPE
Type: OCTET STRING
Access: read-write
Description: This object is used to configure the speed and duplex mode for a port.
Byte 1: negotiation manual(0) autoDisable(1) autoAlternative(2) Byte 2: speed auto(1) 10(2) 100(3) 155(4) Byte 3: alternativeSpeed unused(0) (read-only) Byte 4: duplexMode auto(1) half(2) full(3) Byte 5: alternativeDuplexMode unused(0) (read-only) half(2) full(3)
Explanation of the different negotiation:
Manual: The port does not support auto detect of speed and duplex which means that only fixed values are legal.
AutoDisable: The port supports auto negotiation and if the connected port does not except the suggested values the port will be disabled.
AutoAlternative: The port supports auto negotiation and if the connected port does not except the suggested values the port will be set to some alternative values.
What is portIfSpeedAndDuplex?
Packs the port's speed-and-duplex configuration into a 5-byte structure: byte 1 selects the negotiation strategy (manual, auto-disable, or auto-alternative), byte 2 the requested speed, byte 4 the requested duplex mode, with bytes 3 and 5 holding read-only fallback values the port actually settled on. Admins write this object to force a specific speed/duplex combination or to control how the port falls back if its link partner will not accept the requested settings.
Examples
Walk all instances (SNMPv2c):
snmpwalk -v2c -c public <target> 1.3.6.1.4.1.208.39.3.3.1.10 snmpwalk -v2c -c public <target> ETH-SWITCH-MIB::portIfSpeedAndDuplex
Get a specific instance (index 1):
snmpget -v2c -c public <target> 1.3.6.1.4.1.208.39.3.3.1.10.1 snmpget -v2c -c public <target> ETH-SWITCH-MIB::portIfSpeedAndDuplex.1
Set instance 1 (SNMPv2c):
snmpset -v2c -c private <target> 1.3.6.1.4.1.208.39.3.3.1.10.1 s <value>
Start monitoring Ethernet switch with port/VLAN management (vendor not confirmed) with a free 30-day trial of IPNetwork Monitor. Create custom SNMP monitor using the ETH-SWITCH-MIB::portIfSpeedAndDuplex OID value, configure state conditions and alerts, and monitor any Ethernet switch with port/VLAN management (vendor not confirmed) from a single console.
OID Breakdown
Upper-level ancestors (7 from the standard OID tree / other modules)
| Numeric OID | Name | Module |
|---|---|---|
| 1 | iso | LANART-AGENT |
| 1.3 | org | AirPair-MIB |
| 1.3.6 | dod | AirPair-MIB |
| 1.3.6.1 | internet | AirPair-MIB |
| 1.3.6.1.4 | private | AirPair-MIB |
| 1.3.6.1.4.1 | enterprises | AirPair-MIB |
| 1.3.6.1.4.1.208 | scanet | SCANET-MIB |
| Numeric OID | Name | Module |
|---|---|---|
| 1.3.6.1.4.1.208.39 | ethSwitch | ETH-SWITCH-MIB |
| 1.3.6.1.4.1.208.39.3 | ports | ETH-SWITCH-MIB |
| 1.3.6.1.4.1.208.39.3.3 | portIfTable | ETH-SWITCH-MIB |
| 1.3.6.1.4.1.208.39.3.3.1 | portIfEntry | ETH-SWITCH-MIB |
| 1.3.6.1.4.1.208.39.3.3.1.10 | portIfSpeedAndDuplex | ETH-SWITCH-MIB |