< Home

interface virtual-ethernet

Function

The interface virtual-ethernet command displays the view of an existing virtual Ethernet (VE) interface, or creates a VE interface and displays the VE interface view.

The undo interface virtual-ethernet command deletes a VE interface.

By default, no VE interface is created.

Only the S5720-HI, S5730-HI, S5731-H, S5731-S, S5731S-H, S5731S-S, S5732-H, S6720-HI, S6730-H, S6730S-H, S6730-S, and S6730S-S support this command.

Format

interface virtual-ethernet ve-number[.subnumber ]

undo interface virtual-ethernet ve-number [.subnumber ]

Parameters

Parameter Description Value

ve-number

Specifies the number of a VE interface. The value is in the format of 0/0/sequence number.

The sequence number is an integer that ranges from 0 to 511.

subnumber

Specifies the number of a VE sub-interface.

The value is an integer that ranges from 1 to 1024.

Views

System view

Default Level

2: Configuration level

Usage Guidelines

A VE interface is a logical interface with Ethernet features on a switch. VE interfaces are mainly used in scenarios where Ethernet over GRE is configured or an L2VPN accesses to an L3VPN. You need to create a VE sub-interface when configuring an L2VPN to access to an L3VPN.

Example

# Create VE interface 0//0/1.

<HUAWEI> system-view
[HUAWEI] interface virtual-ethernet 0/0/1
[HUAWEI-Virtual-Ethernet0/0/1]

# Create VE sub-interface VE0/0/1.1.

<HUAWEI> system-view
[HUAWEI] interface virtual-ethernet 0/0/1
[HUAWEI-Virtual-Ethernet0/0/1] ve-group 1 l3-access
[HUAWEI-Virtual-Ethernet0/0/1] quit
[HUAWEI] interface virtual-ethernet 0/0/1.1
[HUAWEI-Virtual-Ethernet0/0/1.1]
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >