interface ve

Configures a virtual Ethernet (VE) interface.
Syntax
interface ve vlan-num
no interface ve vlan-num
Command Default

A virtual Ethernet interface is not configured.

Parameters
vlan-num
Specifies the corresponding VLAN interface that must already be configured before the VE interface can be created. Valid values are from 1 through 4095.
Modes

Global configuration mode

VLAN configuration mode

Usage Guidelines

A virtual interface is a logical port associated with a Layer 3 Virtual LAN (VLAN) configured on a Layer 3 switch. You can configure routing parameters on the virtual interface to enable the Layer 3 switch to route protocol traffic from one Layer 3 VLAN to the other, without using an external router.

The no form of the command removes the VE interface.

Examples

The following example designates a virtual interface, enters configuration sub-mode for the interface, and assigns the interface an IP address.

device(config)# interface ve 10
device(config-vif-10)# ip address 10.10.10.254/24