Configuring a VE Interface
Context
You can use VE interfaces when other link layer protocols need to be carried by the Ethernet protocol.
Procedure
- Run system-view
The system view is displayed.
- Run interface virtual-ethernet ve-number
A VE interface is created and the VE interface view is displayed.
- Configure a VE interface based on actual requirements.
- Configure the VE interface to work in Layer 2 mode.
Run portswitch
The working mode of the VE interface is changed from Layer 3 mode to Layer 2 mode.
By default, a VE interface works in Layer 3 mode.
- Configure a VE sub-interface.
Run interface virtual-ethernet ve-number.subnumberA VE sub-interface is created and the VE sub-interface view is displayed.
- Configure the VE interface to work in Layer 2 mode.