Introduction to Virtual LANs in Layer 2 VPNs
Feature Name |
Release Information |
Feature Description |
Double-Tagged 802.1ad Encapsulation Options for Layer 3 Physical and Bundle Subinterfaces |
Release 7.3.2 | This feature enables you to increase the number of VLAN tags in an interface and an subinterface. You can enable this feature
either on a physical interface or a bundle interface. When you configure this feature with the dual tag, interfaces check
for IP addresses along with MAC addresses. Verified Scalability Limits:
|
The Layer 2 Virtual Private Network (L2VPN) feature enables Service Providers (SPs) to provide L2 services to geographically disparate customer sites.
A virtual local area network (VLAN) is a group of devices on one or more LANs that are configured so that they can communicate as if they were attached to the same wire, when in fact they are located on a number of different LAN segments. The IEEE's 802.1Q specification establishes a standard method for inserting VLAN membership information into Ethernet frames.
VLANs are very useful for user and host management, bandwidth allocation, and resource optimization. Using VLANs addresses the problem of breaking large networks into smaller parts so that broadcast and multicast traffic does not consume more bandwidth than necessary. VLANs also provide a higher level of security between segments of internal networks.
The 802.1Q specification establishes a standard method for inserting VLAN membership information into Ethernet frames. Cisco IOS XR software supports VLAN subinterface configuration on four hundred Gigabit Ethernet and one hundred Gigabit Ethernet interfaces.
The configuration model for configuring VLAN Attachment Circuits (ACs) is similar to the model used for configuring basic VLANs, where the user first creates a VLAN subinterface, and then configures that VLAN in subinterface configuration mode. To create an Attachment Circuit, you need to include the l2transport keyword in the interface command string to specify that the interface is a L2 interface.
-
Basic Dot1Q Attachment Circuit—The Attachment Circuit covers all frames that are received and sent with a specific VLAN tag.
Double-Tagged 802.1ad Encapsulation Options for Layer 2 and Layer 3 Physical and Bundle Subinterfaces
Subinterfaces are logical interfaces created on a hardware interface. These software-defined interfaces allow for segregation of traffic into separate logical channels on a single hardware interface as well as allowing for better utilization of the available bandwidth on the physical interface.
Before a subinterface is allowed to pass traffic it must have a valid tagging protocol encapsulation and VLAN identifier assigned. All Ethernet subinterfaces always default to the 802.1Q VLAN encapsulation. However, the VLAN identifier must be explicitly defined.
Supported Encapsulation
Interface Type |
Encapsulation |
Standard |
Support Status |
---|---|---|---|
Layer 3 interface Layer 3 subinterface Layer 3 bundle subinterface |
Single-Tag Encapsulation |
dot1ad |
Not supported. |
dot1q |
Supported. |
||
Double-Tag Encapsulation |
dot1ad <> dot1q<> |
Supported. |
|
dot1q <> dot1q<> |
1Not supported. |
Interface Type |
Encapsulation |
Standard |
Support Status |
---|---|---|---|
Layer 2 interface Layer 2 subinterface Layer 2 bundle subinterface |
Single-Tag Encapsulation |
dot1ad |
Not supported. |
dot1q |
Supported. |
||
Double-Tag Encapsulation |
dot1ad <> dot1q<> |
Supported. |
|
dot1q <> dot1q<> |
2Supported. |