interface ve

Configures a virtual Ethernet (VE) interface.

Syntax

interface ve vlan_id
no interface ve vlan_id

Parameters

vlan_id
Specifies the corresponding VLAN that must already be created before the VE interface can be created. Refer to the Usage Guidelines. Separate multiple IDs with a comma. Use a hyphen (-) to indicate a range of IDs. For example, 1-3,5,7-9.

Modes

Global configuration mode

Usage Guidelines

Before you can configure a VE interface, you must create a corresponding VLAN. The VE interface must use the corresponding VLAN ID.

All interfaces in a range must use the same speed.

Use the no form of this command to remove a specified VE interface.

Examples

This example creates a VE interface with the VLAN ID of 56. This example assumes that VLAN 56 has already been created.

device# configure terminal
device(config)# interface ve 56
device(config-Ve-56)# 
 

This example creates multiple VE interfaces.

device# configure terminal
device(config)# interface ve 1-3,5,7-9
device(config-Ve-1-3,5,7-9)# 
 

This example removes a VE interface.

device# configure terminal
device(config)# no interface ve 5
device#