Interfaces and Hardware Component Configuration Guide for Cisco 8000 Series Routers, Cisco IOS XR Releases

PDF

Interfaces and Hardware Component Configuration Guide for Cisco 8000 Series Routers, Cisco IOS XR Releases

Layer 2 VPN on Ethernet interfaces

Want to summarize with AI?

Log in

Describes Layer 2 Virtual Private Network (L2VPN) connections that emulate LAN behavior across a Layer 2 switched, IP, or MPLS-enabled IP network.


Layer 2 Virtual Private Network (L2VPN) is a network connection that

  • emulates LAN behavior across L2 switched, IP, or MPLS-enabled IP networks

  • enables service providers to provide Layer 2 services to geographically disparate customer sites, and

  • connects Ethernet devices as if they exist on a common LAN segment.

L2VPN in service provider networks

The L2VPN feature enables service providers (SPs) to provide Layer 2 services to geographically disparate customer sites. Typically, an SP uses an access network to connect the customer to the core network. On the router, this access network is typically Ethernet.

Traffic from the customer travels over this link to the edge of the SP core network. The traffic then tunnels through an L2VPN over the SP core network to another edge router. The edge router sends the traffic down another attachment circuit (AC) to the customer's remote site.

On the router, an AC is an interface that is attached to an L2VPN component, such as a bridge domain.

The L2VPN feature enables users to implement different types of end-to-end services.

Switching takes place through local switching where traffic arriving on one AC is immediately sent out of another AC without passing through a pseudowire.


Configuration guidelines for L2VPN on Ethernet interfaces

These guidelines apply when you configure L2VPN on Ethernet interfaces:
  • L2VPN links support QoS (Quality of Service) and MTU (maximum transmission unit) configuration.

  • If your network requires that packets are transported transparently, you may need to modify the packet's destination MAC (Media Access Control) address at the edge of the Service Provider (SP) network. This prevents the packet from being consumed by the devices in the SP network.

  • Use the show interfaces command to display AC information.

  • To attach Layer 2 service policies, such as QoS, to the Ethernet interface, refer to the appropriate Cisco IOS XR software configuration guide.


Layer 2 VPN AC configuration example

This example indicates how to configure a Layer 2 VPN AC on an Ethernet interface:

RP/0/RSP0/CPU0:router# configure
RP/0/RSP0/CPU0:router(config)# interface TenGigE 0/0/0/2
RP/0/RSP0/CPU0:router(config-if)# l2transport
RP/0/RSP0/CPU0:router(config-if-l2)# l2protocol  tunnel
RP/0/RSP0/CPU0:router(config-if-l2)# commit