l2 vfi manual
To create a Layer 2 virtual forwarding instance (VFI) and enter Layer 2 VFI manual configuration mode, use the l2vfimanual command in global configuration mode. To remove the Layer 2 VFI, use the no form of this command.
l2 vfi name manual
no l2 vfi name manual
Syntax Description
name |
Name of a new or existing Layer 2 VFI . |
Command Default
The Layer 2 VFI is not configured.
Command Modes
Global configuration (config)
Command History
Release |
Modification |
---|---|
12.2(18)SXF |
This command was introduced on the Supervisor Engine 720. |
12.2(33)SRA |
This command was integrated into Cisco IOS Release 12.2(33)SRA. |
15.0(1)M |
This command was integrated into a release earlier than Cisco IOS Release 15.0(1)M. |
Cisco IOS XE Release 3.7S |
This command was integrated into Cisco IOS XE Release 3.7S. |
Usage Guidelines
A VFI is a collection of data structures used by the data plane, software-based or hardware-based, to forward packets to one or more virtual circuits (VC). It is populated and updated by both the control plane and the data plane and also serves as the data structure interface between the control plane and the data plane.
Within the Layer 2 VFI manual configuration mode, you can configure the following parameters:
-
VPN ID of a Virtual private LAN service (VPLS) domain
-
Addresses of other PE routers in this domain
-
Type of tunnel signaling and encapsulation mechanism for each peer
Within the Layer 2 VFI manual configuration mode, the following commands are available:
-
vpn id vpn-id
-
[no ] neighbor remote-router-id {encapsulation {l2tpv3 | mpls } | pw-class pw-name | no-split-horizon }
Examples
This example shows how to create a Layer 2 VFI, enter Layer 2 VFI manual configuration mode, and configure a VPN ID:
Router(config)# l2 vfi vfitest1 manual
Router(config-vfi)# vpn id 303