Configure Basic Functions of L3 Ethernet Interface
According to the processing layer of the Ethernet interface for the packet, Ethernet interface can work in the L2 mode or L3 mode. If setting the work mode of the Ethernet interface as the L2 mode, it is used as one L2 Ethernet interface. If setting the work mode of the Ethernet interface as L3 mode, it is used as one L3 Ethernet interface and its role is equivalent to the VLAN interface.
Configuration Condition
No
Configure Layer 3 Ethernet Interface
Table 2-26 Configure L3 Ethernet interface
Step
|
Command
|
Description
|
Enter the global configuration mode
|
configure terminal
|
-
|
Enter the L2/L3 Ethernet interface configuration mode
|
interface interface-name
|
-
|
Configure the L3 Ethernet interface
|
no switchport
|
Mandatory
By default, Ethernet interface works in the L2 mode and is used as one L2 Ethernet interface.
|
![note](/storage/images/Document/Maipu/note-icon.jpg)
-
After the work mode of Ethernet interface switches, the other configurations of the Ethernet interface except for description, shutdown, speed, duplex, media-type, mdix, eee, all restore to the default configuration in the new mode.
- When the Ethernet interface serves as one L3 interface, for the configuration of the L3 Ethernet interface basic functions, refer to the configuration of VLAN interface basic functions.