All MIBs › ETH-SWITCH-MIB › portIfSwitchMode
portIfSwitchMode
Module: ETH-SWITCH-MIB
OID (symbolic): ETH-SWITCH-MIB::portIfSwitchMode
OID (numeric): 1.3.6.1.4.1.208.39.3.3.1.4
Node type: OBJECT-TYPE
Type: INTEGER
Access: read-write
Description: Port Switch mode. If set to default(1) value from defaultSwitchMode is used.
What is portIfSwitchMode?
Sets this specific port's forwarding mode (cut-through, fragment-free, store-and-forward, or adaptive), or default(1) to inherit the switch-wide defaultSwitchMode value instead. Admins override this per port when one port needs different latency/error-checking behavior than the rest of the switch.
Examples
Walk all instances (SNMPv2c):
snmpwalk -v2c -c public <target> 1.3.6.1.4.1.208.39.3.3.1.4 snmpwalk -v2c -c public <target> ETH-SWITCH-MIB::portIfSwitchMode
Get a specific instance (index 1):
snmpget -v2c -c public <target> 1.3.6.1.4.1.208.39.3.3.1.4.1 snmpget -v2c -c public <target> ETH-SWITCH-MIB::portIfSwitchMode.1
Set instance 1 (SNMPv2c):
snmpset -v2c -c private <target> 1.3.6.1.4.1.208.39.3.3.1.4.1 i <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::portIfSwitchMode 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.4 | portIfSwitchMode | ETH-SWITCH-MIB |