Generally, the NE80E/40E sets an Ethernet interface to an optical or electrical interface based on the interface module's type. If the NE80E/Huawei NE40E cannot identify an interface module, you need to manually set the interface to the optical or electrical mode.
Run:
system-view
The system view is displayed.
Run:
interface { ethernet | gigabitethernet } interface-number
The Ethernet interface view is displayed.
Run:
port-type { copper | fiber-100 | fiber-1000 }
The interface type is set.
NOTE:
When an SFP module is being replaced, the configurations such as the loopback test, interface speed, auto-negotiation mode, and duplex mode on the interface are all restored to default ones. You need to reconfigure them on the interface.
After the port-type command is run, the configurations such as the loopback test, interface speed, auto-negotiation mode, and duplex mode on the interface are all restored to default ones. You need to reconfigure them on the interface.
The parameter copper can be configured NE40E-X3 in the port-type command only when an optical/electrical SFP module is installed.