How to configure a Layer 2 interface as a Layer 3 interface on a switch

By default, Ethernet interfaces on switches work as Layer 2 interfaces.Run the undo portswitch command to configure the Ethernet interfaces as Layer 3 interfaces.

For switches in V200R003C00 and earlier versions:
Only Layer 2 Ethernet interfaces on the S5700HI, S5710EI, and S5710HI can be configured as Layer 3 interfaces.
After an Ethernet interface is configured as a Layer 3 interface, the interface cannot be configured with an IP address.
For switches in V200R005C00 and later versions:
Only Layer 2 Ethernet interfaces on the S5700HI, S5710EI, S5710HI, S5700EI, S5720EI, S5720HI, S6700EI, and S6720EI can be configured as Layer 3 interfaces.
After an Ethernet interface is configured as a Layer 3 interface, the interface can be configured with an IP address.

Scroll to top