The ve-group command creates a VE-Group and binds a VE interface to the VE-Group.
The undo ve-group command restores the default configuration.
By default, a VE interface is not bound to a VE-Group.
Parameter | Description | Value |
---|---|---|
ve-group-id |
Specifies the ID of a VE-Group. |
The value is an integer that ranges from 1 to 8192. |
l2-terminate |
Indicates that a VE interface is used as a Layer 2 VE interface to terminate a VLL. |
- |
l3-access |
Indicates a Layer 3 VE interface. |
A VE interface is used as a Layer 3 VE interface to access an MPLS L3VPN service. |
Usage Scenario
By creating a VE-Group, you can implement L2VPN termination and L3VPN access or implement L3VPN termination and BRAS access on the same device.
Precautions
In an L3VPN accessing BRAS scenario, a VE-Group contains only one l3-access VE interface, and only Layer 3 user access can be configured on sub-interfaces of the l3-access VE interface.
<HUAWEI> system-view [~HUAWEI] interface virtual-ethernet 0/1/1 [~HUAWEI-Virtual-Ethernet0/1/1] ve-group 1 l3-access
<HUAWEI> system-view [~HUAWEI] interface virtual-ethernet 0/1/1 [~HUAWEI-Virtual-Ethernet0/1/1] ve-group 1 l3-access
<HUAWEI> system-view [~HUAWEI] interface virtual-ethernet 0/1/0 [~HUAWEI-Virtual-Ethernet0/1/0] ve-group 1 l2-terminate