HH3C-LswINF-MIB :: hh3cifEthernetMdi

MIB Reference — IPNetwork Monitor · Updated September 21, 2026

All MIBs › HH3C-LswINF-MIB › hh3cifEthernetMdi

hh3cifEthernetMdi

Module: HH3C-LswINF-MIB

OID (symbolic): HH3C-LswINF-MIB::hh3cifEthernetMdi

OID (numeric): 1.3.6.1.4.1.25506.8.35.5.1.4.1.7

Node type: OBJECT-TYPE

Type: INTEGER

Access: read-write

Description: Type of the line connected to the port. MDI-II (straight-through cable): 1 MDI-X (crossover cable): 2 MDI-AUTO (auto-sensing): 3

What is hh3cifEthernetMdi?

Sets the cable-crossover mode for the port: mdi-ii(1) for straight-through cable, mdi-x(2) for crossover cable, or mdi-auto(3) for auto-sensing. Use mdi-auto in most cases so you don't have to worry about straight versus crossover cabling; set it manually only when troubleshooting a link that won't come up.

Examples

Walk all instances (SNMPv2c):

snmpwalk -v2c -c public <target> 1.3.6.1.4.1.25506.8.35.5.1.4.1.7
snmpwalk -v2c -c public <target> HH3C-LswINF-MIB::hh3cifEthernetMdi

Get a specific instance (index 1):

snmpget -v2c -c public <target> 1.3.6.1.4.1.25506.8.35.5.1.4.1.7.1
snmpget -v2c -c public <target> HH3C-LswINF-MIB::hh3cifEthernetMdi.1

Set instance 1 (SNMPv2c):

snmpset -v2c -c private <target> 1.3.6.1.4.1.25506.8.35.5.1.4.1.7.1 i <value>

Start monitoring H3C managed switch (extended per-port interface attributes/storm suppression) with a free 30-day trial of IPNetwork Monitor. Create custom SNMP monitor using the HH3C-LswINF-MIB::hh3cifEthernetMdi OID value, configure state conditions and alerts, and monitor any H3C managed switch (extended per-port interface attributes/storm suppression) from a single console.

OID Breakdown

Upper-level ancestors (9 from the standard OID tree / other modules)
Numeric OIDNameModule
1isoLANART-AGENT
1.3orgAirPair-MIB
1.3.6dodAirPair-MIB
1.3.6.1internetAirPair-MIB
1.3.6.1.4privateAirPair-MIB
1.3.6.1.4.1enterprisesAirPair-MIB
1.3.6.1.4.1.25506hh3cHH3C-OID-MIB
1.3.6.1.4.1.25506.8hh3cRhwHH3C-OID-MIB
1.3.6.1.4.1.25506.8.35hh3clswCommonHH3C-OID-MIB
Numeric OIDNameModule
1.3.6.1.4.1.25506.8.35.5hh3cLswL2InfMibHH3C-LswINF-MIB
1.3.6.1.4.1.25506.8.35.5.1hh3cLswL2InfMibObjectHH3C-LswINF-MIB
1.3.6.1.4.1.25506.8.35.5.1.4hh3cethernetTableHH3C-LswINF-MIB
1.3.6.1.4.1.25506.8.35.5.1.4.1hh3cethernetEntryHH3C-LswINF-MIB
1.3.6.1.4.1.25506.8.35.5.1.4.1.7hh3cifEthernetMdiHH3C-LswINF-MIB