ve-group

Function

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.

Format

ve-group ve-group-id { l2-terminate | l3-access }

undo ve-group

Parameters

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.

Views

Global VE interface view, VE interface view

Default Level

2: Configuration level

Task Name and Operations

Task Name Operations
forwarding write

Usage Guidelines

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.

Example

# Configure VE 0/1/1 as an l3-access VE interface.
<HUAWEI> system-view
[~HUAWEI] interface virtual-ethernet 0/1/1
[~HUAWEI-Virtual-Ethernet0/1/1] ve-group 1 l3-access
# Configure VE 0/1/1 as an l3-access VE interface.
<HUAWEI> system-view
[~HUAWEI] interface virtual-ethernet 0/1/1
[~HUAWEI-Virtual-Ethernet0/1/1] ve-group 1 l3-access
# Configure VE 0/1/0 as an l2-terminate VE interface.
<HUAWEI> system-view
[~HUAWEI] interface virtual-ethernet 0/1/0
[~HUAWEI-Virtual-Ethernet0/1/0] ve-group 1 l2-terminate
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >