Wan Lserv 12 4t Book
Wan Lserv 12 4t Book
Americas Headquarters
Cisco Systems, Inc.
170 West Tasman Drive
San Jose, CA 95134-1706
USA
http://www.cisco.com
Tel: 408 526-4000
800 553-NETS (6387)
Fax: 408 527-0883
THE SPECIFICATIONS AND INFORMATION REGARDING THE PRODUCTS IN THIS MANUAL ARE SUBJECT TO CHANGE WITHOUT NOTICE. ALL STATEMENTS,
INFORMATION, AND RECOMMENDATIONS IN THIS MANUAL ARE BELIEVED TO BE ACCURATE BUT ARE PRESENTED WITHOUT WARRANTY OF ANY KIND,
EXPRESS OR IMPLIED. USERS MUST TAKE FULL RESPONSIBILITY FOR THEIR APPLICATION OF ANY PRODUCTS.
THE SOFTWARE LICENSE AND LIMITED WARRANTY FOR THE ACCOMPANYING PRODUCT ARE SET FORTH IN THE INFORMATION PACKET THAT SHIPPED
WITH THE PRODUCT AND ARE INCORPORATED HEREIN BY THIS REFERENCE. IF YOU ARE UNABLE TO LOCATE THE SOFTWARE LICENSE OR LIMITED
WARRANTY, CONTACT YOUR CISCO REPRESENTATIVE FOR A COPY.
The Cisco implementation of TCP header compression is an adaptation of a program developed by the University of California, Berkeley (UCB) as part of UCB’s public domain version
of the UNIX operating system. All rights reserved. Copyright © 1981, Regents of the University of California.
NOTWITHSTANDING ANY OTHER WARRANTY HEREIN, ALL DOCUMENT FILES AND SOFTWARE OF THESE SUPPLIERS ARE PROVIDED “AS IS” WITH ALL
FAULTS. CISCO AND THE ABOVE-NAMED SUPPLIERS DISCLAIM ALL WARRANTIES, EXPRESSED OR IMPLIED, INCLUDING, WITHOUT LIMITATION, THOSE OF
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT OR ARISING FROM A COURSE OF DEALING, USAGE, OR TRADE
PRACTICE.
IN NO EVENT SHALL CISCO OR ITS SUPPLIERS BE LIABLE FOR ANY INDIRECT, SPECIAL, CONSEQUENTIAL, OR INCIDENTAL DAMAGES, INCLUDING,
WITHOUT LIMITATION, LOST PROFITS OR LOSS OR DAMAGE TO DATA ARISING OUT OF THE USE OR INABILITY TO USE THIS MANUAL, EVEN IF CISCO OR
ITS SUPPLIERS HAVE BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES.
Cisco and the Cisco Logo are trademarks of Cisco Systems, Inc. and/or its affiliates in the U.S. and other countries. A listing of Cisco's trademarks can be found at www.cisco.com/go/
trademarks. Third party trademarks mentioned are the property of their respective owners. The use of the word partner does not imply a partnership relationship between Cisco and any
other company. (1005R)
Any Internet Protocol (IP) addresses and phone numbers used in this document are not intended to be actual addresses and phone numbers. Any examples, command display output,
network topology diagrams, and other figures included in the document are shown for illustrative purposes only. Any use of actual IP addresses or phone numbers in illustrative content
is unintentional and coincidental.
Wide-Area Networking Configuration Guide: Layer 2 Services, Cisco IOS Release 12.4T
iii
Contents
Wide-Area Networking Configuration Guide: Layer 2 Services, Cisco IOS Release 12.4T
iv
Contents
Wide-Area Networking Configuration Guide: Layer 2 Services, Cisco IOS Release 12.4T
v
Contents
Configuring the Xconnect Attachment Circuit for ATM VP Mode Single Cell Relay over
L2TPv3 72
Configuring the Xconnect Attachment Circuit for ATM Single Cell Relay VC Mode over
L2TPv3 73
Configuring the Xconnect Attachment Circuit for ATM Port Mode Cell Relay over L2TPv3 75
Configuring the Xconnect Attachment Circuit for ATM Cell Packing over L2TPv3 76
Configuring Port Mode ATM Cell Packing over L2TPv3 76
Configuring VP Mode ATM Cell Packing over L2TPv3 78
Configuring VC Mode ATM Cell Packing over L2TPv3 79
Configuring the Xconnect Attachment Circuit for ATM AAL5 SDU Mode over L2TPv3 81
Configuring ATM AAL5 SDU Mode over L2TPv3 in ATM VC Configuration Mode 81
Configuring ATM AAL5 SDU Mode over L2TPv3 in VC Class Configuration Mode 83
Configuring OAM Local Emulation for ATM AAL5 over L2TPv3 85
Configuring OAM Local Emulation for ATM AAL5 over L2TPv3 in ATM VC
Configuration Mode 86
Configuring OAM Local Emulation for ATM AAL5 over L2TPv3 in VC Class
Configuration Mode 87
Configuring Protocol Demultiplexing for L2TPv3 90
Configuring Protocol Demultiplexing for Ethernet Interfaces 90
Configuring Protocol Demultiplexing for Frame Relay Interfaces 92
Configuring Protocol Demultiplexing for PPP Interfaces 94
Configuring Protocol Demultiplexing for HDLC Interfaces 95
Configuring an L2TPv3 Custom Ethertype for Dot1q and QinQ Encapsulations 97
Manually Clearing L2TPv3 Tunnels 98
Configuration Examples for Layer 2 Tunneling Protocol Version 3 99
Example: Configuring a Static L2TPv3 Session for an Xconnect Ethernet Interface 100
Example: Configuring a Negotiated L2TPv3 Session for an Xconnect VLAN Subinterface 100
Configuring a Negotiated L2TPv3 Session for Local HDLC Switching Example 101
Example: Verifying an L2TPv3 Session 101
Example: Verifying an L2TP Control Channel 102
Example: Configuring L2TPv3 Control Channel Authentication 102
Example: Configuring L2TPv3 Digest Secret Graceful Switchover 103
Example: Verifying L2TPv3 Digest Secret Graceful Switchover 103
Example: Configuring a Pseudowire Class for Fragmentation of IP Packets 103
Configuring ATM VP Mode Single Cell Relay over L2TPv3 Example 104
Verifying ATM VP Mode Single Cell Relay over L2TPv3 Configuration Example 104
Wide-Area Networking Configuration Guide: Layer 2 Services, Cisco IOS Release 12.4T
vi
Contents
Configuring ATM Single Cell Relay VC Mode over L2TPv3 Example 104
Verifying ATM Single Cell Relay VC Mode over L2TPv3 Example 104
Configuring ATM Port Mode Cell Relay over L2TPv3 Example 105
Configuring ATM Cell Packing over L2TPv3 Examples 105
Configuring ATM AAL5 SDU Mode over L2TPv3 Examples 105
Verifying ATM AAL5 SDU Mode over L2TPv3 Configuration Examples 106
Configuring OAM Local Emulation for ATM AAL5 over L2TPv3 Examples 106
Verifying OAM Local Emulation for ATM AAL5 over L2TPv3 Configuration Examples 108
Configuring Protocol Demultiplexing for L2TPv3 Examples 108
Example: Manually Clearing an L2TPv3 Tunnel 109
Configuring Frame Relay DLCI-to-DLCI Switching Example 109
Configuring Frame Relay Trunking Example 109
Configuring QoS for L2TPv3 on the Cisco 7500 Series Example 110
Configuring QoS for L2TPv3 on the Cisco 12000 Series Examples 110
Configuring QoS on a Frame Relay Interface in a TSC-Based L2TPv3 Tunnel Session 110
Configuring Traffic Policing on an ISE E5 Interface in a Native L2TPv3 Tunnel Session 111
Configuring Tunnel Marking in a Native L2TPv3 Tunnel Session 114
Configuring Traffic Shaping in a Native L2TPv3 Tunnel Session 114
Configuring a QoS Policy for Committed Information Rate Guarantees Example 115
Setting the Frame Relay DE Bit Configuration Example 116
Matching the Frame Relay DE Bit Configuration Example 116
Configuring MLFR for L2TPv3 on the Cisco 12000 Series Example 117
Configuring an MQC for Committed Information Rate Guarantees Example 117
Example: Configuring an L2TPv3 Custom Ethertype for Dot1q and QinQ Encapsulations 118
Additional References 118
Feature Information for Layer 2 Tunneling Protocol Version 3 120
Glossary 125
L2VPN Pseudowire Redundancy 129
Finding Feature Information 129
Prerequisites for L2VPN Pseudowire Redundancy 129
Restrictions for L2VPN Pseudowire Redundancy 130
Information About L2VPN Pseudowire Redundancy 130
Introduction to L2VPN Pseudowire Redundancy 130
How to Configure L2VPN Pseudowire Redundancy 132
Configuring the Pseudowire 132
Wide-Area Networking Configuration Guide: Layer 2 Services, Cisco IOS Release 12.4T
vii
Contents
Wide-Area Networking Configuration Guide: Layer 2 Services, Cisco IOS Release 12.4T
viii
Contents
Wide-Area Networking Configuration Guide: Layer 2 Services, Cisco IOS Release 12.4T
ix
Contents
Wide-Area Networking Configuration Guide: Layer 2 Services, Cisco IOS Release 12.4T
x
Wide-Area Networking Overview
Cisco IOS software provides a range of wide-area networking capabilities to fit almost every network
environment need. Cisco offers cell relay via the Switched Multimegabit Data Service (SMDS), circuit
switching via ISDN, packet switching via Frame Relay, and the benefits of both circuit and packet
switching via Asynchronous Transfer Mode (ATM). LAN emulation (LANE) provides connectivity
between ATM and other LAN types. The Cisco IOS Wide-Area Networking Configuration Guide presents
a set of general guidelines for configuring the following software components:
This module gives a high-level description of each technology. For specific configuration information, see
the appropriate module.
Frame Relay
The Cisco Frame Relay implementation currently supports routing on IP, DECnet, AppleTalk, XNS,
Novell IPX, CLNS, Banyan VINES, and transparent bridging.
Although Frame Relay access was originally restricted to leased lines, dialup access is now supported. For
more information, for dialer profiles or for legacy dial-on-demand routing (DDR) see the see the module
Dial-on-Demand Routing Configuration.
To install software on a new router or access server by downloading software from a central server over an
interface that supports Frame Relay, see the module Loading and Maintaining System Images.
Wide-Area Networking Configuration Guide: Layer 2 Services, Cisco IOS Release 12.4T
1
Wide-Area Networking Overview
Frame Relay
To configure access between Systems Network Architecture (SNA) devices over a Frame Relay network,
see the module Configuring SNA Frame Relay Access Support.
Wide-Area Networking Configuration Guide: Layer 2 Services, Cisco IOS Release 12.4T
2
Frame Relay-ATM Internetworking
Frame Relay
Frame Relay switching is used when all traffic arriving on one DLCI can be sent out on another DLCI to
the same next-hop address. In such cases, the Cisco IOS software need not examine the frames individually
to discover the destination address, and, as a result, the processing load on the router decreases.
The Cisco implementation of Frame Relay switching provides the following functionality:
• ◦ Switching over an IP tunnel
◦ Switching over Network-to-Network Interfaces (NNI) to other Frame Relay switches
◦ Local serial-to-serial switching
◦ Switching over ISDN B channels
◦ Traffic shaping on switched PVCs
◦ Congestion management on switched PVCs
◦ Traffic policing on User-Network Interface (UNI) DCE
◦ FRF.12 fragmentation on switched PVCs
• Support for subinterfaces associated with a physical interface. The software groups one or more PVCs
under separate subinterfaces, which in turn are located under a single physical interface. See the
Configuring Frame Relay module.
• Support for fast-path transparent bridging, as described in RFC 1490, for Frame Relay encapsulated
serial and High-Speed Serial Interfaces (HSSIs) on all platforms.
• Support of the Frame Relay DTE MIB specified in RFC 1315. However, the error table is not
implemented. To use the Frame Relay MIB, refer to your MIB publications.
• Support for Frame Relay fragmentation. Cisco has developed the following three types of Frame Relay
fragmentation:
◦ End-to-End FRF.12 Fragmentation
FRF.12 fragmentation is defined by the FRF.12 Implementation Agreement. This standard was developed
to allow long data frames to be fragmented into smaller pieces (fragments) and interleaved with real-time
frames. End-to-end FRF.12 fragmentation is recommended for use on PVCs that share links with other
PVCs that are transporting voice and on PVCs transporting Voice over IP (VoIP).
• ◦ Frame Relay Fragmentation Using FRF.11 Annex C
When VoFR (FRF.11) and fragmentation are both configured on a PVC, the Frame Relay fragments are
sent in the FRF.11 Annex C format. This fragmentation is used when FRF.11 voice traffic is sent on the
PVC, and it uses the FRF.11 Annex C format for data.
See the module Configuring Voice over Frame Relay in the Cisco IOS Voice, Video, and Fax
Configuration Guide for configuration tasks and examples for Frame Relay fragmentation using FRF.11
Annex C.
• ◦ Cisco Proprietary Fragmentation
Cisco proprietary fragmentation is used on data packets on a PVC that is also used for voice traffic.
See the module Configuring Voice over Frame Relay in the Cisco IOS Voice, Video, and Fax
Configuration Guide for configuration tasks and examples for Cisco proprietary fragmentation.
• Frame Relay-ATM Internetworking, page 3
Wide-Area Networking Configuration Guide: Layer 2 Services, Cisco IOS Release 12.4T
3
Wide-Area Networking Overview
Switched Multimegabit Data Service
Note When configuring IP routing over SMDS, you may need to make adjustments to accommodate split
horizon effects. Refer to the Configuring EIGRP module for information about how Cisco software handles
possible split horizon conflicts. By default, split horizon is disabled for SMDS networks.
The SMDS implementation includes multiple logical IP subnetworks support as defined by RFC 1209. This
RFC describes routing IP over an SMDS cloud in which each connection is considered a host on one
specific private network, and points to cases where traffic must transit from network to network.
Wide-Area Networking Configuration Guide: Layer 2 Services, Cisco IOS Release 12.4T
4
Wide-Area Networking Overview
Link Access Procedure - Balanced and X.25
The implementation of SMDS also provides the Data Exchange Interface (DXI) Version 3.2 with
heartbeat . The heartbeat mechanism periodically generates a heartbeat poll frame.
When a multicast address is not available to a destination, pseudobroadcasting can be enabled to broadcast
packets to those destinations using a unicast address.
Note The ITU-T carries out the functions of the former CCITT. The 1988 X.25 standard was the last published
as a CCITT Recommendation . The first ITU-T Recommendation is the 1993 revision.
In addition to providing remote terminal access, The Cisco X.25 software provides transport for LAN
protocols--IP, DECnet, XNS, ISO CLNS, AppleTalk, Novell IPX, Banyan VINES, and Apollo Domain--
and bridging.
Cisco IOS X.25 software provides the following capabilities:
• LAPB datagram transport--LAPB is a protocol that operates at Level 2 (the data link layer) of the OSI
reference model. It offers a reliable connection service for exchanging data (in units called frames )
with one other host. The LAPB connection is configured to carry a single protocol or multiple
protocols. Protocol datagrams (IP, DECnet, AppleTalk, and so forth) are carried over a reliable LAPB
connection, or datagrams of several of these protocols are encapsulated in a proprietary protocol and
carried over a LAPB connection. Cisco also implements transparent bridging over multiprotocol
LAPB encapsulations on serial interfaces.
• X.25 datagram transport-- X.25 can establish connections with multiple hosts; these connections are
called virtual circuits. Protocol datagrams (IP, DECnet, AppleTalk, and so forth) are encapsulated
inside packets on an X.25 virtual circuit. Mappings between the X.25 address of a host and its
datagram protocol addresses enable these datagrams to be routed through an X.25 network, thereby
permitting an X.25 PDN to transport LAN protocols.
• X.25 switch--X.25 calls can be routed based on their X.25 addresses either between serial interfaces on
the same router (local switching) or across an IP network to another route r, using X.25 over TCP
(XOT). XOT encapsulates the X.25 packet level inside a TCP connection, allowing X.25 equipment to
be connected via a TCP/IP-based network. The Cisco X.25 switching features provide a convenient
way to connect X.25 equipment, but do not provide the specialized features and capabilities of an X.25
PDN.
• ISDN D channel--X.25 traffic over the D channel, using up to 9.6 kbps bandwidth, can be used to
support many applications. For example, it may be required as a primary interface where low volume
Wide-Area Networking Configuration Guide: Layer 2 Services, Cisco IOS Release 12.4T
5
Layer 2 Tunneling Protocol Version 3
Layer 2 Virtual Private Network
sporadic interactive traffic is the normal mode of operation. For information on how to configure X.25
on ISDN, refer to the modules Configuring X.25 on ISDN and Configuring X.25 on ISDN Using
AO/DI.
• PAD--User sessions can be carried across an X.25 network using the packet assembler/disassembler
(PAD) protocols defined by the ITU-T Recommendations X.3 and X.29.
• QLLC--The Cisco IOS software can use the Qualified Logical Link Control (QLLC) protocol to carry
SNA traffic through an X.25 network.
• Connection-Mode Network Service (CMNS)--CMNS is a mechanism that uses OSI-based network
service access point (NSAP) addresses to extend local X.25 switching to nonserial media (for example,
Ethernet, FDDI, and Token Ring). This implementation provides the X.25 PLP over Logical Link
Control, type 2 (LLC2) to allow connections over nonserial interfaces. The Cisco CMNS
implementation supports services defined in ISO Standards 8208 (packet level) and 8802-2 (frame
level).
• DDN and BFE X.25--The DDN-specified Standard Service is supported. The DDN X.25 Standard
Service is the required protocol for use with DDN Packet-Switched Nodes (PSNs). The Defense
Communications Agency (DCA) has certified the Cisco DDN X.25 Standard Service implementation
for attachment to the DDN. The Cisco DDN implementation also includes Blacker Front End
operation.
• X.25 MIB--Subsets of the specifications in SNMP MIB Extension for X.25 LAPB (RFC 1381) and
SNMP MIB Extension for the X.25 Packet Layer (RFC 1382) are supported. The LAPB XID Table, X.
25 Cleared Circuit Table, and X.25 Call Parameter Table are not implemented. All values are read-
only. To use the X.25 MIB, refer to the RFCs.
• Closed User Groups (CUGs)--A CUG is a collection of DTE devices for which the network controls
access between two members and between a member and a nonmember. An X.25 network can support
up to 10,000 CUGs. CUGs allow various network subscribers (DTE devices) to be segregated into
private subnetworks that have limited incoming or outgoing access.
The Cisco X.25 implementation does not support fast switching.
Wide-Area Networking Configuration Guide: Layer 2 Services, Cisco IOS Release 12.4T
6
Layer 2 Virtual Private Network Interworking
Wide Area Application Services
However, there are some parts of the network where this rerouting mechanism does not protect against
interruptions in service. The L2VPN Pseudowire Redundancy feature provides the ability to ensure that the
CE2 router in can always maintain network connectivity, even if one or all the failures in the figure occur.
The L2VPN Pseudowire Redundancy feature enables you to set up backup pseudowires. You can configure
the network with redundant pseudowires (PWs) and redundant network elements.
Wide-Area Networking Configuration Guide: Layer 2 Services, Cisco IOS Release 12.4T
7
Wide-Area Networking Overview
Cisco and the Cisco Logo are trademarks of Cisco Systems, Inc. and/or its affiliates in the U.S. and other
countries. A listing of Cisco's trademarks can be found at www.cisco.com/go/trademarks. Third party
trademarks mentioned are the property of their respective owners. The use of the word partner does not
imply a partnership relationship between Cisco and any other company. (1005R)
Any Internet Protocol (IP) addresses and phone numbers used in this document are not intended to be
actual addresses and phone numbers. Any examples, command display output, network topology diagrams,
and other figures included in the document are shown for illustrative purposes only. Any use of actual IP
addresses or phone numbers in illustrative content is unintentional and coincidental.
Wide-Area Networking Configuration Guide: Layer 2 Services, Cisco IOS Release 12.4T
8
Layer 2 Tunneling Protocol Version 3
The Layer 2 Tunneling Protocol Version 3 feature expands Cisco's support of Layer 2 VPNs. Layer 2
Tunneling Protocol Version 3 (L2TPv3) is an IETF l2tpext working group draft that provides several
enhancements to L2TP to tunnel any Layer 2 payload over L2TP. Specifically, L2TPv3 defines the L2TP
protocol for tunneling Layer 2 payloads over an IP core network by using Layer 2 VPNs.
Wide-Area Networking Configuration Guide: Layer 2 Services, Cisco IOS Release 12.4T
9
General L2TPv3 Restrictions
Restrictions for Layer 2 Tunneling Protocol Version 3
Wide-Area Networking Configuration Guide: Layer 2 Services, Cisco IOS Release 12.4T
10
Cisco 7200 Series and Cisco 7301 Specific Restrictions
Restrictions for Layer 2 Tunneling Protocol Version 3
• Static L2TPv3 sessions do not interoperate with Universal Tunnel Interface (UTI) using keepalives.
• Layer 2 fragmentation of IP packets and Intermediate System-to-Intermediate System (IS-IS)
fragmentation through a static L2TPv3 session are not supported.
• Layer 3 fragmentation is not recommended because of performance degradation.
• The L2TPv3 Layer 2 (IP packet) fragmentation feature (see the Configuring the L2TPv3 Pseudowire,
page 65 task) is not supported when the customer edge (CE) router is running special Layer 2
options such as Layer 2 sequencing, compression, or encryption. Examples of these options are Frame
Relay compression and fragmentation or PPP compression. In these scenarios, the IP payload is not in
a format that is compatible with IP fragmentation.
• The Stateful Switchover (SSO), Route Processor Redundancy (RPR) and RPR+ components of the
HA functions are supported only at the coexistence level. If you attempt a switchover using SSO,
RPR, or RPR+, the tunnels will fail and then eventually recover after an undetermined time duration.
This includes both IPv4 and IPv6 traffic.
• Interworking is not allowed when sequencing is enabled.
Wide-Area Networking Configuration Guide: Layer 2 Services, Cisco IOS Release 12.4T
11
Supported Shared Port Adapters for the Cisco 7600 Series Router
Restrictions for Layer 2 Tunneling Protocol Version 3
Supported Shared Port Adapters for the Cisco 7600 Series Router
The following shared port adapters (SPAs) support L2TPv3 on the Cisco 7600 series routers.
Ethernet
• SPA_TYPE_ETHER_2xGE (2-port Gigabit Ethernet)
• SPA_TYPE_ETHER_2xGE_V2 (2-port Gigabit Ethernet)
• SPA_TYPE_ETHER_5xGE_V2 (5-port Gigabit Ethernet)
• SPA_TYPE_ETHER_1x10GE_V2 (single-port 10-Gigabit Ethernet)
ATM
• SPA_TYPE_KATM_2xOC3 (ATM, 2-port OC3)
• SPA_TYPE_KATM_4xOC3 (ATM, 4-port OC3)
• SPA_TYPE_KATM_1xOC12 (ATM, 1-port OC12)
• SPA_TYPE_KATM_1xOC48 (ATM, 1-port OC48)
• SPA_TYPE_CEOP_24xT1E1(CEoP 24-port T1/E1)
• SPA_TYPE_CEOP_1xOC3 (CEoP 1-port OC3)
• SPA_TYPE_CEOP_2xT3E3 (CEoP 2-port T3/E3)
Wide-Area Networking Configuration Guide: Layer 2 Services, Cisco IOS Release 12.4T
12
Layer 2 Tunneling Protocol Version 3
Restrictions for Layer 2 Tunneling Protocol Version 3
entire Layer 2 frame to the CE device. The Layer 2 frame may be dropped on the CE device because of
MRU violations.
Layer 2 Virtual Private Network Interworking Restrictions
The SIP-400 line card does not support Layer 2 VPN interworking ("like to like" is the only mode
supported for L2TPv3 tunneling).
Packet Sequencing Restrictions
The initial release of L2TPv3 focuses on tunneling Ethernet and ATM traffic over L2TPv3. Because of
performance issues, the SIP-400 line card does not support L2TPv3 packet sequencing for Ethernet and
ATM traffic. As a result, the 4-byte Layer 2-specific sublayer control word is not supported for Ethernet
pseudowires. Configuring sequencing on a pseudowire will cause L2VPN traffic corruption.
By default, sequencing is disabled. However, you can configure sequencing in the pseudowire class,
because the pseudowire class may be applied to pseudowires on other 7600 line cards that support
sequencing. You must keep sequencing disabled when the pseudowire is handled on the SIP-400 line card.
Counters Restrictions
Per-session counters are provided by the line card. Per-tunnel counters are not provided.
Security and QoS ACLs Restrictions
The security QoS ACLs are not supported on the Layer 2 interfaces facing customer device, which means
that you cannot apply ACLs to Layer 2 VPN traffic. (The Security ACL and the QoS ACL can still be
applied to the IP interfaces at the core-facing side.)
DF Bit Reflection from Inner IP to Outer IP Restrictions
Traffic on ATM interfaces may have a deep stack of Layer 2 encapsulations. For example, the IP packet
may be embedded first in Ethernet, then in Subnetwork Access Protocol (SNAP) and ATM Adaptation
Layer 5 (AAL5). There is no guarantee that the SIP-400 line card will find the IP packet inside the AAL5
envelope. Therefore, Don’t Fragment (DF) bit reflection from inner IP to outer IP is not performed for
traffic on ATM interfaces.
Session Cookie
A cookie check is supported for data packets. Cookies (remote and local) can be part of the decapsulation
table indexed by session-id.
Scalability
Up to 8000 pseudowires and 512 tunnels are supported.
Set DF Bit in Outer IP
When the ip dfbit set command is configured for the pseudowire, the SIP-400 line card sets the DF bit in
the outer IP header during L2TPv3 encapsulation. This DF bit handling is subject to IS-IS packet
fragmentation.
Set TTL in Outer IP
When the ip ttl value command is configured for the pseudowire, the SIP-400 line card sets the TTL value
in the outer IP header during L2TPv3 encapsulation. When the TTL value is not set, the TTL value in the
outer IP header is set to 254.
Layer 2-Specific Sublayer Control Word
The Layer 2-specific sublayer control word is defined in L2TPv3 RFCs solely for the purpose of packet
sequencing (with the exception of AAL5 payload). On Cisco 7200 series, Cisco 7500 series, and Cisco
12000 series routers, the control word is omitted when sequencing is disabled on non-ATM AAL5
pseudowires. To interoperate with Cisco 7200 series, Cisco 7500 series, and Cisco 12000 series routers, the
SIP-400 line card does not support control words on all non-AAL5 pseudowire types in the initial release.
Wide-Area Networking Configuration Guide: Layer 2 Services, Cisco IOS Release 12.4T
13
Layer 2 Tunneling Protocol Version 3
Restrictions for Layer 2 Tunneling Protocol Version 3
L2TPv3 Packet Stack for AAL5 Payload L2TPv3 Packet Stack for Non-AAL5 Payload
20 bytes IP header Protocol ID = 115 20 bytes IP header Protocol ID = 115
AAL5 frame
MTU Support
MTU processing is done on the ingress path on the SIP-400 line card. The SIP-400 line card enforces Layer
2 MRU checking for every Layer 2 frame received from the CE device. All frames that fail MRU checking
are dropped, and the accepted frames are entered into the L2TPv3 encapsulation process. During the
process, the whole L2TPV3 packets (including outer IP) are checked again using IP MTU. The packets that
pass IP MTU checking are sent to Enhanced Address Recognition Logic (EARL) for IP routing. The failed
packets are sent to RP for IP fragmentation or for drop accounting and notifying.
Path MTU discovery is enabled when the ip pmtu command is configured for the pseudowire. This feature
requires an ingress Layer 2 frame to be dropped if, after L2TPv3 encapsulation, the total packet length
exceeds L2TP tunnel path MTU, and the DF bit of the IP header inside the Layer 2 frame is 1. To support
this feature, the SIP-400 line card performs tunnel path MTU checking on each ingress Layer 2 frame
during L2TPv3 encapsulation phase. If the total packet length after encapsulation exceeds path MTU, the
SIP-400 line card forwards the original Layer 2 frame to the route processor. On receiving the Layer 2
frame, the route processor may send an Internet Control Message Protocol (ICMP) unreachable message to
the source of the IP packet, depending on how deep the IP packet is embedded in the Layer 2 frame.
L2TPv3 IP packet fragmentation and reassembly is done by software on the route processor. The SIP-400
line card performs core-facing interface IP MTU checking on all packets encapsulated in L2TPv3. If the
MTU checking fails, the original Layer 2 frames are sent to the route processor for IP fragmentation.
Fragmented L2TPV3 IP packets received from the IP core are received by the route processor from the core
facing interface by EARL. The route processor handles L2TPv3 packet reassembly and recovers the inner
Layer 2 frame. The route processor also sends the Layer 2 frame to the CE-facing interface by using index-
directed WAN dbus frames.
With IS-IS packet fragmentation, IS-IS packets are often padded to the maximum MTU size. L2TPv3
encapsulation increases the packet size by 28 to 36 bytes. A Layer 2 frame with an IS-IS packet embedded
may exceed the tunnel path MTU after L2TPV3 encapsulation. Therefore, Layer 3 fragmentation is often
needed. To support fragmentation, the SIP-400 line card searches for IS-IS packets in a Layer 2 Frame. If
an IS-IS packet is found during L2TPv3 encapsulation, the SIP-400 line card clears the DF bit in the outer
IP and sets IP precedence to 6. This allows the IP packet to be fragmented when traveling through the IP
core.
Ethernet Attachment Circuits
The SIP-400 line card supports Ethernet over L2TPv3 in compliance with RFC4719. Two types of
pseudowire are supported: Ethernet VLAN pseudowire type (0x0004) and Ethernet pseudowire type
(0x0005). When xconnect is configured on an Ethernet main interface, Ethernet frames are tunneled over
L2TPv3 using Ethernet port pseudowires (type 0x0005). In this mode, Ethernet frames received on the port
(tagged or untagged) are delivered to the remote CE device unaltered.
When xconnect is configured on a dot1q subinterface, the tagged Ethernet frames are tunneled using an
Ethernet VLAN pseudowire (type 0x0004). In this case, the pseudowire connects one Ethernet VLAN to
Wide-Area Networking Configuration Guide: Layer 2 Services, Cisco IOS Release 12.4T
14
Layer 2 Tunneling Protocol Version 3
Restrictions for Layer 2 Tunneling Protocol Version 3
another Ethernet VLAN. Received Ethernet VLAN frames from the CE device are tunneled over L2TPv3
unchanged. When arriving on the destination PE device, the original VLAN tag is written to use the
destination VLAN ID. While doing so, the priority field in the VLAN tag is preserved.
Ethernet OAM Support
The SIP-400 line card supports service-level OAM and link-level OAM features on Ethernet interfaces.
Service-level OAM packets, also known as Connectivity Fault Management (CFM) packets, are sent using
SNAP header with type 0x0126. Link-level OAM packets, also known as Link Monitoring (LM) packets
are sent on Ether-Type 0x8809.
The SIP-400 line card monitors the above two types of ingress OAM frames from the CE device. When the
OAM frames are found and OAM features are configured on the Ethernet interface, the OAM frames are
intercepted and forwarded to the route processor. If there is no Ethernet OAM configuration, all OAM
frames are tunneled in L2TPv3 as normal data frames.
ATM Attachment Circuits
The SIP-400 line card supports ATM over L2TPv3 in compliance with RFC 4454 with minor deviation.
RFC 4454 defines four types of ATM pseudowire:
• ATM AAL5 SDU VCC transport (0x0002)
• ATM cell transport port mode (0x0003)
• ATM cell transport VCC mode (0x0009)
• ATM cell transport VPC mode (0x000A)
ATM cell transport port mode is not supported.
When xconnect is configured on a PVC with encapsulation AAL5, ATM AAL5 pseudowire (0x0002) is
used to tunnel AAL5 frames between PE devices. The SIP-400 line card supports Layer 2 sublayer-specific
control words for AAL5 pseudowire. This is the only type of pseudowire allowed to carry control words.
When xconnect is configured on PVC in AAL0 mode, an ATM cell transport VCC pseudowire (type
0x0009) is used. When xconnect is configured on PVP in AAL0 mode, an ATM cell transport VPC
pseudowire (type 0x000A) is used. In both types of pseudowire, each L2TPv3 packet carries one ATM cell.
Cell packing is not supported.
ATM OAM Cells
The SIP-400 line card supports ATM OAM cells operating at VP and VC levels. F4 cells operate at the VP
level. They use the same VPI as the user data cells. However, they use two different reserved VCIs, as
follows:
• VCI = 3 Segment OAM F4 cells
• VCI = 4 End-to-end OAM F4 cells
OAM F5 cells operate at the VC level. They use the same VPI and VCI as the user cells. To distinguish
between data and OAM cells, the PTI field is used as follows:
• PTI = 100 (4) Segment OAM F5 cells processed by the next segment
• PTI =101 (5) End-to-end OAM F5 cells which are only processed by end stations terminating an ATM
link
In the ingress direction (CE to PE), because of OAM emulation not supported in the 12.2(33)SRC release,
all OAM cells are handled the same as data cells on the SIP-400 line card. Both segment and end-to-end
OAM F4/F5 cells are tunneled over L2TPv3 to the remote PE device. They are sent transparently across the
IP core in L2TPv3 tunnels.
In the egress direction (PE to CE), the SIP-400 line card sends all OAM cells to the CE device similar to
sending ATM data cells.
Wide-Area Networking Configuration Guide: Layer 2 Services, Cisco IOS Release 12.4T
15
Layer 2 Tunneling Protocol Version 3
Restrictions for Layer 2 Tunneling Protocol Version 3
Wide-Area Networking Configuration Guide: Layer 2 Services, Cisco IOS Release 12.4T
16
Cisco 10720-Specific Restrictions
Restrictions for Layer 2 Tunneling Protocol Version 3
• Configure the ip tos value value command on each pseudowire to set the ToS field
• Configure the ip tos reflect command on each pseudowire to allow the inner IP ToS copied to the
outer IP ToS
• By default, Layer 2 QoS is automatically reflected to outer IP ToS. For example, if the Layer 2 frame
is an 802.Q frame, the 3-bit priority field in the VLAN tag is copied to the precedence bits in the outer
IP ToS field
When the ip tos reflect command is configured, the SIP-400 line card searches for an IP header inside each
received Layer 2 frame. If an IP packet is found, its ToS is copied to the outer ToS. Otherwise, the ToS
value in the L2TPv3 IP header is set 0.
When neither the ip tos value command nor the ip tos reflect command is configured, the SIP-400 line
card searches for a VLAN tag in each Ethernet frame. If a tag is found, the inner Layer 2 QoS is reflected
to the outer IP ToS. Otherwise, the L2TPv3 IP ToS field is set 0.
Wide-Area Networking Configuration Guide: Layer 2 Services, Cisco IOS Release 12.4T
17
Layer 2 Tunneling Protocol Version 3
Restrictions for Layer 2 Tunneling Protocol Version 3
Note Native L2TPv3 tunnel sessions on customer-facing ISE and Engine 5 line cards can coexist with tunnel
sessions that use a tunnel server card.
Different combinations of engine types are supported as customer-facing and backbone-facing line cards
for encapsulation and decapsulation in L2TPv3 tunneling.
Note If you have native cards (engine 3 and engine 5) in the PE routers and the Tunnel Server Card is configured
to support the non-native cards, then you must remove the TSC configuration by using the no hw-module
slot<number> mode server command. If the TSC configuration exists in the PE router and the TSC card is
removed, all the tunnels will fail.
L2TPv3 Encapsulation
When a Layer 2 packet arrives on a customer-facing interface, if the interface is bound to an L2TPv3
tunnel, L2TPv3 encapsulation is supported as follows:
• If the customer-facing line card is engine 2 or an earlier engine type, the line card forwards the packet
to the tunnel server card, which performs L2TPv3 encapsulation.
• If the customer-facing line card is ISE or engine 5, the line card performs L2TPv3 encapsulation.
A backbone-facing line card of any engine type sends the packet across the service provider backbone
network.
L2TPv3 Decapsulation
When an L2TPv3 packet arrives on a backbone-facing interface, L2TPv3 decapsulation is supported as
follows:
• If the backbone-facing line card is non-ISE/E5 (any engine type besides ISE and Engine 5), the line
card forwards the packet to the tunnel server card. The tunnel server card determines if the packet is
bound to an Engine 2 (or earlier engine) or an ISE/E5 customer-facing line card.
◦ If the packet is bound to an Engine 2 (or earlier engine) customer-facing line card, the TSC
completes packet decapsulation and sends the Layer 2 packet to the customer-facing interface.
◦ If the packet is bound to an ISE/E5 customer-facing line card, the TSC sends the packet to the line
card for further decapsulation.
• If the backbone-facing line card is ISE/E5, the line card determines if the packet is bound to an Engine
2 (or earlier engine) or an ISE/E5 customer-facing line card.
◦ If the packet is bound to an Engine 2 (or earlier engine) customer-facing line card, the packet is
sent to the tunnel server card for further decapsulation. Afterward, the decapsulated Layer 2
packet is sent to the Engine 2 (or earlier engine) customer-facing interface.
◦ If the packet is bound to an ISE/E5 customer-facing line card, the packet is sent to the ISE/E5 line
card for decapsulation.
Wide-Area Networking Configuration Guide: Layer 2 Services, Cisco IOS Release 12.4T
18
Layer 2 Tunneling Protocol Version 3
Restrictions for Layer 2 Tunneling Protocol Version 3
Note If no tunnel server card is installed, L2TPv3 decapsulation is not supported in the following conditions: -
The customer-facing line card is Engine 2 or an earlier engine line card. - The customer-facing line card is
ISE/E5 and the backbone-facing line card is non-ISE/5. In these cases, packets received on the backbone-
facing interface are dropped. The following warning message is logged: L2TPv3 decapsulation packet
dropped.
Wide-Area Networking Configuration Guide: Layer 2 Services, Cisco IOS Release 12.4T
19
Layer 2 Tunneling Protocol Version 3
Restrictions for Layer 2 Tunneling Protocol Version 3
Note Starting in Cisco IOS Release 12.0(30)S, you must first remove all L2TPv3 xconnect attachment circuits on
all Engine-2 or earlier engine customer-facing line cards before you enter the no hw-module slot slot-
number mode server command to unconfigure a tunnel server card.
Wide-Area Networking Configuration Guide: Layer 2 Services, Cisco IOS Release 12.4T
20
Layer 2 Tunneling Protocol Version 3
Restrictions for Layer 2 Tunneling Protocol Version 3
The following restrictions apply to L2TPv3 sessions configured on IP Services Engine (ISE) and Engine 5
edge line cards:
• Native L2TPv3 sessions are supported only if the feature mode is configured on a customer-facing
ISE/E5 line card.
To configure the feature mode, enter the hw-module slot slot-number np mode feature command. You
cannot unconfigure the feature mode on a customer-facing ISE/E5 line card until all L2TPv3 xconnect
attachment circuits on the line card are removed.
A backbone-facing ISE/E5 line card can operate in any mode and no special feature mode configuration is
required.
• Starting in Cisco IOS Release 12.0(31)S, 802.1q (VLAN) is supported as an L2TPv3 payload in a
native L2TPv3 tunnel session configured on ISE/E5 interfaces.
• Native L2TPv3 tunnel sessions on customer-facing ISE/E5 line cards can coexist with tunnel sessions
that use a tunnel server card.
• L2TPv3 encapsulation on a customer-facing ISE/E5 line card does not support the L2TPv3 Layer 2
Fragmentation feature.
This means that if you enter the ip pmtu command to enable the discovery of a path maximum
transmission unit (PMTU) for L2TPv3 traffic, and a customer IP packet exceeds the PMTU, IP
fragmentation is not performed on the IP packet before L2TPv3 encapsulation. These packets are dropped.
For more information, see the L2TPv3 Layer 2 Fragmentation, page 42.
The first two tables below show the ISE and E5 interfaces that are supported in a native L2TPv3 tunnel on:
• Customer-facing line cards (ingress encapsulation and egress decapsulation)
• Backbone-facing line cards (ingress decapsulation and egress encapsulation)
Wide-Area Networking Configuration Guide: Layer 2 Services, Cisco IOS Release 12.4T
21
Layer 2 Tunneling Protocol Version 3
Restrictions for Layer 2 Tunneling Protocol Version 3
1 For more information about the shared port adapters (SPAs) and SPA interface platforms (SIPs) supported on Cisco 12000 series routers, refer to the Cisco
12000 Series Router SIP and SPA Hardware Installation Guide .
2 The 4-port Gigabit Ethernet ISE line card supports VLAN membership (port-based and VLAN-based) in a native L2TPv3 tunnel session on customer-
facing and backbone-facing interfaces. See VLAN for more information.
Wide-Area Networking Configuration Guide: Layer 2 Services, Cisco IOS Release 12.4T
22
Layer 2 Tunneling Protocol Version 3
Restrictions for Layer 2 Tunneling Protocol Version 3
The table below describes the L2TPv3 features supported in a native L2TPv3 tunnel session and the
customer-facing ISE/E5 line cards that support each feature. Note that although native L2TPv3 sessions do
not support L2TPv3 Layer 2 (IP packet) fragmentation and slow-path switching features, ATM (as a
transport type) and QoS features (traffic policing and shaping) across all media types are supported.
Native L2TPv3 Feature ISE Line Cards (Customer- E5 Line Cards (Customer-
Facing) Supported Facing) Supported
Native L2TPv3 tunneling (fast- 4-port OC-3 POS ISE 8-port Engine 5 SPAs: - 1-port
path) OC-3 POS ISE 16-port OC-3 channelized STM-1c/OC-3c to
POS ISE 4-port OC-12 POS ISE DS0 - 8-port channelized T1/E1 -
Supports the same L2TPv3
1-port OC-48 POS ISE 4-port 8-port fast Ethernet - 5-port
features that are supported by
OC-3 ATM ISE 4-port OC-12 Gigabit Ethernet - 10-port Gigabit
server card-based L2TPv3
ATM ISE 4-port Gigabit Ethernet Ethernet - 4-port OC-3/STM4
tunneling, except that L2TPv3
Layer 2 (IP packet) fragmentation ISE 1-port channelized OC-12 POS - 8-port OC-3/STM4 POS -
(DS1) ISE ISE SPAs: - 2-port 2-port OC-12/STM4 POS - 4-port
is not supported.
T3/E3 Serial - 4-port T3/E3 Serial OC-12/STM4 POS - 8-port
For more information, s ee the - 2-port channelized T3 to DS0 - OC-12/STM4 POS
"L2TPv3 Features, page 38" 4-port channelized T3 to DS0
section.
L2TP class and pseudowire class 4-port OC-3 POS ISE 8-port Engine 5 SPAs: - 1-port
configuration OC-3 POS ISE 16-port OC-3 channelized STM-1c/OC-3c to
You can create an L2TP template POS ISE 4-port OC-12 POS ISE DS0 - 8-port channelized T1/E1 -
1-port OC-48 POS ISE 4-port 8-port Fast Ethernet - 5-port
of L2TP control channel
OC-3 ATM ISE 4-port OC-12 Gigabit Ethernet - 10-port Gigabit
parameters that can be inherited
ATM ISE 4-port Gigabit Ethernet Ethernet - 4-port OC-3/STM4
by different pseudowire classes
ISE 1-port channelized OC-12 POS - 8-port OC-3/STM4 POS -
configured on a PE router.
(DS1) ISE ISE SPAs: - 2-port 2-port OC-12/STM4 POS - 4-port
You can also configure a T3/E3 Serial - 4-port T3/E3 Serial OC-12/STM4 POS - 8-port
pseudowire template of L2TPv3 - 2-port channelized T3 to DS0 - OC-12/STM4 POS
session-level parameters that can 4-port channelized T3 to DS0
be used to configure the transport
Layer 2 traffic over an xconnect
attachment circuit.
For more information, s ee the
sections "Configuring L2TP
Control Channel Parameters,
page 56" and
"GUID-48F43492-0A1E-44FD-8
485-E82C3194E89D."
Wide-Area Networking Configuration Guide: Layer 2 Services, Cisco IOS Release 12.4T
23
Layer 2 Tunneling Protocol Version 3
Restrictions for Layer 2 Tunneling Protocol Version 3
Native L2TPv3 Feature ISE Line Cards (Customer- E5 Line Cards (Customer-
Facing) Supported Facing) Supported
L2TPv3 tunnel marking and 4-port OC-3 POS ISE 8-port Engine 5 SPAs: - 1-port
traffic policing on the following OC-3 POS ISE 16-port OC-3 channelized STM-1c/OC-3c to
types of ingress interfaces, when POS ISE 4-port OC-12 POS ISE DS0 - 8-port channelized T1/E1 -
bound to a native L2TPv3 tunnel 1-port OC-48 POS ISE 4-port 8-port Fast Ethernet - 5-port
session: OC-3 ATM ISE 4-port OC-12 Gigabit Ethernet - 10-port Gigabit
- 802.1q (VLAN) - ATM - ATM ISE 4-port Gigabit Ethernet Ethernet - 4-port OC-3/STM4
Channelized - Ethernet - Frame ISE 1-port channelized OC-12 POS - 8-port OC-3/STM4 POS -
Relay DLCIs (DS1) ISE ISE SPAs: - 2-port 2-port OC-12/STM4 POS - 4-port
T3/E3 serial - 4-port T3/E3 serial OC-12/STM4 POS - 8-port
The following conform, exceed, - 2-port channelized T3 to DS0 - OC-12/STM4 POS
and violate values for the 4-port channelized T3 to DS0
actionargument are supported for
the police command when QoS
policies are configured on an
ISE/E5 ingress interface bound to
a native L2TPv3 tunnel.
The setcommands can also be
used to set the IP precedence or
DSCP value in the tunnel header
of a L2TPv3 tunneled packet on
an ingress interface.
conform-action actions :
set-prec-tunnel set-dscp-tunnel
transmit
exceed-action actions :
drop set-clp (ATM only)set-
dscp-tunnel set-dscp-tunnel and
set-clp(ATM only)set-dscp-
tunnel and set-frde (Frame Relay
only)set-frde(Frame Relay
only)set-prec-tunnel set-prec-
tunnel and set-clp(ATM
only)set-prec-tunnel and set-
frde (Frame Relay only)transmit
violate-action actions :
drop
See " QoS: Tunnel Marking for
L2TPv3 Tunnels " for
information about how to use the
L2TPv3 tunnel marking and
traffic policing features on
Engine 2 (and earlier engine)
interfaces bound to a TSC-based
L2TPv3 tunnel session.
Wide-Area Networking Configuration Guide: Layer 2 Services, Cisco IOS Release 12.4T
24
Layer 2 Tunneling Protocol Version 3
Restrictions for Layer 2 Tunneling Protocol Version 3
Native L2TPv3 Feature ISE Line Cards (Customer- E5 Line Cards (Customer-
Facing) Supported Facing) Supported
Frame Relay DLCI-to-DLCI 4-port OC-3 POS ISE 8-port Engine 5 SPAs: - 1-port
tunneling OC-3 POS ISE 16-port OC-3 channelized STM-1c/OC-3c to
POS ISE 4-port OC-12 POS ISE DS0 - 8-port channelized T1/E1 -
Frame Relay DLCIs are
connected to create an end-to-end 1-port OC-48 POS ISE 1-port 4-port OC-3/STM4 POS - 8-port
channelized OC-12 (DS1) ISE OC-3/STM4 POS - 2-port OC-12/
Frame Relay PVC. Traffic
ISE SPAs: - 2-port T3/E3 serial - STM4 POS - 4-port OC-12/
arriving on a DLCI on one
4-port T3/E3 serial - 2-port STM4 POS - 8-port OC-12/
interface is forwarded across an
channelized T3 to DS0 - 4-port STM4 POS - 2-port OC-48/
L2TPv3 tunnel to another DLCI
channelized T3 to DS0 STM16 POS/RPR
on the other interface.
For more information, s ee
"DLCI-to-DLCI Switching" in
the "Frame Relay, page 49"
section.
ATM single cell and packed cell 4-port OC-3 ATM ISE 4-port Not supported
relay: VC mode OC-12 ATM ISE
Each VC is mapped to a single
L2TPv3 tunnel session. The
following ATM cell relay modes
are supported:
• ATM cells arriving at an
ATM interface with the
specified VPI and VCI are
encapsulated into a single
L2TP packet (single cell
relay).
• ATM cells arriving at an
ingress ATM interface are
packed into L2TPv3 data
packets and transported to
the egress ATM interface
(packed cell relay).
For more information, s ee the
"ATM, page 52" section.
Wide-Area Networking Configuration Guide: Layer 2 Services, Cisco IOS Release 12.4T
25
Layer 2 Tunneling Protocol Version 3
Restrictions for Layer 2 Tunneling Protocol Version 3
Native L2TPv3 Feature ISE Line Cards (Customer- E5 Line Cards (Customer-
Facing) Supported Facing) Supported
ATM single cell and packed cell 4-port OC-3 ATM ISE 4-port Not supported
relay: VP mode OC-12 ATM ISE
ATM cells arriving into a
predefined PVP on the ATM
interface are transported to a
predefined PVP on the egress
ATM interface. The following
ATM cell relay modes are
supported:
• A single ATM cell is
encapsulated into each
L2TPv3 data packet (single
cell relay).
• Multiple ATM cells are
packed into a single L2TPv3
data packet (packed cell
relay).
For more information, s ee the
"ATM, page 52" section.
ATM single cell relay and packed 4-port OC-3 ATM ISE 4-port Not supported
cell relay: Port mode OC-12 ATM ISE
ATM cells arriving at an ingress
ATM interface are encapsulated
into L2TPv3 data packets and
transported to the egress ATM
interface.The following ATM cell
relay modes are supported:
• A single ATM cell is
encapsulated into each
L2TPv3 data packet (single
cell relay).
• Multiple ATM cells are
packed into a single L2TPv3
data packet (packed cell
relay).
For more information, s ee the
"ATM, page 52" section.
Wide-Area Networking Configuration Guide: Layer 2 Services, Cisco IOS Release 12.4T
26
Layer 2 Tunneling Protocol Version 3
Restrictions for Layer 2 Tunneling Protocol Version 3
Native L2TPv3 Feature ISE Line Cards (Customer- E5 Line Cards (Customer-
Facing) Supported Facing) Supported
ATM AAL5 PVC tunneling 4-port OC-3 ATM ISE 4-port Not supported
OC-12 ATM ISE
The ATM AAL5 payload of an
AAL5 PVC is mapped to a single
L2TPv3 session.
For more information, s ee "ATM
AAL5" in the "ATM, page 52"
section.
OAM emulation mode for ATM 4-port OC-3 ATM ISE 4-port Not supported
AAL5 OC-12 ATM ISE
OAM local emulation mode for
ATM AAL5 payloads is
supported. Instead of being
passed through the pseudowire,
OAM cells are terminated and
handled locally. On the L2TPv3-
based pseudowire, the CE device
sends an SLI message across the
pseudowire to notify the peer PE
node about the defect, rather than
tearing down the session.
For more information, s ee "ATM
AAL5 over L2TPv3: OAM Local
Emulation Mode" in the "ATM,
page 52" section.
OAM transparent mode for ATM 4-port OC-3 ATM ISE 4-port Not supported
AAL5 OC-12 ATM ISE
OAM transparent mode for ATM
AAL5 payloads is supported. The
PE routers pass OAM cells
transparently across the L2TPv3
tunnel.
For more information, s ee "ATM
AAL5 over L2TPv3: OAM
Transparent Mode" in the "ATM,
page 52" section.
Ethernet port-to-port tunneling 4-port Gigabit Ethernet ISE Engine 5 SPAs: - 8-port Fast
Ethernet - 5-port Gigabit Ethernet
Ethernet frames are tunneled
- 10-port Gigabit Ethernet
through an L2TP pseudowire.
For more information, s ee the
"Ethernet, page 51" section.
Wide-Area Networking Configuration Guide: Layer 2 Services, Cisco IOS Release 12.4T
27
Layer 2 Tunneling Protocol Version 3
Restrictions for Layer 2 Tunneling Protocol Version 3
Native L2TPv3 Feature ISE Line Cards (Customer- E5 Line Cards (Customer-
Facing) Supported Facing) Supported
VLAN-to-VLAN tunneling 4-port Gigabit Ethernet ISE Engine 5 SPAs: - 8-port Fast
Ethernet - 5-port Gigabit Ethernet
The following types of VLAN
- 10-port Gigabit Ethernet
membership are supported in an
L2TPv3 tunnel:
• Port-based, in which undated
Ethernet frames are received
• VLAN-based, in which
tagged Ethernet frames are
received
For more information, see the
"VLAN, page 51" section.
Dual rate, 3-Color Marker for 4-port OC-3 POS ISE 8-port Engine 5 SPAs: - 1-port
traffic policing on Frame Relay OC-3 POS ISE 16-port OC-3 channelized STM-1c/OC-3c to
DLCIs of ingress interfaces, when POS ISE 4-port OC-12 POS ISE DS0 - 8-port channelized T1/E1 -
bound to a native L2TPv3 tunnel 1-port OC-48 POS ISE 4-port 4-port OC-3/STM4 POS - 8-port
session3 Gigabit Ethernet ISE 1-port OC-3/STM4 POS - 2-port OC-12/
channelized OC-12 (DS1) ISE STM4 POS - 4-port OC-12/
The dual rate, 3-Color Marker in
ISE SPAs: - 2-port T3/E3 serial - STM4 POS - 8-port OC-12/
color-aware and color-blind
4-port T3/E3 serial - 2-port STM4 POS - 2-port OC-48/
modes, as defined in RFC 2698
channelized T3 to DS0 - 4-port STM16 POS/RPR
for traffic policing, is supported
channelized T3 to DS0
on ingress ISE interfaces to
classify packets.
For more information, refer to "
QoS: Color-Aware Policer ."
3 Although the dual-rate, 3-Color Marker policer is not supported on ATM ISE/E5 interfaces, the ATM Forum Traffic Management Version 4.1-compliant
Generic Cell Rate Algorithm (GCRA) policer is supported. The GCRA policer uses rate, peak rate, delay tolerance, and ATM maximum burst size, and
supports the following options: - set-dscp-tunnel - set-dscp-tunnel and set-clp-transmit - set-prec-tunnel - set-prec-tunnel and set-clp-transmit
Wide-Area Networking Configuration Guide: Layer 2 Services, Cisco IOS Release 12.4T
28
Layer 2 Tunneling Protocol Version 3
Restrictions for Layer 2 Tunneling Protocol Version 3
Native L2TPv3 Feature ISE Line Cards (Customer- E5 Line Cards (Customer-
Facing) Supported Facing) Supported
Traffic shaping on ATM and 4-port OC-3 POS ISE 8-port Engine 5 SPAs: - 1-port
Frame Relay egress interfaces OC-3 POS ISE 16-port OC-3 channelized STM-1c/OC-3c to
based on class map configuration POS ISE 4-port OC-12 POS ISE DS0 - 8-port channelized T1/E1 -
is supported. 1-port OC-48 POS ISE 4-port 4-port OC-3/STM4 POS - 8-port
OC-3 ATM ISE 4-port OC-12 OC-3/STM4 POS - 2-port OC-12/
Traffic shaping is supported on
ATM ISE 4-port Gigabit Ethernet STM4 POS - 4-port OC-12/
ATM egress interfaces for the
ISE 1-port channelized OC-12 STM4 POS - 8-port OC-12/
following service categories:
(DS1) ISE ISE SPAs: - 2-port STM4 POS - 2-port OC-48/
• Lowest priority: UBR clear channel T3/E3 - 4-port clear STM16 POS/RPR
(unspecified bit rate) channel T3/E3 - 2-port
• Second priority: VBR-nrt channelized T3 to DS0 - 4-port
(variable bit rate nonreal- channelized T3 to DS0
time)
• Highest priority: VBR-rt
(VBR real time)
• Highest priority: CBR
(constant bit rate) 4
For more information, see "
QoSTraffic Shaping on ATM
Line Cards for the Cisco 12000
Series ."
Layer 2 Virtual Private Network 4-port OC-3 POS ISE 8-port Engine 5 SPAs: - 1-port
(L2VPN) interworking OC-3 POS ISE 16-port OC-3 channelized STM-1c/OC-3c to
POS ISE 4-port OC-12 POS ISE DS0 - 8-port channelized T1/E1 -
L2VPN interworking allows
attachment circuits using different 1-port OC-48 POS ISE 4-port 8-port Fast Ethernet - 8-port
Layer 2 encapsulation types to be OC-3 ATM ISE 4-port OC-12 10/100 Ethernet - 1-port 10-
ATM ISE 4-port Gigabit Ethernet Gigabit Ethernet - 2-port Gigabit
connected over an L2TPv3
ISE 1-port channelized OC-12 Ethernet - 5-port Gigabit Ethernet
pseudowire.
(DS1) ISE ISE SPAs: - 2-port - 10-port Gigabit Ethernet - 4-port
On an ISE interface configured T3/E3 serial - 4-port T3/E3 serial OC-3/STM4 POS - 8-port OC-3/
for L2TPv3 tunneling, the - 2-port channelized T3 to DS0 - STM4 POS - 2-port OC-12/
following Layer 2 encapsulations 4-port channelized T3 to DS0 STM4 POS - 4-port OC-12/
are supported: STM4 POS - 8-port OC-12/
ATM AAL5 Ethernet 802.1q STM4 POS - 2-port OC-48/
(VLAN) Frame Relay DLCI STM16 POS/RPR - 1-port
OC192/STM64 POS/RPR
On an Engine 5 interface
configured for L2TPv3 tunneling,
the following Layer 2
encapsulations are supported:
Ethernet 802.1q (VLAN) Frame
Relay DLCI
4 Note that VBR-rt and CBR share the same high priority shaping. ATM traffic shaping restricts traffic to the maximum rate configured on an ATM VC or
PVP with due priority among the respective service categories. You can configure queue limits for an ATM VC or PVP. The queue limits are dual
thresholds in which two different thresholds can be configured for CLP=1 cells and CLP0+1 cells. The CLP1 threshold must be lower than the queue limit
threshold so that CLP=1 cells are dropped earlier than CLP=0 cells when packets start to fill the queue.
Wide-Area Networking Configuration Guide: Layer 2 Services, Cisco IOS Release 12.4T
29
Frame Relay-Specific Restrictions
Restrictions for Layer 2 Tunneling Protocol Version 3
VLAN-Specific Restrictions
• A PE router is responsible only for static VLAN membership entries that are configured manually on
the router. Dynamic VLAN membership entries, entry aging, and membership discovery are not
supported.
• Implicit tagging for VLAN memberships operating on other layers, such as membership by MAC
address, protocol type at Layer 2, or membership by IP subnet at Layer 3, is not supported.
• Point-to-multipoint and multipoint-to-point configurations are not supported. There is a 1:1
relationship between an attachment circuit and an L2TPv3 session.
ATM AAL5 SDU over L2TPv3 and Single Cell Relay VC Mode over L2TPv3
Restrictions
• The ATM AAL5 OAM Emulation over L2TPv3 feature and the ATM Single Cell Relay VC Mode
over L2TPv3 feature are supported only on the Cisco 7200, Cisco 7301, Cisco 7304 NSE-100, Cisco
7304 NPE-G100, and Cisco 7500 series routers with ATM Deluxe PA-A3 interfaces.
Wide-Area Networking Configuration Guide: Layer 2 Services, Cisco IOS Release 12.4T
30
ATM Port Mode Cell Relay over L2TPv3 Restrictions
Restrictions for Layer 2 Tunneling Protocol Version 3
• Sequencing is supported only for ATM adaptation layer 5 (AAL5) service data unit (SDU) frames or
ATM cell relay packets. Sequencing of Operation, Administration, and Maintenance (OAM) cells is
not supported.
• Sequencing is supported in CEF mode. If sequencing is enabled with dCEF, all L2TP packets that
require sequence number processing are sent to the RSP module.
• L2TPv3 manual mode configuration does not support ATM alarm signaling over the pseudowire.
• The Cisco 7200 series and the Cisco 7500 series ATM driver cannot forward Resource Management
(RM) OAM cells over the packet-switched network (PSN) for available bit rate (ABR) ToS. The RM
cells are locally terminated.
Wide-Area Networking Configuration Guide: Layer 2 Services, Cisco IOS Release 12.4T
31
L2TPv3 Control Message Hashing Restrictions
Restrictions for Layer 2 Tunneling Protocol Version 3
Wide-Area Networking Configuration Guide: Layer 2 Services, Cisco IOS Release 12.4T
32
Layer 2 Tunneling Protocol Version 3
Restrictions for Layer 2 Tunneling Protocol Version 3
Wide-Area Networking Configuration Guide: Layer 2 Services, Cisco IOS Release 12.4T
33
Layer 2 Tunneling Protocol Version 3
Information About Layer 2 Tunneling Protocol Version 3
In the absence of a class to handle Layer 2 IPv6 traffic, the service policy is not accepted on a protocol
demultiplexing interface.
For detailed information about QoS configuration tasks and command syntax, refer to:
• Cisco IOS Quality of Service Solutions Configuration Guide
• Cisco IOS Quality of Service Solutions Command Reference
Wide-Area Networking Configuration Guide: Layer 2 Services, Cisco IOS Release 12.4T
34
Migration from UTI to L2TPv3
Information About Layer 2 Tunneling Protocol Version 3
L2TPv3 provides a method for delivering L2TP services over an IPv4 (non-UDP) backbone network. It
encompasses the signaling protocol as well as the packet encapsulation specification.
• Migration from UTI to L2TPv3, page 35
• L2TPv3 Operation, page 35
• L2TPv3 Benefits, page 37
• L2TPv3 Header Description, page 37
• L2TPv3 Features, page 38
• L2TPv3 and UTI Feature Comparison, page 47
• Supported L2TPv3 Payloads, page 49
• Supported Port Adapters for the Cisco 7200 Series and Cisco 7500 Series Routers, page 55
Note The UTI keepalive feature will not be migrated. The UTI keepalive feature will no longer be supported in
post-L2TPv3 releases. You should convert to using dynamic L2TPv3 sessions to preserve the functionality
provided by the UTI keepalive.
L2TPv3 Operation
L2TPv3 provides similar and enhanced services to replace the current UTI implementation, including the
following features:
• Xconnect for Layer 2 tunneling through a pseudowire over an IP network
• Layer 2 VPNs for PE-to-PE router service using xconnect that supports Ethernet, 802.1q (VLAN),
Frame Relay, HDLC, and PPP Layer 2 circuits, including both static (UTI-like) and dynamic (using
the new L2TPv3 signaling) forwarded sessions
The initial Cisco IOS Release 12.0(23)S features supported only the following features:
Wide-Area Networking Configuration Guide: Layer 2 Services, Cisco IOS Release 12.4T
35
Layer 2 Tunneling Protocol Version 3
Information About Layer 2 Tunneling Protocol Version 3
• Layer 2 tunneling (as used in an L2TP access concentrator, or LAC) to an attachment circuit, not
Layer 3 tunneling
• L2TPv3 data encapsulation directly over IP (IP protocol number 115), not using User Datagram
Protocol (UDP)
• Point-to-point sessions, not point-to-multipoint or multipoint-to-point sessions
• Sessions between the same Layer 2 protocols; for example, Ethernet-to-Ethernet, VLAN-to-VLAN,
but not VLAN-to-Ethernet or Frame Relay
The attachment circuit is the physical interface or subinterface attached to the pseudowire.
The figure below shows how the L2TPv3 feature is used for setting up VPNs using Layer 2 tunneling over
an IP network. All traffic between two customer network sites is encapsulated in IP packets carrying L2TP
data messages and sent across an IP network. The backbone routers of the IP network treat the traffic as
any other IP traffic and need not know anything about the customer networks.
In the figure above, the PE routers R1 and R2 provide L2TPv3 services. The R1 and R2 routers
communicate with each other using a pseudowire over the IP backbone network through a path comprising
the interfaces int1 and int2, the IP network, and interfaces int3 and int4.
In this example, the CE routers R3 and R4 communicate through a pair of xconnect Ethernet or VLAN
interfaces using an L2TPv3 session. The L2TPv3 session tu1 is a pseudowire configured between interface
int1 on R1 and interface int4 on R2. Any packet arriving on interface int1 on R1 is encapsulated and sent
through the pseudowire control channel (tu1) to R2. R2 decapsulates the packet and sends it on interface
int4 to R4. When R4 needs to send a packet to R3, the packet follows the same path in reverse.
Note the following features regarding L2TPv3 operation:
• All packets received on interface int1 are forwarded to R4. R3 and R4 cannot detect the intervening
network.
• For Ethernet interfaces, any packet received from LAN1 by R1 on Ethernet interface e1 are
encapsulated directly in IP and sent through the pseudowire session tu2 to R2 interface e2, where it is
sent on LAN2.
• A VLAN on an Ethernet interface can be mapped to an L2TPv3 session.
Wide-Area Networking Configuration Guide: Layer 2 Services, Cisco IOS Release 12.4T
36
L2TPv3 Benefits
Information About Layer 2 Tunneling Protocol Version 3
L2TPv3 Benefits
Simplifies Deployment of VPNs
L2TPv3 is an industry-standard Layer 2 tunneling protocol that ensures interoperability among vendors,
thus increasing customer flexibility and service availability.
Other Benefits
• Provides cookies for authentication
• Provides session state updates and multiple sessions
• Supports interworking (Ethernet-VLAN, Ethernet-QinQ, and VLAN-QinQ)
Each L2TPv3 packet contains an L2TPv3 header that includes a unique session ID representing one session
and a variable cookie length. The L2TPv3 session ID and the Tunnel Cookie field length are assigned
through the CLI. See the section "How to Configure L2TPv3, page 56" for more information on the CLI
commands for L2TPv3.
• Session ID, page 38
• Session Cookie, page 38
• Pseudowire Control Encapsulation, page 38
Wide-Area Networking Configuration Guide: Layer 2 Services, Cisco IOS Release 12.4T
37
L2TPv3 Features
Session ID
Session ID
The L2TPv3 session ID is similar to the UTI session ID, and identifies the session context on the
decapsulating system. For dynamic sessions, the value of the session ID is selected to optimize the context
identification efficiency of the decapsulating system. A decapsulation implementation may therefore elect
to support a smaller session ID bit field. In this L2TPv3 implementation, an upper value for the L2TPv3
session ID was set at 023. The L2TPv3 session ID value 0 is reserved for use by the protocol. For static
sessions, the session ID is manually configured.
Note The local session ID must be unique on the decapsulating system and is restricted to the least significant ten
bits.
Session Cookie
The L2TPv3 header contains a control channel cookie field that is similar to the UTI control channel key
field. However, the control channel cookie field has a variable length of 0, 4, or 8 bytes according to the
cookie length supported by a given platform for packet decapsulation. The control channel cookie length
can be manually configured for static sessions or dynamically determined for dynamic sessions.
The variable cookie length does not present a problem when the same platform is at both ends of an
L2TPv3 control channel. However, when different platforms interoperate across an L2TPv3 control
channel, both platforms need to encapsulate packets with a 4-byte cookie length.
L2TPv3 Features
L2TPv3 provides xconnect support for Ethernet, 802.1q (VLAN), Frame Relay, HDLC, and PPP.
• Control Channel Parameters, page 39
• L2TPv3 Control Channel Authentication Parameters, page 39
• Static L2TPv3 Sessions, page 40
• Dynamic L2TPv3 Sessions, page 41
• Sequencing, page 41
• Local Switching, page 41
• Distributed Switching, page 41
• L2TPv3 Layer 2 Fragmentation, page 42
• L2TPv3 Type of Service Marking, page 42
• Keepalive, page 42
• MTU Handling, page 43
• L2TPv3 Control Message Hashing, page 43
• L2TPv3 Control Message Rate Limiting, page 44
• L2TPv3 Digest Secret Graceful Switchover, page 44
Wide-Area Networking Configuration Guide: Layer 2 Services, Cisco IOS Release 12.4T
38
Layer 2 Tunneling Protocol Version 3
Control Channel Parameters
Wide-Area Networking Configuration Guide: Layer 2 Services, Cisco IOS Release 12.4T
39
Layer 2 Tunneling Protocol Version 3
Static L2TPv3 Sessions
PE1 Authentication PE2 Supporting Old PE2 Supporting New PE2 Supporting Old and
Configuration Authentication5 Authentication6 New Authentication7
None None None None
New integrity check New integrity check
5 Any PE software that supports only the old CHAP-like authentication system.
6 Any PE software that supports only the new message digest authentication and integrity checking authentication system, but does not understand
the old CHAP-like authentication system. This type of software may be implemented by other vendors based on the latest L2TPv3 draft.
7 Any PE software that supports both the old CHAP-like authentication and the new message digest authentication and integrity checking
authentication system.
Wide-Area Networking Configuration Guide: Layer 2 Services, Cisco IOS Release 12.4T
40
Layer 2 Tunneling Protocol Version 3
Dynamic L2TPv3 Sessions
Static configuration allows sessions to be established without dynamically negotiating control connection
parameters. This means that although sessions are displayed in the show l2tun session command output, no
control channel information is displayed in the show l2tun tunnel command output.
Note In an L2TPv3 static session, you can still run the L2TP control channel to perform peer authentication and
dead-peer detection. If the L2TP control channel cannot be established or is torn down because of a hello
failure, the static session is also torn down.
If you use a static L2TPv3 session, you cannot perform circuit interworking, such as LMI, because there is
no facility to exchange control messages. To perform circuit interworking, you must use a dynamic session.
Sequencing
Although the correct sequence of received Layer 2 frames is guaranteed by some Layer 2 technologies (by
the nature of the link such as a serial line) or by the protocol itself, forwarded Layer 2 frames may be lost,
duplicated, or reordered when they traverse a network as IP packets. If the Layer 2 protocol does not
provide an explicit sequencing mechanism, you can configure L2TP to sequence its data packets according
to the data channel sequencing mechanism described in the L2TPv3 IETF l2tpext working group draft.
A receiver of L2TP data packets mandates sequencing through the Sequencing Required AV pair when the
session is being negotiated. A sender (or one that is manually configured to send sequenced packets) that
receives this AV pair uses the Layer 2-specific pseudowire control encapsulation defined in L2TPv3.
You can configure L2TP to drop only out-of-order packets; you cannot configure L2TP to deliver the
packets out-of-order. No reordering mechanism is available.
Interworking is not allowed when sequencing is enabled.
Local Switching
Local switching (from one port to another port in the same router) is supported for both static and dynamic
sessions. You must configure separate IP addresses for each xconnect statement.
See the section "GUID-A5E30080-938F-4581-B0A2-0593CA31629B" for an example of how to configure
local port switching.
Distributed Switching
Distributed CEF switching is supported for L2TP on the Cisco 7500 series routers.
Wide-Area Networking Configuration Guide: Layer 2 Services, Cisco IOS Release 12.4T
41
Layer 2 Tunneling Protocol Version 3
L2TPv3 Layer 2 Fragmentation
Note For the Cisco 7500 series, sequencing is supported, but all L2TP packets that require sequence number
processing are sent to the RSP.
Keepalive
Wide-Area Networking Configuration Guide: Layer 2 Services, Cisco IOS Release 12.4T
42
Layer 2 Tunneling Protocol Version 3
MTU Handling
The keepalive mechanism for L2TPv3 extends only to the endpoints of the tunneling protocol. L2TP has a
reliable control message delivery mechanism that serves as the basis for the keepalive mechanism. The
keepalive mechanism consists of an exchange of L2TP hello messages.
If a keepalive mechanism is required, the control plane is used, although it may not be used to bring up
sessions. You can configure sessions manually.
In the case of static L2TPv3 sessions, a control channel between the two L2TP peers is negotiated through
the exchange of start control channel request (SCCRQ), SCCRP, and SCCCN control messages. The
control channel is responsible for maintaining only the keepalive mechanism through the exchange of hello
messages.
The interval between hello messages is configurable per control channel. If one peer detects that the other
peer has gone down through the keepalive mechanism, it sends a StopCCN control message and then
notifies all the pseudowires to the peer about the event. This notification results in the teardown of both
manually configured and dynamic sessions.
MTU Handling
It is important that you configure a Maximum Transmission Unit (MTU) appropriate for each L2TPv3
tunneled link. The configured MTU size ensures the following:
• The lengths of the tunneled Layer 2 frames fall below the MTU of the destination attachment circuit.
• The tunneled packets are not fragmented, which forces the receiving PE to reassemble them.
L2TPv3 handles the MTU as follows:
• The default behavior is to fragment packets that are larger than the session MTU.
• If you enable the ip dfbit set command in the pseudowire class, the default MTU behavior changes so
that any packets that cannot fit within the tunnel MTU are dropped.
• If you enable the ip pmtu command in the pseudowire class, the L2TPv3 control channel participates
in the path MTU (PMTU) discovery.
If you enable this feature, the following processing is performed:
• Internet Control Message Protocol (ICMP) unreachable messages sent back to the L2TPv3 router are
deciphered and the tunnel MTU is updated accordingly. To receive ICMP unreachable messages for
fragmentation errors, the Don’t Fragment (DF) bit in the tunnel header is either set according to the DF
bit value received from the CE device or set statically if the ip dfbit set option is enabled. The tunnel
MTU is periodically reset to the default value based on a periodic timer.
• ICMP unreachable messages are sent back to the clients on the CE side. ICMP unreachable messages
are sent to the CE whenever IP packets arrive on the CE-PE interface and have a packet size greater
than the tunnel MTU. A Layer 2 header calculation is performed before the ICMP unreachable
message is sent to the CE.
Wide-Area Networking Configuration Guide: Layer 2 Services, Cisco IOS Release 12.4T
43
Layer 2 Tunneling Protocol Version 3
L2TPv3 Control Message Rate Limiting
Wide-Area Networking Configuration Guide: Layer 2 Services, Cisco IOS Release 12.4T
44
Layer 2 Tunneling Protocol Version 3
L2TPv3 Pseudowire
The L2TPv3 Digest Secret Graceful Switchover feature allows two control channel passwords to be
configured simultaneously, so a new control channel password can be enabled without first removing the
old password. Established tunnels are rapidly updated with the new password, but continue to use the old
password until it is removed from the configuration. This allows authentication to continue normally with
peer PE routers that have not yet been updated to use the new password. After all peer PE routers are
configured with the new password, the old password can be removed from the configuration.
During the period when both a new and an old password are configured, authentication will occur only with
the new password if the attempt to authenticate using the old password fails.
L2TPv3 Pseudowire
The pseudowire class configuration procedure creates a configuration template for the pseudowire. Use this
template or class to configure session-level parameters for L2TPv3 sessions that are used to transport
attachment circuit traffic over the pseudowire.
The pseudowire configuration specifies the characteristics of the L2TPv3 signaling mechanism, including
the data encapsulation type, the control protocol, sequencing, Layer 3 fragmentation, payload-specific
options, and IP properties. The setting that determines whether signaling is used to set up the pseudowire is
also included.
If you specify the encapsulation l2tpv3 command, you cannot remove it by using the no encapsulation
l2tpv3 command. You also cannot change the command setting by using the encapsulation mpls
command. These methods result in the following error message:
Encapsulation changes are not allowed on an existing pw-class.
To remove the command, you must delete the pseudowire by using the no pseudowire-class command. To
change the type of encapsulation, remove the pseudowire by using the no pseudowire-class command,
reestablish the pseudowire, and specify the new encapsulation type.
Wide-Area Networking Configuration Guide: Layer 2 Services, Cisco IOS Release 12.4T
45
Layer 2 Tunneling Protocol Version 3
Control Message Statistics and Conditional Debugging Command Enhancements
Wide-Area Networking Configuration Guide: Layer 2 Services, Cisco IOS Release 12.4T
46
L2TPv3 and UTI Feature Comparison
L2TPv3 Custom Ethertype for Dot1q and QinQ Encapsulations
SoO enabled if it has two or more CPEs that are connected to different PEs and includes at least one non-
PE link between them.
SoO is a BGP extended community attribute used to identify when a prefix that originated from a customer
site is re-advertised back into that site from a backdoor link. The following format can be used to address
the SoO extended community:
<Customer-AS>:<Site-ID>
SoO can now be configured either using inbound route-maps or using the per-neighbor neighbor soo
command. The SoO value set through the neighbor soo command should override the legacy inbound
route-map settings when both are configured at the same time.
Wide-Area Networking Configuration Guide: Layer 2 Services, Cisco IOS Release 12.4T
47
Layer 2 Tunneling Protocol Version 3
L2TPv3 Custom Ethertype for Dot1q and QinQ Encapsulations
L2TPv3 Layer 2 (IP packet) Supported on the Cisco 7200 Not supported
fragmentation through an L2TPv3 series and Cisco 7500 series
session routers in Cisco IOS Release
12.0(24)S.
Supported on the Cisco 10720
Internet router in Cisco IOS
Release 12.0(32)SY.
MIB support IfTable MIB for the attachment IfTable MIB for the session
circuit. interface.
Wide-Area Networking Configuration Guide: Layer 2 Services, Cisco IOS Release 12.4T
48
Supported L2TPv3 Payloads
Frame Relay
Note Each L2TPv3 tunneled packet includes the entire Layer 2 frame of the payloads described in this section. If
sequencing is required (see the Sequencing, page 41 section), a Layer 2-specific sublayer (see the
Pseudowire Control Encapsulation section) is included in the L2TPv3 header to provide the Sequence
Number field.
Frame Relay
• Port-to-Port Trunking, page 49
• DLCI-to-DLCI Switching, page 49
• PVC Status Signaling, page 50
• Sequencing, page 50
• ToS Marking, page 50
• CIR Guarantees, page 50
• Binding L2TPv3 Sessions to Multilink Frame Relay Interfaces, page 51
Port-to-Port Trunking
Port-to-port trunking is where two CE Frame Relay interfaces are connected as by a leased line (UTI raw
mode). All traffic arriving on one interface is forwarded transparently across the pseudowire to the other
interface.
For example, in Port-to-Port Trunking, page 49, if the two CE routers are connected by a virtual leased
line, the PE routers transparently transport all packets between CE R3 and CE R4 over a pseudowire. PE
R1 and PE R2 do not examine or change the DLCIs, and do not participate in the LMI protocol. The two
CE routers are LMI peers. There is nothing Frame Relay-specific about this service as far as the PE routers
are concerned. The CE routers should be able to use any encapsulation based on HDLC framing without
needing to change the provider configuration.
DLCI-to-DLCI Switching
Frame Relay DLCI-to-DLCI switching is where individual Frame Relay DLCIs are connected to create an
end-to-end Frame Relay PVC. Traffic arriving on a DLCI on one interface is forwarded across the
pseudowire to another DLCI on the other interface.
For example, in DLCI-to-DLCI Switching, page 49, CE R3 and PE R1 are Frame Relay LMI peers; CE R4
and PE R2 are also LMI peers. You can use a different type of LMI between CE R3 and PE R1 compared
to what you use between CE R4 and PE R2.
Wide-Area Networking Configuration Guide: Layer 2 Services, Cisco IOS Release 12.4T
49
Layer 2 Tunneling Protocol Version 3
PVC Status Signaling
The CE devices may be a Frame Relay switch or end-user device. Each Frame Relay PVC is composed of
multiple segments. The DLCI value is local to each segment and is changed as traffic is switched from
segment to segment. Note that, in DLCI-to-DLCI Switching, page 49, two Frame Relay PVC segments are
connected by a pseudowire. Frame Relay header flags (FECN, BECN, C/R, DE) are preserved across the
pseudowire.
Sequencing
Frame Relay provides an ordered service in which packets sent to the Frame Relay network by one end-
user device are delivered in order to the other end-user device. When switching is occurring over the
pseudowire, packet ordering must be able to be preserved with a very high probability to closely emulate a
traditional Frame Relay service. If the CE router is not using a protocol that can detect misordering itself,
configuring sequence number processing may be important. For example, if the Layer 3 protocol is IP and
Frame Relay is therefore used only for encapsulation, sequencing is not required. To detect misordering,
you can configure sequence number processing separately for transmission or reception. For more
information about how to configure sequencing, see the section "Configuring a Negotiated L2TPv3 Session
for Local HDLC Switching Example, page 101."
ToS Marking
The ToS bytes in the IP header can be statically configured or reflected from the internal IP header. The
Frame Relay discard eligible (DE) bit does not influence the ToS bytes.
CIR Guarantees
Wide-Area Networking Configuration Guide: Layer 2 Services, Cisco IOS Release 12.4T
50
Layer 2 Tunneling Protocol Version 3
Binding L2TPv3 Sessions to Multilink Frame Relay Interfaces
To provide committed information rate (CIR) guarantees, you can configure a queueing policy that
provides bandwidth to each DLCI to the interface facing the customer network on the egress PE.
Note CIR guarantees are supported only on the Cisco 7500 series with dCEF. This support requires that the core
has sufficient bandwidth to handle all CE traffic and that the congestion occurs only at the egress PE.
Ethernet
An Ethernet frame arriving at a PE router is simply encapsulated in its entirety with an L2TP data header.
At the other end, a received L2TP data packet is stripped of its L2TP data header. The payload, an Ethernet
frame, is then forwarded to the appropriate attachment circuit.
Because the L2TPv3 tunneling protocol serves essentially as a bridge, it need not examine any part of an
Ethernet frame. Any Ethernet frame received on an interface is tunneled, and any L2TP-tunneled Ethernet
frame is forwarded out of the interface.
Note Because of the way in which L2TPv3 handles Ethernet frames, an Ethernet interface must be configured to
promiscuous mode to capture all traffic received on the Ethernet segment attached to the router. All frames
are tunneled through the L2TP pseudowire.
VLAN
L2TPv3 supports VLAN memberships in the following ways:
• Port-based, in which undated Ethernet frames are received
• VLAN-based, in which tagged Ethernet frames are received
In L2TPv3, Ethernet xconnect supports port-based VLAN membership and the reception of tagged
Ethernet frames. A tagged Ethernet frame contains a tag header (defined in 802.1Q), which is 4 bytes long
and consists of a 2-byte tag protocol identifier (TPID) field and a 2-byte tag control information (TCI)
field. The TPID indicates that a TCI follows. The TCI is further broken down into the following three
fields:
• User priority field
Wide-Area Networking Configuration Guide: Layer 2 Services, Cisco IOS Release 12.4T
51
Layer 2 Tunneling Protocol Version 3
HDLC
Note Because of the way in which L2TPv3 handles VLAN packets, the Ethernet interface must be configured in
promiscuous mode to capture all traffic received on the Ethernet segment attached to the router. All frames
are tunneled through the L2TP pseudowire.
HDLC
L2TPv3 encapsulates an HDLC frame arriving at a PE in its entirety (including the Address, Control, and
Protocol fields, but not the Flag fields and the frame check sequence) with an L2TP data header.
PPP
PEs that support L2TPv3 forward PPP traffic using a "transparent pass-through" model, in which the PEs
play no role in the negotiation and maintenance of the PPP link. L2TPv3 encapsulates a PPP frame arriving
at a PE in its entirety (including the HDLC Address and Control fields) with an L2TP data header.
ATM
L2TPv3 can connect two isolated ATM clouds over a packet-switched network (PSN) while maintaining an
end-to-end ATM Service Level Agreement (SLA). The ATM Single Cell Relay features forward one ATM
cell per packet. The ATM Cell Packing over L2TPv3 features allows multiple ATM frames to be packed
into a single L2TPv3 data packet. All packets are transparently forwarded over the L2TPv3 pseudowire.
Note VPI or VPI/VCI rewrite is not supported for any ATM transport mode. Both pairs of PE to CE peer routers
must be configured with matching VPI or VCI values except in OAM local emulation mode. For example,
if PE1 and CE1 are connected by PVC 10/100, PE2 and CE2 should also be connected by PVC 10/100.
The table below shows the releases that introduced support for the ATM cell relay features.
Wide-Area Networking Configuration Guide: Layer 2 Services, Cisco IOS Release 12.4T
52
Layer 2 Tunneling Protocol Version 3
ATM Single Cell Relay VC Mode over L2TPv3
Wide-Area Networking Configuration Guide: Layer 2 Services, Cisco IOS Release 12.4T
53
Layer 2 Tunneling Protocol Version 3
IPv6 Protocol Demultiplexing
Note The Cisco 7200 and the Cisco 7500 ATM driver cannot forward RM cells over the PSN for ABR ToS. The
RM cells are locally terminated.
VPI or VPI/VCI rewrite is not supported for any ATM transport mode. Both pairs of PE to CE peer routers
must be configured with matching VPI and VCI values except in OAM local emulation mode. For
example, if PE1 and CE1 are connected by PVC 10/100, PE2 and CE2 should also be connected by PVC
10/100.
OAM Local Emulation Mode
In OAM Local Emulation mode, OAM cells are not passed through the pseudowire. All F5 OAM cells are
terminated and handled locally. On the L2TPv3-based pseudowire, the CE device sends an SLI message
across the pseudowire to notify the peer PE node about the defect, rather than tearing down the session. The
defect can occur at any point in the link between the local CE and the PE. OAM management can also be
enabled on the PE node using existing OAM management configurations.
Wide-Area Networking Configuration Guide: Layer 2 Services, Cisco IOS Release 12.4T
54
Supported Port Adapters for the Cisco 7200 Series and Cisco 7500 Series Routers
IPv6 Protocol Demultiplexing
L2VPN No Yes No
Supported Port Adapters for the Cisco 7200 Series and Cisco 7500 Series
Routers
The following port adapters support L2TPv3 on the Cisco 7200 series and Cisco 7500 series routers:
• Single-port Fast Ethernet 100BASE-TX
• Single-port Fast Ethernet 100BASE-FX
• Dual-port Fast Ethernet 100BASE-TX
• Dual-port Fast Ethernet 100BASE-FX
• Gigabit Ethernet port adapter
• 12-port Ethernet/2-port FE adapter
• 4-port synchronous serial port adapter
• Enhanced 4-port synchronous serial port adapter
• 8-port synchronous serial port adapter
• Single-port HSSI adapter
• Dual-port HSSI adapter
• Single-port enhanced OC-3 ATM port adapter
• 8-port multichannel E1 G.703/G.704 120-ohm interfaces
• 2-port multichannel E1 G.703/G.704 120-ohm interfaces
• 8-port multichannel T1 with integrated data service units (DSUs)
• 8-port multichannel T1 with integrated channel service units (CSUs) and DSUs
• 4-port multichannel T1 with integrated CSUs and DSUs
• 2-port multichannel T1 with integrated CSUs and DSUs
• 8-port multichannel T1/E1
• 1-port multichannel T3 interface
• 1-port multichannel E3 interface
• 2-port enhanced multichannel T3 port adapter
• Single-port T3 port adapter
• Single-port E3 port adapter
Wide-Area Networking Configuration Guide: Layer 2 Services, Cisco IOS Release 12.4T
55
Configuring L2TP Control Channel Parameters
How to Configure L2TPv3
Wide-Area Networking Configuration Guide: Layer 2 Services, Cisco IOS Release 12.4T
56
Layer 2 Tunneling Protocol Version 3
Configuring L2TP Control Channel Timing Parameters
• Packet size of the receive window used for the control channel
• Retransmission parameters used for control messages
• Timeout parameters used for the control channel
This task configures a set of timing control channel parameters in an L2TP class. All of the timing control
channel parameter configurations are optional and may be configured in any order. If these parameters are
not configured, the default values are applied.
SUMMARY STEPS
1. enable
2. configure terminal
3. l2tp-class [l2tp-class-name]
4. receive-window size
5. retransmit {initial retries initial-retries| retries retries| timeout {max | min} timeout}
6. timeout setup seconds
DETAILED STEPS
Router> enable
Example:
Step 3 l2tp-class [l2tp-class-name] Specifies the L2TP class name and enters L2TP class configuration mode.
• The l2tp-class-name argument is optional. However, if you want to
configure multiple L2TP classes you must specify a unique l2tp-class-
Example:
namefor each one.
Router(config)# l2tp-class
class1
Step 4 receive-window size (Optional) Configures the number of packets that can be received by the remote
peer before backoff queueing occurs.
• The valid values range from 1 to the upper limit the peer has for receiving
Example:
packets. The default value is the upper limit.
Router(config-l2tp-class)#
receive-window 30
Wide-Area Networking Configuration Guide: Layer 2 Services, Cisco IOS Release 12.4T
57
Layer 2 Tunneling Protocol Version 3
Configuring L2TPv3 Control Channel Authentication Parameters
Step 6 timeout setup seconds (Optional) Configures the amount of time, in seconds, allowed to set up a control
channel.
• Valid values for the seconds argument range from 60 to 6000. The default
Example:
value is 300.
Router(config-l2tp-class)#
Wide-Area Networking Configuration Guide: Layer 2 Services, Cisco IOS Release 12.4T
58
Layer 2 Tunneling Protocol Version 3
Configuring Authentication for the L2TP Control Channel
SUMMARY STEPS
1. enable
2. configure terminal
3. l2tp-class [l2tp-class-name]
4. authentication
5. password [0 | 7] password
6. hostname name
7. exit
DETAILED STEPS
Example:
Router# configure terminal
Step 3 l2tp-class [l2tp-class-name] Specifies the L2TP class name and enters L2TP class configuration mode.
• The l2tp-class-name argument is optional. However, to configure
multiple L2TP classes, you must specify a unique l2tp-class-name for
Example:
Router(config)# l2tp-class class1
each one.
Step 4 authentication (Optional) Enables authentication for the control channel between PE
routers.
Example:
Router(config-l2tp-class)#
authentication
Step 5 password [0 | 7] password (Optional) Configures the password used for control channel authentication.
• [0 | 7]--(Optional) Specifies the input format of the shared secret. The
default value is 0.
Example:
Router(config-l2tp-class)# password ◦ 0--Specifies that a plain-text secret is entered.
cisco
◦ 7--Specifies that an encrypted secret is entered.
• password--Defines the shared password between peer routers.
Wide-Area Networking Configuration Guide: Layer 2 Services, Cisco IOS Release 12.4T
59
Layer 2 Tunneling Protocol Version 3
Configuring L2TPv3 Control Message Hashing
Example:
Router(config-l2tp-class)# exit
SUMMARY STEPS
1. enable
2. configure terminal
3. l2tp-class [l2tp-class-name]
4. digest [secret [0 | 7] password] [hash {md5 | sha}]
5. digest check
6. hidden
7. exit
DETAILED STEPS
Example:
Router# configure terminal
Step 3 l2tp-class [l2tp-class-name] Specifies the L2TP class name and enters L2TP class configuration mode.
• The l2tp-class-name argument is optional. However, to configure multiple L2TP
classes, you must specify a unique l2tp-class-name for each one.
Example:
Router(config)# l2tp-class
class1
Wide-Area Networking Configuration Guide: Layer 2 Services, Cisco IOS Release 12.4T
60
Layer 2 Tunneling Protocol Version 3
Configuring L2TPv3 Control Message Hashing
Step 5 digest check (Optional) Enables the validation of the message digest in received control messages.
• Validation of the message digest is enabled by default.
Example: Note Validation of the message digest cannot be disabled if authentication has been
Router(config-l2tp-class)# enabled using the digest secret command. If authentication has not been
digest check
configured with the digest secret command, the digest check can be disabled to
increase performance.
Step 6 hidden (Optional) Enables AV pair hiding when sending control messages to an L2TPv3
peer.
• AV pair hiding is disabled by default.
Example:
Router(config-l2tp-class)# • Only the hiding of the cookie AV pair is supported.
hidden • If a cookie is configured in L2TP class configuration mode (see the Manually
Configuring L2TPv3 Session Parameters, page 70 task), enabling AV pair
hiding causes that cookie to be sent to the peer as a hidden AV pair using the
password configured with the digest secret command.
Note AV pair hiding is enabled only if authentication has been enabled using the
digest secret command, and no other authentication method is configured.
Example:
Router(config-l2tp-class)#
exit
Wide-Area Networking Configuration Guide: Layer 2 Services, Cisco IOS Release 12.4T
61
Layer 2 Tunneling Protocol Version 3
Configuring L2TPv3 Digest Secret Graceful Switchover
Note This task is not compatible with authentication passwords configured with the older, CHAP-like control
channel authentication system.
SUMMARY STEPS
1. enable
2. configure terminal
3. l2tp-class l2tp-class-name
4. digest [secret [0 | 7] password] [hash {md5 | sha}]
5. end
6. show l2tun tunnel all
7. configure terminal
8. l2tp-class [l2tp-class-name]
9. no digest [secret [0 | 7] password [hash {md5 | sha}]
10. end
11. show l2tun tunnel all
DETAILED STEPS
Example:
Router# configure terminal
Step 3 l2tp-class l2tp-class-name Specifies the L2TP class name and enters L2TP class configuration mode.
Example:
Router(config)# l2tp-class class1
Wide-Area Networking Configuration Guide: Layer 2 Services, Cisco IOS Release 12.4T
62
Layer 2 Tunneling Protocol Version 3
Configuring L2TPv3 Digest Secret Graceful Switchover
Step 5 end Ends your configuration session by exiting to privileged EXEC mode.
Example:
Router(config-l2tp-class)# end
Step 6 show l2tun tunnel all (Optional) Displays the current state of Layer 2 tunnels and information about
configured tunnels, including local and remote L2TP hostnames, aggregate
packet counts, and control channel information.
Example:
Router# show l2tun tunnel all
• Tunnels should be updated with the new control channel authentication
password within a matter of seconds. If a tunnel does not update to show
that two secrets are configured after several minutes have passed, the
tunnel can be cleared manually and a defect report should be filed with the
Cisco Technical Assistance Center (TAC). To clear an L2TPv3 tunnel
manually, perform the Manually Clearing L2TPv3 Tunnels, page 98
task.
Note Issue this command to determine whether any tunnel is using the new
password for control channel authentication. The output displayed for
each tunnel in the specified L2TP class should show that two secrets are
configured.
Example:
Router# configure terminal
Step 8 l2tp-class [l2tp-class-name] Specifies the L2TP class name and enters L2TP class configuration mode.
• The l2tp-class-name argument is optional. However, to configure multiple
L2TP classes, you must specify a unique l2tp-class-name for each one.
Example:
Router(config)# l2tp-class class1
Step 9 no digest [secret [0 | 7] password Removes the old password used in L2TPv3 control channel authentication.
[hash {md5 | sha}] Note Do not remove the old password until all peer PE routers have been
updated with the new password.
Example:
Router(config-l2tp-class)# no
digest secret cisco hash sha
Wide-Area Networking Configuration Guide: Layer 2 Services, Cisco IOS Release 12.4T
63
Layer 2 Tunneling Protocol Version 3
Configuring L2TP Control Channel Maintenance Parameters
Example:
Router(config-l2tp-class)# end
Step 11 show l2tun tunnel all (Optional) Displays the current state of Layer 2 tunnels and information about
configured tunnels, including local and remote L2TP hostnames, aggregate
packet counts, and control channel information.
Example:
Router# show l2tun tunnel all
• Tunnels should no longer be using the old control channel authentication
password. If a tunnel does not update to show that only one secret is
configured after several minutes have passed, that tunnel can be cleared
manually and a defect report should be filed with TAC. To clear an
L2TPv3 tunnel manually, perform the Manually Clearing L2TPv3
Tunnels, page 98 task.
Note Issue this command to ensure that all tunnels are using only the new
password for control channel authentication. The output displayed for
each tunnel in the specified L2TP class should show that one secret is
configured.
SUMMARY STEPS
1. enable
2. configure terminal
3. l2tp-class [l2tp-class-name]
4. hello interval
5. exit
DETAILED STEPS
Wide-Area Networking Configuration Guide: Layer 2 Services, Cisco IOS Release 12.4T
64
Configuring the L2TPv3 Pseudowire
Configuring L2TP Control Channel Maintenance Parameters
Example:
Router# configure terminal
Step 3 l2tp-class [l2tp-class-name] Specifies the L2TP class name and enters L2TP class configuration mode.
• The l2tp-class-name argument is optional. However, to configure
multiple L2TP classes, you must specify a unique l2tp-class-name for
Example:
Router(config)# l2tp-class class1
each one.
Step 4 hello interval (Optional) Specifies the exchange interval (in seconds) used between L2TP
hello packets.
• Valid values for the interval argument range from 0 to 1000. The default
Example:
Router(config-l2tp-class)# hello 100
value is 60.
Example:
Router(config-l2tp-class)# exit
SUMMARY STEPS
1. enable
2. configure terminal
3. pseudowire-class [pw-class-name]
4. encapsulation l2tpv3
5. protocol {l2tpv3 | none}[l2tp-class-name]
6. ip local interface interface-name
7. ip pmtu
8. ip tos {value value | reflect}
9. ip dfbit set
10. ip ttl value
11. ip protocol {l2tp | protocol-number}
12. sequencing {transmit | receive | both}
13. exit
Wide-Area Networking Configuration Guide: Layer 2 Services, Cisco IOS Release 12.4T
65
Layer 2 Tunneling Protocol Version 3
Configuring L2TP Control Channel Maintenance Parameters
DETAILED STEPS
Example:
Router# configure terminal
Step 3 pseudowire-class [pw-class-name] Enters pseudowire class configuration mode and optionally specifies the name of
the L2TP pseudowire class.
Example:
Router(config)# pseudowire-
class etherpw
Step 4 encapsulation l2tpv3 Specifies that L2TPv3 is used as the data encapsulation method to tunnel IP traffic.
Example:
Router(config-pw)#
encapsulation l2tpv3
Step 5 protocol {l2tpv3 | none}[l2tp- (Optional) Specifies the L2TPv3 signaling protocol to be used to manage the
class-name] pseudowires created with the control channel parameters in the specified L2TP
class (see the Configuring L2TP Control Channel Parameters, page 56 task).
• If the l2tp-class-name argument is not specified, the default values for L2TP
Example:
Router(config-pw)# protocol
control channel parameters are used. The default protocol option is l2tpv3.
l2tpv3 class1 • If you do not want to use signaling in the L2TPv3 sessions created with this
pseudowire class, enter protocol none.
Step 6 ip local interface interface-name Specifies the PE router interface whose IP address is to be used as the source IP
address for sending tunneled packets.
• The same or a different local interface name can be used for each of the
Example:
Router(config-pw)# ip local
pseudowire classes configured between a pair of PE routers.
interface e0/0
Note This command must be configured for pseudowire-class configurations
using L2TPv3 as the data encapsulation method.
Wide-Area Networking Configuration Guide: Layer 2 Services, Cisco IOS Release 12.4T
66
Layer 2 Tunneling Protocol Version 3
Configuring L2TP Control Channel Maintenance Parameters
Step 8 ip tos {value value | reflect} (Optional) Configures the value of the ToS byte in IP headers of tunneled packets,
or reflects the ToS byte value from the inner IP header.
• Valid values for the value argument range from 0 to 255. The default ToS
Example:
Router(config-pw)# ip tos
byte value is 0.
reflect
Step 9 ip dfbit set (Optional) Configures the value of the DF bit in the outer headers of tunneled
packets.
• Use this command if (for performance reasons) you do not want reassembly
Example:
Router(config-pw)# ip dfbit
of tunneled packets on the peer PE router.
set • This command is disabled by default.
Step 10 ip ttl value (Optional) Configures the value of the time to live (TTL) byte in the IP headers of
tunneled packets.
• Valid values for the value argument range from 1 to 255. The default TTL
Example:
Router(config-pw)# ip ttl 100
byte value is 255.
Step 11 ip protocol {l2tp | protocol- (Optional) Configures the IP protocol to be used for tunneling packets.
number}
Example:
Router(config-pw)# ip
protocol l2tp
Wide-Area Networking Configuration Guide: Layer 2 Services, Cisco IOS Release 12.4T
67
Configuring the Xconnect Attachment Circuit
Configuring L2TP Control Channel Maintenance Parameters
Example:
Router(config-pw)# exit
SUMMARY STEPS
1. enable
2. configure terminal
3. interface type slot / port
4. xconnect peer-ip-address vcid pseudowire-parameters [sequencing {transmit | receive | both}]
5. exit
DETAILED STEPS
Example:
Router# configure terminal
Wide-Area Networking Configuration Guide: Layer 2 Services, Cisco IOS Release 12.4T
68
Layer 2 Tunneling Protocol Version 3
Configuring L2TP Control Channel Maintenance Parameters
Example:
Router(config)# interface
ethernet 0/0
Step 4 xconnect peer-ip-address vcid Specifies the IP address of the peer PE router and the 32-bit virtual circuit
pseudowire-parameters [sequencing identifier shared between the PE at each end of the control channel.
{transmit | receive | both}]
• The peer router ID (IP address) and virtual circuit ID must be a unique
combination on the router.
Example: • At least one of the following pseudowire class parameters must be
Router(config-if)# xconnect configured for the pseudowire-parameters argument:
10.0.3.201 123 pw-class vlan-
xconnect ◦ encapsulation {l2tpv3 [manual] | mpls}--Specifies the tunneling
method used to encapsulate data in the pseudowire:
◦ l2tpv3--L2TPv3 is the tunneling method to be used.
◦ manual--(Optional) No signaling is to be used in the L2TPv3
control channel. This command places the router in xconnect
configuration mode for the manual configuration of L2TPv3
parameters for the attachment circuit.
◦ mpls--MPLS is the tunneling method to be used.
• pw-class {pw-class-name}--The pseudowire class configuration from which
the data encapsulation type (L2TPv3) is taken.
• The optional encapsulation parameter specifies the method of pseudowire
tunneling used: L2TPv3 or MPLS. Enter manual if you do not want
signaling to be used in the L2TPv3 control channel. The encapsulation
l2tpv3 manual keyword combination enters xconnect configuration
submode. See the Manually Configuring L2TPv3 Session Parameters, page
70 task for the other L2TPv3 commands that you must enter to complete
the configuration of the L2TPv3 control channel. If you do not enter an
encapsulation value, the encapsulation method entered with the password
command in the Configuring the Xconnect Attachment Circuit task is used.
• The optional pw-class parameter binds the xconnect statement to a specific
pseudowire class. The pseudowire class then serves as the template
configuration for all attachment circuits bound to it. Specify the pseudowire-
class option if you need to configure more advanced options.
Note You must configure either the encapsulation or the pw-class option or
both.
Note If you select L2TPv3 as your data encapsulation method, you must specify
the pw-class keyword.
Wide-Area Networking Configuration Guide: Layer 2 Services, Cisco IOS Release 12.4T
69
Manually Configuring L2TPv3 Session Parameters
Configuring L2TP Control Channel Maintenance Parameters
Example:
Router(config-if)# exit
SUMMARY STEPS
1. enable
2. configure terminal
3. interface type slot / port
4. xconnect peer-ip-address vc-id encapsulation l2tpv3 manual pw-class pw-class-name
5. l2tp id local-session-id remote-session-id
6. l2tp cookie local size low-value [high-value]
7. l2tp cookie remote size low-value [high-value]
8. l2tp hello l2tp-class-name
9. exit
10. exit
DETAILED STEPS
Example:
Router# configure terminal
Wide-Area Networking Configuration Guide: Layer 2 Services, Cisco IOS Release 12.4T
70
Layer 2 Tunneling Protocol Version 3
Configuring L2TP Control Channel Maintenance Parameters
Example:
Router(config)# interface
ethernet 0/0
Step 4 xconnect peer-ip-address vc-id Specifies the IP address of the peer PE router and the 32-bit virtual circuit
encapsulation l2tpv3 manual pw-class identifier shared between the PE at each end of the control channel, and enters
pw-class-name xconnect configuration mode.
• The peer router ID (IP address) and virtual circuit ID must be a unique
combination on the router.
Example:
Router(config-if)# xconnect • The encapsulation l2tpv3 manual parameter specifies that L2TPv3 is to
10.0.3.201 123 encapsulation be used as the pseudowire tunneling method.
l2tpv3 manual pw-class vlan-
xconnect • The mandatory pw-class pw-class-name keyword and argument
combination specifies the pseudowire class configuration from which the
data encapsulation type (L2TPv3) is taken.
Step 5 l2tp id local-session-id remote-session- Configures the identifiers for the local L2TPv3 session and for the remote
id L2TPv3 session on the peer PE router.
• This command is required to complete the attachment circuit
configuration and a static L2TPv3 session configuration.
Example:
Router(config-if-xconn)# l2tp id
222 111
Step 6 l2tp cookie local size low-value [high- (Optional) Specifies the value that the peer PE must include in the cookie field
value] of incoming (received) L2TP packets.
• The size of the cookie field can be 4 or 8 bytes. If you do not enter this
command, no cookie value is included in the header of L2TP packets.
Example:
Router(config-if-xconn)# l2tp • If you configure the cookie length in incoming packets as 8 bytes, you
cookie local 4 54321 must specify a 4-byte high value and a 4-byte low value.
Step 7 l2tp cookie remote size low-value (Optional) Specifies the value that the router includes in the cookie field of
[high-value] outgoing (sent) L2TP packets.
• The size of the cookie field can be 4 or 8 bytes. If you do not enter this
command, no cookie value is included in the header of L2TP packets.
Example:
Router(config-if-xconn)# l2tp • If you configure the cookie length in outgoing packets as 8 bytes, you
cookie remote 4 12345 must specify a 4-byte high value and a 4-byte low value.
Wide-Area Networking Configuration Guide: Layer 2 Services, Cisco IOS Release 12.4T
71
Configuring the Xconnect Attachment Circuit for ATM VP Mode Single Cell Relay over L2TPv3
Configuring L2TP Control Channel Maintenance Parameters
Example:
Router(config-if-xconn)# exit
Example:
Router(config-if)# exit
Configuring the Xconnect Attachment Circuit for ATM VP Mode Single Cell
Relay over L2TPv3
The ATM VP Mode Single Cell Relay over L2TPv3 feature allows cells coming into a predefined PVP on
the ATM interface to be transported over an L2TPv3 pseudowire to a predefined PVP on the egress ATM
interface. This task binds a PVP to an L2TPv3 pseudowire for xconnect service.
SUMMARY STEPS
1. enable
2. configure terminal
3. interface type slot / port
4. atm pvp vpi [l2transport]
5. xconnect peer-ip-address vcid pw-class pw-class-name
DETAILED STEPS
Router> enable
Wide-Area Networking Configuration Guide: Layer 2 Services, Cisco IOS Release 12.4T
72
Configuring the Xconnect Attachment Circuit for ATM Single Cell Relay VC Mode over L2TPv3
Configuring L2TP Control Channel Maintenance Parameters
Example:
Step 3 interface type slot / port Specifies the interface by type, slot, and port number, and enters interface
configuration mode.
Example:
Step 4 atm pvp vpi [l2transport] Specifies that the PVP is dedicated to transporting ATM cells.
• The l2transport keyword indicates that the PVP is for cell relay. After
you enter this command, the router enters l2transport PVP configuration
Example:
mode. This configuration mode is for Layer 2 transport only; it is not for
Router(config-if)# atm pvp 5 terminated PVPs.
l2transport
Step 5 xconnect peer-ip-address vcid pw-class Specifies the IP address of the peer PE router and the 32-bit VCI shared
pw-class-name between the PE at each end of the control channel.
• The peer router ID (IP address) and virtual circuit ID must be a unique
combination on the router.
Example:
• pw-class pw-class-name --The pseudowire class configuration from
Router(config-if-atm-l2trans-pvp)# which the data encapsulation type (L2TPv3) is taken. The pw-
xconnect 10.0.3.201 888 pw-class
atm-xconnect
classparameter binds the xconnect statement to a specific pseudowire
class. The pseudowire class then serves as the template configuration for
all attachment circuits bound to it.
Configuring the Xconnect Attachment Circuit for ATM Single Cell Relay VC
Mode over L2TPv3
The ATM Single Cell Relay VC Mode over L2TPv3 feature maps one VCC to a single L2TPv3 session.
All ATM cells arriving at an ATM interface with the specified VPI and VCI are encapsulated into a single
L2TP packet.
The ATM Single Cell Relay VC mode feature can be used to carry any type of AAL traffic over the
pseudowire. It will not distinguish OAM cells from User data cells. In this mode, PM and Security OAM
cells are also transported over the pseudowire.
Perform this task to enable the ATM Single Cell Relay VC Mode over L2TPv3 feature.
Wide-Area Networking Configuration Guide: Layer 2 Services, Cisco IOS Release 12.4T
73
Layer 2 Tunneling Protocol Version 3
Configuring L2TP Control Channel Maintenance Parameters
SUMMARY STEPS
1. enable
2. configure terminal
3. interface type slot / port
4. pvc [name] vpi / vci l2transport
5. encapsulation aal0
6. xconnect peer-ip-address vcid pw-class pw-class-name
DETAILED STEPS
Router> enable
Example:
Step 3 interface type slot / port Specifies the interface by type, slot, and port number, and enters interface
configuration mode.
Example:
Step 4 pvc [name] vpi / vci l2transport Creates or assigns a name to an ATM PVC, specifies the encapsulation type on an
ATM PVC, and enters ATM VC configuration mode.
• The l2transport keyword indicates that the PVC is for Layer 2 switched
Example:
connections. After you enter this command, the router enters ATM VC
Router(config-if)# pvc 5/500 configuration mode.
l2transport
Step 5 encapsulation aal0 Specifies ATM AAL0 encapsulation for the PVC.
Example:
Router(config-atm-vc)#
encapsulation aal0
Wide-Area Networking Configuration Guide: Layer 2 Services, Cisco IOS Release 12.4T
74
Configuring the Xconnect Attachment Circuit for ATM Port Mode Cell Relay over L2TPv3
Configuring L2TP Control Channel Maintenance Parameters
Configuring the Xconnect Attachment Circuit for ATM Port Mode Cell Relay
over L2TPv3
The ATM Port Mode Cell Relay feature packs ATM cells arriving at an ingress ATM interface into
L2TPv3 data packets and transports them to the egress ATM interface. A single ATM cell is encapsulated
into each L2TPv3 data packet.
Perform this task to enable the ATM Port Mode Cell Relay over L2TPv3 feature.
SUMMARY STEPS
1. enable
2. configure terminal
3. interface type slot / port
4. xconnect peer-ip-address vcid pw-class pw-class-name
DETAILED STEPS
Router> enable
Example:
Wide-Area Networking Configuration Guide: Layer 2 Services, Cisco IOS Release 12.4T
75
Configuring the Xconnect Attachment Circuit for ATM Cell Packing over L2TPv3
Configuring Port Mode ATM Cell Packing over L2TPv3
Example:
Step 4 xconnect peer-ip-address vcid pw- Specifies the IP address of the peer PE router and the 32-bit VCI shared between
class pw-class-name the PE at each end of the control channel.
• The peer router ID (IP address) and virtual circuit ID must be a unique
combination on the router.
Example:
• pw-class pw-class-name --The pseudowire class configuration from which
Router(config-if)# xconnect the data encapsulation type (L2TPv3) is taken. The pw-classparameter binds
10.0.3.201 888 pw-class atm- the xconnect statement to a specific pseudowire class. The pseudowire class
xconnect
then serves as the template configuration for all attachment circuits bound to
it.
Note The L2TPv3 session can also be provisioned manually. See the section
"GUID-F16385E9-3369-4438-8317-DF071EC4FA2E" for information
about manually configuring the L2TPv3 session parameters.
Configuring the Xconnect Attachment Circuit for ATM Cell Packing over
L2TPv3
The ATM Cell Packing over L2TPv3 feature allows multiple ATM frames to be packed into a single
L2TPv3 data packet. ATM cell packing can be configured for Port mode, VP mode, and VC mode. Perform
one of the following tasks to configure the ATM Cell Packing over L2TPv3 feature:
• Configuring Port Mode ATM Cell Packing over L2TPv3, page 76
• Configuring VP Mode ATM Cell Packing over L2TPv3, page 78
• Configuring VC Mode ATM Cell Packing over L2TPv3, page 79
SUMMARY STEPS
1. enable
2. configure terminal
3. interface type slot / port
4. atm mcpt-timers [timeout-value-1 timeout-value-2 timeout-value-3]
5. cell-packing [cells] [mcpt-timer timer]
6. xconnect peer-ip-address vcid pseudowire-parameters [sequencing {transmit | receive | both}]
Wide-Area Networking Configuration Guide: Layer 2 Services, Cisco IOS Release 12.4T
76
Layer 2 Tunneling Protocol Version 3
Configuring Port Mode ATM Cell Packing over L2TPv3
DETAILED STEPS
Router> enable
Example:
Step 3 interface type slot / port Specifies the interface by type, slot, and port number, and enters
interface configuration mode.
Example:
Step 4 atm mcpt-timers [timeout-value-1 timeout- (Optional) Sets up the cell-packing timers, which specify how long
value-2 timeout-value-3] the PE router can wait for cells to be packed into an L2TPv3 packet.
Example:
Step 5 cell-packing [cells] [mcpt-timer timer] Enables the packing of multiple ATM cells into each L2TPv3 data
packet.
• cells --(Optional) The number of cells to be packed into an
Example:
L2TPv3 data packet. The default number of ATM cells to be
Router(config-if)# cell-packing 10 mcpt- packed is the maximum transmission unit (MTU) of the interface
timer 2 divided by 52.
• mcpt-timer timer --(Optional) Specifies which maximum cell
packing timeout (MCPT) timer to use. The MCPT timers are set
using the mcpt-timers command. The default value is 1.
Step 6 xconnect peer-ip-address vcid pseudowire- Binds an attachment circuit to a Layer 2 pseudowire and enters
parameters [sequencing {transmit | receive | xconnect configuration mode.
both}]
Example:
Wide-Area Networking Configuration Guide: Layer 2 Services, Cisco IOS Release 12.4T
77
Layer 2 Tunneling Protocol Version 3
Configuring VP Mode ATM Cell Packing over L2TPv3
SUMMARY STEPS
1. enable
2. configure terminal
3. interface type slot / port
4. atm mcpt-timers [timeout-value-1 timeout-value-2 timeout-value-3]
5. atm pvp vpi [peak-rate] [l2transport]
6. cell-packing [cells] [mcpt-timer timer]
7. xconnect peer-ip-address vcid pseudowire-parameters [sequencing {transmit | receive | both}]
DETAILED STEPS
Router> enable
Example:
Step 3 interface type slot / port Specifies the interface by type, slot, and port number, and enters
interface configuration mode.
Example:
Step 4 atm mcpt-timers [timeout-value-1 timeout-value-2 (Optional) Sets up the cell-packing timers, which specify how long
timeout-value-3] the PE router can wait for cells to be packed into an L2TPv3
packet.
Example:
Wide-Area Networking Configuration Guide: Layer 2 Services, Cisco IOS Release 12.4T
78
Layer 2 Tunneling Protocol Version 3
Configuring VC Mode ATM Cell Packing over L2TPv3
Example:
Step 6 cell-packing [cells] [mcpt-timer timer] Enables the packing of multiple ATM cells into each L2TPv3 data
packet.
• cells --(Optional) The number of cells to be packed into an
Example:
L2TPv3 data packet. The default number of ATM cells to be
Router(config-if)# cell-packing 10 mcpt- packed is the MTU of the interface divided by 52.
timer 2 • mcpt-timer timer --(Optional) Specifies which MCPT timer
to use. The MCPT timers are set using the mcpt-timers
command. The default value is 1.
Step 7 xconnect peer-ip-address vcid pseudowire- Binds an attachment circuit to a Layer 2 pseudowire and enters
parameters [sequencing {transmit | receive | both}] xconnect configuration mode.
Example:
SUMMARY STEPS
1. enable
2. configure terminal
3. interface type slot / port
4. atm mcpt-timers [timeout-value-1 timeout-value-2 timeout-value-3]
5. pvc [name] vpi / vci [ces | ilmi | qsaal | smds | l2transport]
6. encapsulation aal0
7. cell-packing [cells] [mcpt-timer timer]
8. xconnect peer-ip-address vcid pseudowire-parameters [sequencing {transmit | receive | both}]
Wide-Area Networking Configuration Guide: Layer 2 Services, Cisco IOS Release 12.4T
79
Layer 2 Tunneling Protocol Version 3
Configuring VC Mode ATM Cell Packing over L2TPv3
DETAILED STEPS
Router> enable
Example:
Step 3 interface type slot / port Specifies the interface by type, slot, and port number, and enters
interface configuration mode.
Example:
Step 4 atm mcpt-timers [timeout-value-1 timeout-value-2 (Optional) Sets up the cell-packing timers, which specify how
timeout-value-3] long the PE router can wait for cells to be packed into an L2TPv3
packet.
Example:
Step 5 pvc [name] vpi / vci [ces | ilmi | qsaal | smds | Creates or assigns a name to an ATM PVC, specifies the
l2transport] encapsulation type on an ATM PVC, and enters ATM VC
configuration mode.
Example:
Step 6 encapsulation aal0 Specifies ATM AAL0 encapsulation for the PVC.
Example:
Wide-Area Networking Configuration Guide: Layer 2 Services, Cisco IOS Release 12.4T
80
Configuring the Xconnect Attachment Circuit for ATM AAL5 SDU Mode over L2TPv3
Configuring ATM AAL5 SDU Mode over L2TPv3 in ATM VC Configuration Mode
Step 8 xconnect peer-ip-address vcid pseudowire-parameters Binds an attachment circuit to a Layer 2 pseudowire and enters
[sequencing {transmit | receive | both}] xconnect configuration mode.
Example:
Configuring the Xconnect Attachment Circuit for ATM AAL5 SDU Mode over
L2TPv3
The ATM AAL5 SDU Mode feature maps the AAL5 payload of an AAL5 PVC to a single L2TPv3
session. This service will transport OAM and RM cells, but does not attempt to maintain the relative order
of these cells with respect to the cells that comprise the AAL5 CPCS-PDU. OAM cells that arrive during
the reassembly of a single AAL5 CPCS-PDU are sent immediately over the pseudowire, followed by the
AAL5 SDU payload.
Beginning in Cisco IOS Release 12.0(30)S, you may choose to configure the ATM AAL5 SDU Mode
feature in ATM VC configuration mode or in VC class configuration mode.
To enable the ATM AAL5 SDU Mode feature, perform one of the following tasks:
• Configuring ATM AAL5 SDU Mode over L2TPv3 in ATM VC Configuration Mode, page 81
• Configuring ATM AAL5 SDU Mode over L2TPv3 in VC Class Configuration Mode, page 83
Configuring ATM AAL5 SDU Mode over L2TPv3 in ATM VC Configuration Mode
Perform this task to bind a PVC to an L2TPv3 pseudowire for ATM AAL5 SDU mode xconnect service.
SUMMARY STEPS
1. enable
2. configure terminal
3. interface type slot / port
4. pvc [name] vpi / vci [l2transport]
5. encapsulation aal5
6. xconnect peer-ip-address vcid pw-class pw-class-name
Wide-Area Networking Configuration Guide: Layer 2 Services, Cisco IOS Release 12.4T
81
Layer 2 Tunneling Protocol Version 3
Configuring ATM AAL5 SDU Mode over L2TPv3 in ATM VC Configuration Mode
DETAILED STEPS
Router> enable
Example:
Step 3 interface type slot / port Specifies the interface by type, slot, and port number, and enters interface
configuration mode.
Example:
Step 4 pvc [name] vpi / vci [l2transport] Creates or assigns a name to an ATM permanent virtual circuit (PVC), specifies
the encapsulation type on an ATM PVC, and enters ATM VC configuration
mode.
Example:
• The l2transport keyword indicates that the PVC is for Layer 2 switched
Router(config-if)# pvc 5/500 connections. After you enter this command, the router enters ATM VC
l2transport configuration mode.
Step 5 encapsulation aal5 Specifies ATM AAL5 encapsulation for the PVC.
Example:
Router(config-atm-vc)#
encapsulation aal5
Wide-Area Networking Configuration Guide: Layer 2 Services, Cisco IOS Release 12.4T
82
Layer 2 Tunneling Protocol Version 3
Configuring ATM AAL5 SDU Mode over L2TPv3 in VC Class Configuration Mode
Configuring ATM AAL5 SDU Mode over L2TPv3 in VC Class Configuration Mode
You can create a VC class that specifies AAL5 encapsulation and then attach the VC class to an interface,
subinterface, or PVC. Perform this task to create a VC class configured for AAL5 encapsulation and attach
the VC class to an interface.
Note This task requires Cisco IOS Release 12.0(30)S or a later release.
SUMMARY STEPS
1. enable
2. configure terminal
3. vc-class atm name
4. encapsulation aal5
5. end
6. interface type slot / port
7. class-int vc-class-name
8. pvc [name] vpi / vci l2transport
9. xconnect peer-router-id vcid encapsulation l2tpv3
Wide-Area Networking Configuration Guide: Layer 2 Services, Cisco IOS Release 12.4T
83
Layer 2 Tunneling Protocol Version 3
Configuring ATM AAL5 SDU Mode over L2TPv3 in VC Class Configuration Mode
DETAILED STEPS
Router> enable
Example:
Step 3 vc-class atm name Creates a VC class and enters VC class configuration mode.
Example:
Step 4 encapsulation aal5 Specifies ATM AAL5 encapsulation for the PVC.
Example:
Example:
Router(config-vc-class)# end
Step 6 interface type slot / port Specifies the interface by type, slot, and port number, and enters
interface configuration mode.
Example:
Wide-Area Networking Configuration Guide: Layer 2 Services, Cisco IOS Release 12.4T
84
Configuring OAM Local Emulation for ATM AAL5 over L2TPv3
Configuring ATM AAL5 SDU Mode over L2TPv3 in VC Class Configuration Mode
Step 9 xconnect peer-router-id vcid encapsulation l2tpv3 Binds the attachment circuit to a pseudowire VC.
Example:
Router(config-if-atm-l2trans-pvc)# xconnect
10.13.13.13 100 encapsulation l2tpv3
Wide-Area Networking Configuration Guide: Layer 2 Services, Cisco IOS Release 12.4T
85
Layer 2 Tunneling Protocol Version 3
Configuring OAM Local Emulation for ATM AAL5 over L2TPv3 in ATM VC Configuration Mode
Configuring OAM Local Emulation for ATM AAL5 over L2TPv3 in ATM VC Configuration
Mode
Perform this task to enable the OAM Local Emulation for ATM AAL5 over L2TPv3 feature in ATM VC
configuration mode.
SUMMARY STEPS
1. enable
2. configure terminal
3. interface type slot / port
4. pvc [name] vpi / vci [l2transport]
5. encapsulation aal5
6. xconnect peer-ip-address vcid pw-class pw-class-name
7. oam-ac emulation-enable [ais-rate]
8. oam-pvc manage [frequency]
DETAILED STEPS
Router> enable
Example:
Step 3 interface type slot / port Specifies the interface by type, slot, and port number, and enters interface
configuration mode.
Example:
Step 4 pvc [name] vpi / vci [l2transport] Creates or assigns a name to an ATM PVC, specifies the encapsulation type on an
ATM PVC, and enters ATM VC configuration mode.
• The l2transport keyword indicates that the PVC is for Layer 2 switched
Example:
connections. After you enter this command, the router enters ATM VC
Router(config-if)# pvc 5/500 configuration mode.
l2transport
Wide-Area Networking Configuration Guide: Layer 2 Services, Cisco IOS Release 12.4T
86
Layer 2 Tunneling Protocol Version 3
Configuring OAM Local Emulation for ATM AAL5 over L2TPv3 in VC Class Configuration Mode
Example:
Router(config-atm-vc)#
encapsulation aal5
Step 6 xconnect peer-ip-address vcid pw- Specifies the IP address of the peer PE router and the 32-bit VCI shared between
class pw-class-name the PE at each end of the control channel.
• The peer router ID (IP address) and virtual circuit ID must be a unique
combination on the router.
Example:
• pw-class pw-class-name --The pseudowire class configuration from which the
Router(config-atm-vc)# data encapsulation type (L2TPv3) is taken. The pw-classparameter binds the
xconnect 10.0.3.201 888 pw- xconnect statement to a specific pseudowire class. The pseudowire class then
class atm-xconnect
serves as the template configuration for all attachment circuits bound to it.
Note The L2TPv3 session can also be provisioned manually. See the section
"GUID-F16385E9-3369-4438-8317-DF071EC4FA2E" for information about
manually configuring the L2TPv3 session parameters.
Step 7 oam-ac emulation-enable [ais-rate] Enables OAM cell emulation on AAL5 over L2TPv3.
• The oam-ac emulation-enable command lets you specify the rate at which
AIS cells are sent. The default is one cell every second. The range is 0 to 60
Example:
seconds.
Router(config-atm-vc)# oam-ac
emulation-enable 30
Step 8 oam-pvc manage [frequency] (Optional) Enables the PVC to generate end-to-end OAM loopback cells that verify
connectivity on the virtual circuit.
• The optional frequency argument is the interval between transmission of
Example:
loopback cells and ranges from 0 to 600 seconds. The default value is 10
Router(config-atm-vc)# oam- seconds.
pvc manage
Note You can configure the oam-pvc manage command only after you issue the
oam-ac emulation-enable command.
Configuring OAM Local Emulation for ATM AAL5 over L2TPv3 in VC Class Configuration
Mode
This task configures OAM Cell Emulation as part of a VC class. After a VC class is configured, you can
apply the VC class to an interface, a subinterface, or a VC.
When you apply a VC class to an interface, the settings in the VC class apply to all the VCs on that
interface unless you specify otherwise at a lower level, such as the subinterface or VC level. For example,
if you create a VC class that specifies OAM cell emulation and sets the AIS cell rate to 30 seconds and
apply that VC class to an interface, every VC on that interface will use the AIS cell rate of 30 seconds. If
you then enable OAM cell emulation on a single PVC and set the AIS cell rate to 15 seconds, the 15 second
Wide-Area Networking Configuration Guide: Layer 2 Services, Cisco IOS Release 12.4T
87
Layer 2 Tunneling Protocol Version 3
Configuring OAM Local Emulation for ATM AAL5 over L2TPv3 in VC Class Configuration Mode
AIS cell rate configured at the PVC level will take precedence over the 30 second AIS cell rate configured
at the interface level.
Perform this task to create a VC class configured for OAM emulation and to attach the VC class to an
interface.
Note This task requires Cisco IOS Release 12.0(30)S or a later release.
SUMMARY STEPS
1. enable
2. configure terminal
3. vc-class atm name
4. encapsulation layer-type
5. oam-ac emulation-enable [ais-rate]
6. oam-pvc manage [frequency]
7. end
8. interface type slot / port
9. class-int vc-class-name
10. pvc [name] vpi / vci l2transport
11. xconnect peer-router-id vcid encapsulation l2tpv3
DETAILED STEPS
Router> enable
Example:
Step 3 vc-class atm name Creates a VC class and enters vc-class configuration mode.
Example:
Wide-Area Networking Configuration Guide: Layer 2 Services, Cisco IOS Release 12.4T
88
Layer 2 Tunneling Protocol Version 3
Configuring OAM Local Emulation for ATM AAL5 over L2TPv3 in VC Class Configuration Mode
Example:
Router(config-vc-class)# encapsulation
aal5
Step 5 oam-ac emulation-enable [ais-rate] Enables OAM cell emulation for AAL5 over L2TPv3.
• The ais-rate argument lets you specify the rate at which AIS cells
are sent. The default is one cell every second. The range is 0 to
Example:
60 seconds.
Router(config-vc-class)# oam-ac
emulation-enable 30
Step 6 oam-pvc manage [frequency] (Optional) Enables the PVC to generate end-to-end OAM loopback
cells that verify connectivity on the virtual circuit.
• The optional frequency argument is the interval between
Example:
transmission of loopback cells and ranges from 0 to 600 seconds.
Router(config-vc-class)# oam-pvc manage The default value is 10 seconds.
Note You can configure the oam-pvc manage command only after
you issue the oam-ac emulation-enable command.
Step 7 end Ends your configuration session by exiting to privileged EXEC mode.
Example:
Router(config-vc-class)# end
Step 8 interface type slot / port Specifies the interface by type, slot, and port number, and enters
interface configuration mode.
Example:
Step 9 class-int vc-class-name Applies a VC class on an the ATM main interface or subinterface.
Note You can also apply a VC class to a PVC.
Example:
Wide-Area Networking Configuration Guide: Layer 2 Services, Cisco IOS Release 12.4T
89
Configuring Protocol Demultiplexing for L2TPv3
Configuring Protocol Demultiplexing for Ethernet Interfaces
Step 11 xconnect peer-router-id vcid encapsulation Binds the attachment circuit to a pseudowire VC.
l2tpv3
Example:
Router(config-if-atm-l2trans-pvc)#
xconnect 10.13.13.13 100 encapsulation
l2tpv3
SUMMARY STEPS
1. enable
2. configure terminal
3. interface type slot / port
4. ip address ip-address mask [secondary]
5. xconnect peer-ip-address vcid pw-class pw-class-name
6. match protocol ipv6
7. exit
8. exit
Wide-Area Networking Configuration Guide: Layer 2 Services, Cisco IOS Release 12.4T
90
Layer 2 Tunneling Protocol Version 3
Configuring Protocol Demultiplexing for Ethernet Interfaces
DETAILED STEPS
Example:
Router# configure terminal
Step 3 interface type slot / port Specifies the interface by type, slot, and port number, and enters
interface configuration mode.
Example:
Router(config)# interface ethernet 0/1
Step 4 ip address ip-address mask [secondary] Sets a primary or secondary IP address for an interface.
Example:
Router(config-if)# ip address
172.16.128.4
Step 5 xconnect peer-ip-address vcid pw-class pw- Specifies the IP address of the peer PE router and the 32-bit VCI shared
class-name between the PE at each end of the control channel, and enters xconnect
configuration mode.
• The peer router ID (IP address) and virtual circuit ID must be a
Example:
Router(config-if)# xconnect 10.0.3.201
unique combination on the router.
888 pw-class demux • pw-class pw-class-name--The pseudowire class configuration from
which the data encapsulation type (L2TPv3) is taken. The pw-class
parameter binds the xconnect statement to a specific pseudowire
class. The pseudowire class then serves as the template
configuration for all attachment circuits bound to it.
Note The L2TPv3 session can also be provisioned manually. See the
Manually Configuring L2TPv3 Session Parameters, page 70
section for information about manually configuring the L2TPv3
session parameters.
Example:
Router(config-if-xconn)# match protocol
ipv6
Wide-Area Networking Configuration Guide: Layer 2 Services, Cisco IOS Release 12.4T
91
Layer 2 Tunneling Protocol Version 3
Configuring Protocol Demultiplexing for Frame Relay Interfaces
Example:
Router(config-if-xconn)# exit
Example:
Router(config-if)# exit
SUMMARY STEPS
1. enable
2. configure terminal
3. interface type slot / port-adapter . subinterface-number [multipoint | point-to-point]
4. ip address ip-address mask [secondary]
5. frame-relay interface-dlci dlci [ietf | cisco] [voice-cir cir] [ppp virtual-template-name]
6. xconnect peer-ip-address vcid pw-class pw-class-name
7. match protocol ipv6
DETAILED STEPS
Router> enable
Example:
Wide-Area Networking Configuration Guide: Layer 2 Services, Cisco IOS Release 12.4T
92
Layer 2 Tunneling Protocol Version 3
Configuring Protocol Demultiplexing for Frame Relay Interfaces
Example:
Step 4 ip address ip-address mask [secondary] Sets a primary or secondary IP address for an interface.
Example:
Router(config-if)# ip address
172.16.128.4
Step 5 frame-relay interface-dlci dlci [ietf | Assigns a DLCI to a specified Frame Relay subinterface on the router or
cisco] [voice-cir cir] [ppp virtual- access server, assigns a specific PVC to a DLCI, or applies a virtual template
template-name] configuration for a PPP session and enters Frame Relay DLCI interface
configuration mode.
Example:
Router(config-if)# frame-relay
interface-dlci 100
Step 6 xconnect peer-ip-address vcid pw-class Specifies the IP address of the peer PE router and the 32-bit VCI shared
pw-class-name between the PE at each end of the control channel and enters xconnect
configuration mode.
• The peer router ID (IP address) and virtual circuit ID must be a unique
Example:
combination on the router.
Router(config-fr-dlci)# xconnect • pw-class pw-class-name --The pseudowire class configuration from
10.0.3.201 888 pw-class atm-xconnect
which the data encapsulation type (L2TPv3) is taken. The pw-
classparameter binds the xconnect statement to a specific pseudowire
class. The pseudowire class then serves as the template configuration
for all attachment circuits bound to it.
Note The L2TPv3 session can also be provisioned manually. See the
section "GUID-F16385E9-3369-4438-8317-DF071EC4FA2E" for
information about manually configuring the L2TPv3 session
parameters.
Example:
Router(config-if-xconn)# match
protocol ipv6
Wide-Area Networking Configuration Guide: Layer 2 Services, Cisco IOS Release 12.4T
93
Layer 2 Tunneling Protocol Version 3
Configuring Protocol Demultiplexing for PPP Interfaces
SUMMARY STEPS
1. enable
2. configure terminal
3. interface type slot / port
4. ip address ip-address mask [secondary]
5. encapsulation physical-interface
6. ppp interface-address
7. xconnect peer-ip-address vcid pw-class pw-class-name
8. match protocol ipv6
DETAILED STEPS
Router> enable
Example:
Step 3 interface type slot / port Specifies the interface by type, slot, and port number, and enters interface
configuration mode.
Example:
Step 4 ip address ip-address mask [secondary] Sets a primary or secondary IP address for an interface.
Example:
Router(config-if)# ip address
192.167.1.1 255.255.255.252
Wide-Area Networking Configuration Guide: Layer 2 Services, Cisco IOS Release 12.4T
94
Layer 2 Tunneling Protocol Version 3
Configuring Protocol Demultiplexing for HDLC Interfaces
Example:
Example:
Step 7 xconnect peer-ip-address vcid pw-class pw- Specifies the IP address of the peer PE router and the 32-bit VCI shared
class-name between the PE at each end of the control channel and enters xconnect
configuration mode.
• The peer router ID (IP address) and virtual circuit ID must be a
Example:
unique combination on the router.
Router(config-if)# xconnect 10.0.3.201 • pw-class pw-class-name --The pseudowire class configuration from
888 pw-class atm-xconnect
which the data encapsulation type (L2TPv3) is taken. The pw-
classparameter binds the xconnect statement to a specific
pseudowire class. The pseudowire class then serves as the template
configuration for all attachment circuits bound to it.
Note The L2TPv3 session can also be provisioned manually. See the
section "GUID-F16385E9-3369-4438-8317-DF071EC4FA2E" for
information about manually configuring the L2TPv3 session
parameters.
Example:
Router(config-if-xconn)# match
protocol ipv6
Wide-Area Networking Configuration Guide: Layer 2 Services, Cisco IOS Release 12.4T
95
Layer 2 Tunneling Protocol Version 3
Configuring Protocol Demultiplexing for HDLC Interfaces
SUMMARY STEPS
1. enable
2. configure terminal
3. interface type slot / port
4. ip address ip-address mask [secondary]
5. xconnect peer-ip-address vcid pw-class pw-class-name
6. match protocol ipv6
DETAILED STEPS
Router> enable
Example:
Step 3 interface type slot / port Specifies the interface by type, slot, and port number, and enters interface
configuration mode.
Example:
Step 4 ip address ip-address mask [secondary] Sets a primary or secondary IP address for an interface.
Example:
Router(config-if)# ip address
172.16.128.4 255.255.255.252
Wide-Area Networking Configuration Guide: Layer 2 Services, Cisco IOS Release 12.4T
96
Configuring an L2TPv3 Custom Ethertype for Dot1q and QinQ Encapsulations
Configuring Protocol Demultiplexing for HDLC Interfaces
Example:
Router(config-if-xconn)# match
protocol ipv6
SUMMARY STEPS
1. enable
2. configure terminal
3. interface type number
4. dot1q tunneling ethertype {0x88A8 | 0x9100 | 0x9200}
5. exit
Wide-Area Networking Configuration Guide: Layer 2 Services, Cisco IOS Release 12.4T
97
Manually Clearing L2TPv3 Tunnels
Configuring Protocol Demultiplexing for HDLC Interfaces
DETAILED STEPS
Example:
Router# configure terminal
Step 3 interface type number Specifies an interface and enters interface configuration
mode.
Example:
Router(config)# interface gigabitethernet 1/0/0
Step 4 dot1q tunneling ethertype {0x88A8 | 0x9100 | 0x9200} Defines the Ethertype field type used by peer devices when
implementing Q-in-Q VLAN tagging.
Example:
Router(config-if)# dot1q tunneling ethertype 0x9100
Example:
Router(config-if)# exit
SUMMARY STEPS
1. enable
2. clear l2tun {l2tp-class l2tp-class-name | tunnel id tunnel-id | local ip ip-address | remote ip ip-
address | all}
Wide-Area Networking Configuration Guide: Layer 2 Services, Cisco IOS Release 12.4T
98
Layer 2 Tunneling Protocol Version 3
Configuration Examples for Layer 2 Tunneling Protocol Version 3
DETAILED STEPS
Step 2 clear l2tun {l2tp-class l2tp-class- Clears the specified L2TPv3 tunnel. (This command is not available if there are no
name | tunnel id tunnel-id | local ip L2TPv3 tunnel sessions configured.)
ip-address | remote ip ip-address |
• l2tp-class l2tp-class-name--All L2TPv3 tunnels with the specified L2TP
all}
class name are torn down.
• tunnel id tunnel-id--The L2TPv3 tunnel with the specified tunnel ID are torn
Example: down.
Router# clear l2tun tunnel id • local ip ip-address--All L2TPv3 tunnels with the specified local IP address
56789 are torn down.
• remote ip ip-address--All L2TPv3 tunnels with the specified remote IP
address are torn down.
• all--All L2TPv3 tunnels are torn down.
• Example: Configuring a Static L2TPv3 Session for an Xconnect Ethernet Interface, page 100
• Example: Configuring a Negotiated L2TPv3 Session for an Xconnect VLAN Subinterface, page 100
• Configuring a Negotiated L2TPv3 Session for Local HDLC Switching Example, page 101
• Example: Verifying an L2TPv3 Session, page 101
• Example: Verifying an L2TP Control Channel, page 102
• Example: Configuring L2TPv3 Control Channel Authentication, page 102
• Example: Configuring L2TPv3 Digest Secret Graceful Switchover, page 103
• Example: Verifying L2TPv3 Digest Secret Graceful Switchover, page 103
• Example: Configuring a Pseudowire Class for Fragmentation of IP Packets, page 103
• Configuring ATM VP Mode Single Cell Relay over L2TPv3 Example, page 104
• Verifying ATM VP Mode Single Cell Relay over L2TPv3 Configuration Example, page 104
• Configuring ATM Single Cell Relay VC Mode over L2TPv3 Example, page 104
• Verifying ATM Single Cell Relay VC Mode over L2TPv3 Example, page 104
• Configuring ATM Port Mode Cell Relay over L2TPv3 Example, page 105
Wide-Area Networking Configuration Guide: Layer 2 Services, Cisco IOS Release 12.4T
99
Example: Configuring a Static L2TPv3 Session for an Xconnect Ethernet Interface
Configuration Examples for Layer 2 Tunneling Protocol Version 3
Wide-Area Networking Configuration Guide: Layer 2 Services, Cisco IOS Release 12.4T
100
Configuring a Negotiated L2TPv3 Session for Local HDLC Switching Example
Configuration Examples for Layer 2 Tunneling Protocol Version 3
password secret
pseudowire-class vlan-xconnect
encapsulation l2tpv3
protocol l2tpv3 class1
ip local interface Loopback0
interface Ethernet0/0.1
encapsulation dot1Q 5
xconnect 10.0.3.201 123 pw-class vlan-xconnect
interface loopback 1
ip address 10.0.0.1 255.255.255.255
interface loopback 2
ip address 10.0.0.2 255.255.255.255
pseudowire-class loopback1
encapsulation l2tpv3
ip local interface loopback1
pseudowire-class loopback2
encapsulation l2tpv3
ip local interface loopback2
interface s0/0
encapsulation hdlc
xconnect 10.0.0.1 100 pw-class loopback2
interface s0/1
encapsulation hdlc
xconnect 10.0.0.2 100 pw-class loopback1
• To display detailed information about current L2TPv3 sessions on a router, use the show l2tun session
all command:
Router# show l2tun session all
Session Information Total tunnels 0 sessions 1
Session id 111 is up, tunnel id 0
Call serial number is 0
Remote tunnel name is
Internet address is 10.0.0.1
Session is manually signalled
Session state is established, time since change 00:06:05
0 Packets sent, 0 received
0 Bytes sent, 0 received
Receive packets dropped:
out-of-order: 0
total: 0
Send packets dropped:
exceeded session MTU: 0
total: 0
Session vcid is 123
Session Layer 2 circuit, type is ATM VPC CELL, name is ATM3/0/0:1000007
Wide-Area Networking Configuration Guide: Layer 2 Services, Cisco IOS Release 12.4T
101
Example: Verifying an L2TP Control Channel
Configuration Examples for Layer 2 Tunneling Protocol Version 3
Circuit state is UP
Remote session id is 222, remote tunnel id 0
DF bit off, ToS reflect disabled, ToS value 0, TTL value 255
Session cookie information:
local cookie, size 8 bytes, value 00 00 00 00 00 00 00 64
remote cookie, size 8 bytes, value 00 00 00 00 00 00 00 C8
SSS switching enabled
Sequencing is off
To display detailed information the L2TP control channels that are set up to other L2TP-enabled devices
for all L2TP sessions on the router, use the show l2tun tunnel all command.
Router# show l2tun tunnel all
Tunnel id 26515 is up, remote id is 41814, 1 active sessions
Tunnel state is established, time since change 03:11:50
Tunnel transport is IP (115)
Remote tunnel name is tun1
Internet Address 172.18.184.142, port 0
Local tunnel name is Router
Internet Address 172.18.184.116, port 0
Tunnel domain is
VPDN group for tunnel is
0 packets sent, 0 received
0 bytes sent, 0 received
Control Ns 11507, Nr 11506
Local RWS 2048 (default), Remote RWS 800
Tunnel PMTU checking disabled
Retransmission time 1, max 1 secondsPF
Unsent queuesize 0, max 0
Resend queuesize 1, max 1
Total resends 0, ZLB ACKs sent 11505
Current nosession queue check 0 of 5
Retransmit time distribution: 0 0 0 0 0 0 0 0 0
Sessions disconnected due to lack of resources 0
The following example shows how to configure control channel authentication using the L2TPv3 Control
Message Hashing feature:
l2tp-class class1
digest secret cisco hash sha
hidden
The following example shows how to configure control channel integrity checking and how to disable
validation of the message digest using the L2TPv3 Control Message Hashing feature:
l2tp-class class2
digest hash sha
no digest check
Wide-Area Networking Configuration Guide: Layer 2 Services, Cisco IOS Release 12.4T
102
Example: Configuring L2TPv3 Digest Secret Graceful Switchover
Configuration Examples for Layer 2 Tunneling Protocol Version 3
The following example shows how to disable the validation of the message digest using the L2TPv3
Control Message Hashing feature:
l2tp-class class3
no digest check
Wide-Area Networking Configuration Guide: Layer 2 Services, Cisco IOS Release 12.4T
103
Configuring ATM VP Mode Single Cell Relay over L2TPv3 Example
Configuration Examples for Layer 2 Tunneling Protocol Version 3
pw-class atm-xconnect
encapsulation l2tpv3
interface ATM 4/1
atm pvp 5 l2transport
xconnect 10.0.3.201 888 pw-class atm-xconnect
Router#
show atm vp 5
ATM4/1/0 VPI: 5, Cell-Relay, PeakRate: 155000, CesRate: 0, DataVCs: 0,
CesVCs: 0, Status: ACTIVE
VCD VCI Type InPkts OutPkts AAL/Encap Status
8 3 PVC 0 0 F4 OAM ACTIVE
9 4 PVC 0 0 F4 OAM ACTIVE
TotalInPkts: 0, TotalOutPkts: 0, TotalInFast: 0, TotalOutFast: 0,
TotalBroadcasts: 0
pw-class atm-xconnect
encapsulation l2tpv3
interface ATM 4/1
pvc 5/500 l2transport
encapsulation aal0
xconnect 10.0.3.201 888 pw-class atm-xconnect
Router#
show atm vc
VCD/ Peak Avg/Min Burst
Interface Name VPI VCI Type Encaps Kbps Kbps Cells Sts
2/0 4 9 901 PVC AAL0 149760 N/A UP
The following show l2tun session command output displays information about VCC cell relay
configuration:
Router#
show l2tun session all
Session Information Total tunnels 1 sessions 2
Session id 41883 is up, tunnel id 18252
Call serial number is 3211600003
Remote tunnel name is khur-l2tp
Internet address is 10.0.0.2
Session is L2TP signalled
Session state is established, time since change 00:00:38
Wide-Area Networking Configuration Guide: Layer 2 Services, Cisco IOS Release 12.4T
104
Configuring ATM Port Mode Cell Relay over L2TPv3 Example
Configuration Examples for Layer 2 Tunneling Protocol Version 3
pw-class atm-xconnect
encapsulation l2tpv3
interface atm 4/1
xconnect 10.0.3.201 888 pw-class atm-xconnect
VP Mode
VC Mode
Wide-Area Networking Configuration Guide: Layer 2 Services, Cisco IOS Release 12.4T
105
Verifying ATM AAL5 SDU Mode over L2TPv3 Configuration Examples
Configuration Examples for Layer 2 Tunneling Protocol Version 3
The following configuration binds a PVC to an xconnect attachment circuit to forward ATM cells over an
established L2TPv3 pseudowire:
pw-class atm-xconnect
encapsulation l2tpv3
interface atm 4/1
pvc 5/500 l2transport
encapsulation aal5
xconnect 10.0.3.201 888 pw-class atm-xconnect
Configuring ATM AAL5 SDU Mode over L2TPv3 in VC-Class Configuration Mode
The following example configures ATM AAL5 over L2TPv3 in VC class configuration mode. The VC
class is then applied to an interface.
Router#
show atm vc
VCD/ Peak Avg/Min Burst
Interface Name VPI VCI Type Encaps Kbps Kbps Cells Sts
2/0 pvc 9 900 PVC AAL5 2400 200 UP
2/0 4 9 901 PVC AAL5 149760 N/A UP
The following show l2tun session command output displays information about ATM VC mode
configurations:
Router#
show l2tun session brief
Session Information Total tunnels 1 sessions 2
LocID TunID Peer-address State Username, Intf/
sess/cir Vcid, Circuit
41875 18252 10.0.0.2 est,UP 124, AT2/0:9/901
111 0 10.0.0.2 est,UP 123, AT2/0:9/900
Verifying ATM AAL5 over MPLS in VC Class Configuration Mode
To verify that ATM AAL5 over L2TPv3 is configured as part of a VC class, issue the show atm class-
linkscommand. The command output shows the type of encapsulation and that the VC class was applied to
an interface.
Router#
show atm class links 1/100
Displaying vc-class inheritance for ATM1/0.0, vc 1/100:
no broadcast - Not configured - using default
encapsulation aal5 - VC-class configured on main interface
.
.
.
Configuring OAM Local Emulation for ATM AAL5 over L2TPv3 Examples
Configuring OAM Cell Emulation for ATM AAL5 over L2TPv3 in ATM VC Configuration Mode
Wide-Area Networking Configuration Guide: Layer 2 Services, Cisco IOS Release 12.4T
106
Layer 2 Tunneling Protocol Version 3
Configuration Examples for Layer 2 Tunneling Protocol Version 3
The following configuration binds a PVC to an xconnect attachment circuit to forward ATM AAL5 frames
over an established L2TPv3 pseudowire, enables OAM local emulation, and specifies that AIS cells are
sent every 30 seconds:
pw-class atm-xconnect
encapsulation l2tpv3
interface ATM 4/1
pvc 5/500 l2transport
encapsulation aal5
xconnect 10.0.3.201 888 pw-class atm-xconnect
oam-ac emulation-enable 30
Configuring OAM Cell Emulation for ATM AAL5 over L2TPv3 in VC Class Configuration Mode
The following example configures OAM cell emulation for ATM AAL5 over L2TPv3 in VC class
configuration mode. The VC class is then applied to an interface.
oam-ac emulation-enable 30
oam-pvc manage
interface atm1/0
class-int oamclass
pvc 1/200 l2transport
xconnect 10.13.13.13 100 encapsulation l2tpv3
The following example configures OAM cell emulation for ATM AAL5 over L2TPv3 in VC class
configuration mode. The VC class is then applied to a PVC.
oam-ac emulation-enable 30
oam-pvc manage
interface atm1/0
pvc 1/200 l2transport
class-vc oamclass
xconnect 10.13.13.13 100 encapsulation l2tpv3
The following example configures OAM cell emulation for ATM AAL5 over L2TPv3 in VC class
configuration mode. The OAM cell emulation AIS rate is set to 30 for the VC class. The VC class is then
Wide-Area Networking Configuration Guide: Layer 2 Services, Cisco IOS Release 12.4T
107
Verifying OAM Local Emulation for ATM AAL5 over L2TPv3 Configuration Examples
Configuration Examples for Layer 2 Tunneling Protocol Version 3
applied to an interface. One PVC is configured with OAM cell emulation at an AIS rate of 10. That PVC
uses the AIS rate of 10 instead of 30.
oam-ac emulation-enable 30
oam-pvc manage
interface atm1/0
class-int oamclass
pvc 1/200 l2transport
oam-ac emulation-enable 10
xconnect 10.13.13.13 100 encapsulation l2tpv3
Verifying OAM Local Emulation for ATM AAL5 over L2TPv3 Configuration
Examples
The following show atm pvc command output shows that OAM cell emulation is enabled and working on
the ATM PVC:
Router#
show atm pvc 5/500
Wide-Area Networking Configuration Guide: Layer 2 Services, Cisco IOS Release 12.4T
108
Example: Manually Clearing an L2TPv3 Tunnel
Configuration Examples for Layer 2 Tunneling Protocol Version 3
PPP Interface
HDLC Interface
pseudowire-class fr-xconnect
encapsulation l2tpv3
protocol l2tpv3
ip local interface Loopback0
sequencing both
!
interface Serial0/0
encapsulation frame-relay
frame-relay intf-type dce
!
connect one Serial0/0 100 l2transport
xconnect 10.0.3.201 555 pw-class fr-xconnect
!
connect two Serial0/0 200 l2transport
xconnect 10.0.3.201 666 pw-class fr-xconnect
interface Serial0/0
xconnect 10.0.3.201 555 pw-class serial-xconnect
Wide-Area Networking Configuration Guide: Layer 2 Services, Cisco IOS Release 12.4T
109
Configuring QoS for L2TPv3 on the Cisco 7500 Series Example
Configuring QoS on a Frame Relay Interface in a TSC-Based L2TPv3 Tunnel Session
ip cef distributed
class-map dlci100
match fr-dlci 100
class-map dlci200
match fr-dlci 200
!
policy-map dlci
class dlci100
bandwidth 256
class dlci200
bandwidth 512
!
interface Serial0/0
encapsulation frame-relay
frame-relay interface-type dce
service-policy output dlci
!
connect one Serial0/0 100 l2transport
xconnect 10.0.3.201 555 encapsulation l2tpv3 pw-class mqc
!
connect two Serial0/0 200 l2transport
xconnect 10.0.3.201 666 encapsulation l2tpv3 pw-class mqc
Wide-Area Networking Configuration Guide: Layer 2 Services, Cisco IOS Release 12.4T
110
Layer 2 Tunneling Protocol Version 3
Configuring Traffic Policing on an ISE E5 Interface in a Native L2TPv3 Tunnel Session
The following example shows the MQC commands and ToS byte configuration used on a Cisco 12000
series router to apply a QoS policy for DLCI 100 on the ingress side of a Frame Relay interface configured
for server card-based L2TPv3 tunneling:
policy-map frtp-policy
class class-default
police cir 8000 bc 6000 pir 32000 be 4000 conform-action transmit exceed-action set-frde-
transmit violate-action drop
!
map-class frame-relay fr-map
service-policy input frtp-policy
!
interface Serial0/1/1:0
encapsulation frame-relay
frame-relay interface-dlci 100 switched
class fr-map
connect frol2tp1 Serial0/1/1:0 100 l2transport
xconnect 10.0.3.201 666 encapsulation l2tpv3 pw-class aaa
!
pseudowire-class aaa
encapsulation l2tpv3
ip tos value 96
To apply a QoS policy for L2TPv3 to the egress side of a Frame Relay interface on a Cisco 12000 series 2-
port Channelized OC-3/STM-1 (DS1/E1) or 6-port Channelized T3 line card, you must:
• Use the match ip precedence command in class-map configuration mode to configure the IP
precedence value used to determine the egress queue for each L2TPv3 packet with a Frame Relay
payload.
• Use the random-detectcommand in policy-map class configuration mode to enable a WRED drop
policy for a Frame Relay traffic class that has a bandwidth guarantee. Use the random-detect
precedence command to configure the WRED and MDRR parameters for particular IP precedence
values.
The next example shows the MQC commands used on a Cisco 12000 series Internet router to apply a QoS
policy with WRED/MDRR settings for specified IP precedence values to DLCI 100 on the egress side of a
Frame Relay interface configured for a server card-based L2TPv3 tunnel session:
class-map match-all d2
match ip precedence 2
class-map match-all d3
match ip precedence 3
!
policy-map o
class d2
bandwidth percent 10
random-detect
random-detect precedence 1 200 packets 500 packets 1
class d3
bandwidth percent 10
random-detect
random-detect precedence 1 1 packets 2 packets 1
!
map-class frame-relay fr-map
service-policy output o
!
interface Serial0/1/1:0
encapsulation frame-relay
frame-relay interface-dlci 100 switched
class fr-map
connect frol2tp1 Serial0/1/1:0 100 l2transport
xconnect 10.0.3.201 666 encapsulation l2tpv3 pw-class aaa
Wide-Area Networking Configuration Guide: Layer 2 Services, Cisco IOS Release 12.4T
111
Layer 2 Tunneling Protocol Version 3
Configuring Traffic Policing on an ISE E5 Interface in a Native L2TPv3 Tunnel Session
Starting in Cisco IOS Release 12.0(30)S, QoS traffic policing is supported on the following types of Edge
Engine (ISE/E5) ingress interfaces bound to a native L2TPv3 tunnel session:
• ATM
• Frame Relay DLCIs
QoS traffic shaping in a native L2TPv3 tunnel session is supported on ATM ISE/E5 egress interfaces for
the following service categories:
• UBR (unspecified bit rate)
• VBR-nrt (variable bit rate nonreal-time)
Traffic policing allows you to control the maximum rate of traffic sent or received on an interface and to
partition a network into multiple priority levels or classes of service (CoS). The dual rate, 3-Color Marker
in color-aware and color-blind modes, as defined in RFC 2698 for traffic policing, is supported on ingress
ISE/E5 interfaces to classify packets.
The police command configures traffic policing using two rates, the committed information rate (CIR) and
the peak information rate (PIR). The following conform, exceed, and violate values for the actionsargument
are supported with the police command in policy-map configuration mode on an ISE/E5 interface bound to
an L2TPv3 tunnel session:
• conform-action actions : Actions taken on packets that conform to the CIR and PIR.
◦ set-prec-tunnel:Sets the IP precedence value in the tunnel header of a packet encapsulated for
native L2TPv3 tunneling.
◦ set-dscp-tunnel:Sets the IP differentiated services code point (DSCP) value in the tunnel header
of a packet encapsulated for native L2TPv3 tunneling.
◦ transmit:Sends the packet with no alteration.
• exceed-action actions : Actions taken on packets that conform to the CIR but not the PIR.
◦ drop:Drops the packet.
◦ set-clp(ATM only):Sets the Cell Loss Priority (CLP) bit from 0 to 1 in an ATM cell encapsulated
for native L2TPv3 tunneling.
◦ set-dscp-tunnel:Sets the DSCP value in the tunnel header of a packet encapsulated for native
L2TPv3 tunneling.
◦ set-dscp-tunnel and set-clp(ATM only): Sets the DSCP value in the tunnel header and the CLP
bit in an ATM cell encapsulated for native L2TPv3 tunneling.
◦ set-dscp-tunnel and set-frde(Frame Relay only):Sets the DSCP value in the tunnel header and
discard eligible (DE) bit in a Frame Relay packet encapsulated for native L2TPv3 tunneling.
◦ set-frde(Frame Relay only):Sets the DE bit in a Frame Relay packet encapsulated for native
L2TPv3 tunneling.
◦ set-prec-tunnel and set-clp(ATM only):Sets the precedence value in the tunnel header and the
CLP bit in an ATM cell encapsulated for native L2TPv3 tunneling.
◦ set-prec-tunnel and set-frde(Frame Relay only):Sets the precedence value in the tunnel header
and the Frame Relay DE bit in a Frame Relay packet encapsulated for native L2TPv3 tunneling.
◦ transmit:Sends the packet with no alteration.
• violate-action actions : Actions taken on packets that exceed the PIR.
◦ drop:Drops the packet.
You can configure these conform, exceed, and violate values for the actionsargument of the police
command in policy-map configuration mode on an ATM or Frame Relay ISE/E5 interface at the same time
you use the ip tos command to configure the value of the ToS byte in IP headers of tunneled packets in a
pseudowire class configuration applied to the interface (see the sections
Wide-Area Networking Configuration Guide: Layer 2 Services, Cisco IOS Release 12.4T
112
Layer 2 Tunneling Protocol Version 3
Configuring Traffic Policing on an ISE E5 Interface in a Native L2TPv3 Tunnel Session
Note This behavior is designed. We recommend that you configure only native L2TPv3 tunnel sessions and
reconfigure any ISE/E5 interfaces configured with the ip tos command to use the QoS policy configured
for native L2TPv3 traffic policing.
The following example shows how to configure traffic policing using the dual rate, 3-Color Marker on an
ISE/E5 Frame Relay interface in a native L2TPv3 tunnel session.
Note This example shows how to use the policecommand in conjunction with the conform-color command to
specify the policing actions to be taken on packets in the conform-color class and the exceed-color class.
This is called a color-aware method of policing and is described in " QoS: Color-Aware Policer ."
However, you can also configure color-blind traffic policing on an ISE/E5 Frame Relay interface in a
native L2TPv3 tunnel session, using only the policecommand without the conform-color command.
policy-map o
class d2
bandwidth percent 10
random-detect precedence 1 200 packets 500 packets 1
class d3
bandwidth percent 10
random-detect precedence 1 1 packets 2 packets 1
!
interface Serial0/1/1:0
Wide-Area Networking Configuration Guide: Layer 2 Services, Cisco IOS Release 12.4T
113
Layer 2 Tunneling Protocol Version 3
Configuring Tunnel Marking in a Native L2TPv3 Tunnel Session
encapsulation frame-relay
frame-relay interface-dlci 100 switched
class fr-map
service output o
interface POS0/0
frame-relay interface-dlci 100 switched
class fr_100
Note You cannot configure per-DLCI shaping using the method shown in this example to configure traffic
shaping.
To configure class-based shaping, configure the match qos-group and random-detect discard-class
values according to the incoming IP precedence and DSCP values from packets received on the backbone-
facing ingress interface. Use these values to define traffic classes on the customer-facing egress interface.
Wide-Area Networking Configuration Guide: Layer 2 Services, Cisco IOS Release 12.4T
114
Configuring a QoS Policy for Committed Information Rate Guarantees Example
Configuring Traffic Shaping in a Native L2TPv3 Tunnel Session
class match_qos3
bandwidth percent 5
shape average 160000000
class match_qos12
shape average 64000000
random-detect discard-class-based
random-detect discard-class 1 500 packets 1000 packets
random-detect discard-class 2 1000 packets 2000 packets
bandwidth percent 10
class class-default
shape average 64000000
queue-limit 1000 packets
bandwidth percent 1
!
policy-map backbone_ingress_policy
class match_prec1
set qos-group 1
set discard-class 1
class match_prec2
set qos-group 2
set discard-class 2
class match_prec3
set qos-group 3
set discard-class 3
class class-default
set qos-group 5
set discard-class 5
L2TPv3 Customer-Facing ISE/E5 Interface
interface POS0/0
service-policy output customer_egress_policy
frame-relay interface-dlci 100 switched
class fr_100
L2TPv3 Backbone-Facing ISE/E5 Interface
interface POS1/0
service-policy input backbone_ingress_policy
ip cef distributed
class-map dlci100
match fr-dlci 100
class-map dlci200
match fr-dlci 200
!
policy-map dlci
class dlci100
bandwidth 256
class dlci200
bandwidth 512
!
interface Serial 0/0
encapsulation frame-relay
frame-relay intf-type dce
service-policy output dlci
!
connect one Serial 0/0 100 l2transport
xconnect 10.0.3.201 555 encapsulation l2tpv3 pw-class mqc
!
connect two Serial 0/0 200 l2transport
xconnect 10.0.3.201 666 encapsulation l2tpv3 pw-class mqc
Wide-Area Networking Configuration Guide: Layer 2 Services, Cisco IOS Release 12.4T
115
Setting the Frame Relay DE Bit Configuration Example
Configuring Traffic Shaping in a Native L2TPv3 Tunnel Session
class-map data
match qos-group 1
!
policy-map SET-DE
class data
set fr-de
!
interface Serial 0/0/0
encapsulation frame-relay
service-policy output SET-DE
!
connect fr-mpls-100 serial 0/0/0 100 l2transport
xconnect 10.10.10.10 pw-class l2tpv3
class-map data
match fr-de
!
policy-map MATCH-DE
class data
set ip precedence tunnel 3
!
ip routing
ip cef distributed
!
mpls label protocol ldp
interface Loopback0
ip address 10.20.20.20 255.255.255.255
!
interface Ethernet1/0/0
ip address 172.16.0.2 255.255.255.0
tag-switching ip
!
interface Serial4/0/0
encapsulation frame-relay
service input MATCH-DE
!
connect 100 Serial4/0/0 100 l2transport
xconnect 10.10.10.10 100 encapsulation l2tpv3
The next example shows how to configure the service policy called set_prec_tunnel_from_frde and attach
it to a Cisco 12000 series ISE/E5 interface bound to a native L2TPv3 tunnel session. Note that in a native
L2TPv3 session, you must attach the service policy to a DLCI (in the example, DCLI 100) instead of to a
main interface (as in the preceding example).
Wide-Area Networking Configuration Guide: Layer 2 Services, Cisco IOS Release 12.4T
116
Configuring MLFR for L2TPv3 on the Cisco 12000 Series Example
Configuring Traffic Shaping in a Native L2TPv3 Tunnel Session
!
policy-map set_prec_tunnel_from_frde
class match-frde
set ip precedence tunnel 6
class class-default
set ip precedence tunnel 3
!
map-class frame-relay fr_100
service-policy input set_prec_tunnel_from_frde
!
interface POS0/0
description ISE: L2TPv3 Customer-facing interface
frame-relay interface-dlci 100 switched
class fr_100
frame-relay switching
!
pseudowire-class mfr
encapsulation l2tpv3
ip local interface Loopback0
!
interface mfr0
frame-relay intf-type dce
!
interface Serial0/0.1/1:11
encapsulation frame-relay MFR0
!
interface Serial0/0.1/1:12
encapsulation frame-relay MFR0
!
connect L2TPoMFR MFR0 100 l2transport
xconnect 10.10.10.10 3 pw-class mfr
ip cef distributed
class-map dlci100
match fr-dlci 100
class-map dlci200
match fr-dlci 200
!
policy-map dlci
class dlci100
bandwidth 256
class dlci200
bandwidth 512
!
interface Serial0/0
encapsulation frame-relay
frame-relay intf-type dce
service-policy output dlci
!
connect one Serial0/0 100 l2transport
xconnect 10.0.3.201 555 encapsulation l2tpv3 pw-class mqc
!
connect two Serial0/0 200 l2transport
xconnect 10.0.3.201 666 encapsulation l2tpv3 pw-class mqc
Wide-Area Networking Configuration Guide: Layer 2 Services, Cisco IOS Release 12.4T
117
Example: Configuring an L2TPv3 Custom Ethertype for Dot1q and QinQ Encapsulations
Additional References
Additional References
Related Documents
Wide area networking commands: complete Cisco IOS Wide-Area Networking Command
command syntax, command mode, defaults, usage Reference
guidelines and examples
Frame Relay commands: complete command Cisco IOS Wide-Area Networking Command
syntax, command mode, defaults, usage guidelines Reference
and examples
IPv6 commands: complete command syntax, Cisco IOS IPv6 Command Reference
command mode, defaults, usage guidelines and
examples
Wide-Area Networking Configuration Guide: Layer 2 Services, Cisco IOS Release 12.4T
118
Layer 2 Tunneling Protocol Version 3
Additional References
Multilink Frame Relay over L2TPv3/AToM Multilink Frame Relay over L2TPv3/AToM
Tunnel marking for L2TPv3 tunnels QoS: Tunnel Marking for L2TPv3 Tunnels
VPN commands: complete command syntax, Cisco IOS Dial Technologies Command Reference
command mode, defaults, usage guidelines, and
examples
Standards
Standard Title
draft-ietf-l2tpext-l2tp-base-03.txt Layer Two Tunneling Protocol (Version 3)
"L2TPv3"
MIBs
RFCs
RFC Title
RFC 2661 Layer Two Tunneling Protocol "L2TP"
Wide-Area Networking Configuration Guide: Layer 2 Services, Cisco IOS Release 12.4T
119
Layer 2 Tunneling Protocol Version 3
Feature Information for Layer 2 Tunneling Protocol Version 3
Technical Assistance
Description Link
The Cisco Support website provides extensive http://www.cisco.com/techsupport
online resources, including documentation and tools
for troubleshooting and resolving technical issues
with Cisco products and technologies.
To receive security and technical information about
your products, you can subscribe to various
services, such as the Product Alert Tool (accessed
from Field Notices), the Cisco Technical Services
Newsletter, and Really Simple Syndication (RSS)
Feeds.
Access to most tools on the Cisco Support website
requires a Cisco.com user ID and password.
Release Modification
2.6.2 Support was added for the ip pmtu command.
Wide-Area Networking Configuration Guide: Layer 2 Services, Cisco IOS Release 12.4T
120
Layer 2 Tunneling Protocol Version 3
Feature Information for Layer 2 Tunneling Protocol Version 3
Release Modification
12.0(25)S Support was added for the ATM VP Mode Single
Cell Relay over L2TPv3 feature on the Cisco 7200
and Cisco 7500 series routers with ATM Deluxe
PA-A3 interfaces.
L2TPv3 control plane support was introduced on
the Cisco 12000 series 1-port channelized OC-12
(DS3) line card.
Wide-Area Networking Configuration Guide: Layer 2 Services, Cisco IOS Release 12.4T
121
Layer 2 Tunneling Protocol Version 3
Feature Information for Layer 2 Tunneling Protocol Version 3
Release Modification
12.0(30)S Support was added for the following features to
Cisco IOS Release 12.0(30)S:
• L2TPv3 Digest Secret Graceful Switchover
• Manual Clearing of L2TPv3 Tunnels
• VC Class Provisioning for L2VPN
Support was added for native L2TPv3 tunneling on
IP services engine (ISE) line cards on the Cisco
12000 series Internet router.
Wide-Area Networking Configuration Guide: Layer 2 Services, Cisco IOS Release 12.4T
122
Layer 2 Tunneling Protocol Version 3
Feature Information for Layer 2 Tunneling Protocol Version 3
Release Modification
12.0(33)S Support was added for the following features to
Cisco IOS Release 12.0(33)S:
• Protocol Demultiplexing for L2TPv3 for PPP
traffic
• Protocol Demultiplexing for L2TPv3 for
HDLC traffic
• Protocol Demultiplexing for L2TPv3 on
Engine-3/Engine-5 line cards in the Cisco
12000 series platforms
• Protocol Demultiplexing for L2TPv3 on
Engine-3/Engine-5 line cards in the Cisco
12000 series platforms for PPP, HDLC,
Ethernet, and Frame-Relay encapsulations
• Color Aware Policer on Engine-3/Engine-5
line cards for Ethernet over L2TPv3
• Site of Origin for Border Gateway Protocol
Virtual Private Networks (BGP-VPNs)
• Control Message Statistics and Conditional
Debugging Command Enhancements
(including L2VPN Pseudowire Conditional
Debugging)
Wide-Area Networking Configuration Guide: Layer 2 Services, Cisco IOS Release 12.4T
123
Layer 2 Tunneling Protocol Version 3
Feature Information for Layer 2 Tunneling Protocol Version 3
Release Modification
12.2(25)S4 Support was added for the following features on the
Cisco 7304 NPE-G100 and the Cisco 7304
NSE-100:
• L2TPv3: Layer 2 Tunneling Protocol
• ATM AAL5 OAM Emulation over L2TPv3
• ATM Port Mode Cell Relay over L2TPv3
• ATM Single Cell Relay VC Mode over
L2TPv3
• ATM VP Mode Single Cell Relay over
L2TPv3
• L2TPv3 Layer 2 fragmentation
Support was added for this feature on the Cisco
7304 NPE-G100 only:
• L2TPv3 Distributed Sequencing
Wide-Area Networking Configuration Guide: Layer 2 Services, Cisco IOS Release 12.4T
124
Layer 2 Tunneling Protocol Version 3
Glossary
Release Modification
Cisco IOS Release 12.4T
Glossary
AV pairs-- Attribute-value pairs.
CEF--Cisco Express Forwarding. The Layer 3 IP switching technology that optimizes network
performance and scalability for networks with large and dynamic traffic patterns.
data-link control layer--Layer 2 in the SNA architectural model. Responsible for the transmission of data
over a particular physical link. Corresponds approximately to the data link layer of the OSI model.
DCE--Data circuit-terminating equipment (ITU-T expansion). Devices and connections of a
communications network that comprise the network end of the user-to-network interface.
DF bit--Don’t Fragment bit. The bit in the IP header that can be set to indicate that the packet should not be
fragmented.
DTE--Data terminal equipment. The device at the user end of a user-network interface that serves as a data
source, destination, or both.
HDLC--High-Level Data Link Control. A generic link-level communications protocol developed by the
ISO. HDLC manages synchronous, code-transparent, serial information transfer over a link connection.
ICMP--Internet Control Message Protocol. A network protocol that handles network errors and error
messages.
IDB-- Interface descriptor block.
Wide-Area Networking Configuration Guide: Layer 2 Services, Cisco IOS Release 12.4T
125
Layer 2 Tunneling Protocol Version 3
IS-IS--Intermediate System-to-Intermediate System. The OSI link-state hierarchical routing protocol based
on DECnet Phase V routing, whereby ISs (routers) exchange routing information based on a single metric
to determine network topology.
L2TP--An extension to PPP that merges features of two tunneling protocols: Layer 2 Forwarding (L2F)
from Cisco Systems and Point-to-Point Tunneling Protocol (PPTP) from Microsoft. L2TP is an IETF
standard endorsed by Cisco Systems and other networking industry leaders.
L2TPv3--The draft version of L2TP that enhances functionality in RFC 2661 (L2TP).
LMI--Local Management Interface.
MPLS--Multiprotocol Label Switching. A switching method that forwards IP traffic using a label. This
label instructs the routers and switches in the network where to forward packets based on preestablished IP
routing information.
MQC--Modular quality of service CLI.
MTU--Maximum Transmission Unit. The maximum packet size, in bytes, that a particular interface can
handle.
PMTU--Path MTU.
PVC--Permanent virtual circuit. A virtual circuit that is permanently established. A Frame Relay logical
link, whose endpoints and class of service are defined by network management. Analogous to an X.25
permanent virtual circuit, a PVC consists of the originating Frame Relay network element address,
originating data-link control identifier, terminating Frame Relay network element address, and termination
data-link control identifier. Originating refers to the access interface from which the PVC is initiated.
Terminating refers to the access interface at which the PVC stops. Many data network customers require a
PVC between two points. PVCs save the bandwidth associated with circuit establishment and tear down in
situations where certain virtual circuits must exist all the time. Data terminating equipment with a need for
continuous communication uses PVCs.
PW--Pseudowire.
SNMP--Simple Network Management Protocol. The network management protocol used almost
exclusively in TCP/IP networks. SNMP provides a means to monitor and control network devices and
manage configurations, statistics collection, performance, and security.
tunneling--Architecture that is designed to provide the services necessary to implement any standard point-
to-point encapsulation scheme.
UNI--User-Network Interface.
VPDN--Virtual private dialup network. A network that allows separate and autonomous protocol domains
to share common access infrastructure, including modems, access servers, and ISDN routers. A VPDN
enables users to configure secure networks that take advantage of ISPs that tunnel remote access traffic
through the ISP cloud.
Cisco and the Cisco Logo are trademarks of Cisco Systems, Inc. and/or its affiliates in the U.S. and other
countries. A listing of Cisco's trademarks can be found at www.cisco.com/go/trademarks. Third party
trademarks mentioned are the property of their respective owners. The use of the word partner does not
imply a partnership relationship between Cisco and any other company. (1005R)
Any Internet Protocol (IP) addresses and phone numbers used in this document are not intended to be
actual addresses and phone numbers. Any examples, command display output, network topology diagrams,
Wide-Area Networking Configuration Guide: Layer 2 Services, Cisco IOS Release 12.4T
126
Layer 2 Tunneling Protocol Version 3
and other figures included in the document are shown for illustrative purposes only. Any use of actual IP
addresses or phone numbers in illustrative content is unintentional and coincidental.
Wide-Area Networking Configuration Guide: Layer 2 Services, Cisco IOS Release 12.4T
127
Example: Configuring an L2TPv3 Custom Ethertype for Dot1q and QinQ Encapsulations
Wide-Area Networking Configuration Guide: Layer 2 Services, Cisco IOS Release 12.4T
128
L2VPN Pseudowire Redundancy
The L2VPN Pseudowire Redundancy feature lets you configure your network to detect a failure in the
network and reroute the Layer 2 (L2) service to another endpoint that can continue to provide service.
This feature provides the ability to recover from a failure either of the remote provider edge (PE) router or
of the link between the PE and customer edge (CE) routers.
Wide-Area Networking Configuration Guide: Layer 2 Services, Cisco IOS Release 12.4T
129
Introduction to L2VPN Pseudowire Redundancy
Restrictions for L2VPN Pseudowire Redundancy
Wide-Area Networking Configuration Guide: Layer 2 Services, Cisco IOS Release 12.4T
130
L2VPN Pseudowire Redundancy
Information About L2VPN Pseudowire Redundancy
interruptions in service. The figure below shows those parts of the network that are vulnerable to an
interruption in service.
The L2VPN Pseudowire Redundancy feature provides the ability to ensure that the CE2 router in the figure
above can always maintain network connectivity, even if one or all the failures in the figure occur.
The L2VPN Pseudowire Redundancy feature enables you to set up backup pseudowires. You can configure
the network with redundant pseudowires (PWs) and redundant network elements, which are shown in the
three figures below.
The figure below shows a network with redundant pseudowires and redundant attachment circuits.
The figure below shows a network with redundant pseudowires, attachment circuits, and CE routers.
Figure 6 L2VPN Network with Redundant PWs, Attachment Circuits, and CE Routers
Wide-Area Networking Configuration Guide: Layer 2 Services, Cisco IOS Release 12.4T
131
Configuring the Pseudowire
How to Configure L2VPN Pseudowire Redundancy
The figure below shows a network with redundant pseudowires, attachment circuits, CE routers, and PE
routers.
Figure 7 L2VPN Network with Redundant PWs, Attachment Circuits, CE Routers, and PE Routers
% Incomplete command.
Wide-Area Networking Configuration Guide: Layer 2 Services, Cisco IOS Release 12.4T
132
Configuring L2VPN Pseudowire Redundancy
How to Configure L2VPN Pseudowire Redundancy
SUMMARY STEPS
1. enable
2. configure terminal
3. pseudowire-class name
4. encapsulation mpls
5. interworking {ethernet | ip}
DETAILED STEPS
Router> enable
Example:
Step 3 pseudowire-class name Establishes a pseudowire class with a name that you specify. Enters
pseudowire class configuration mode.
Example:
Step 4 encapsulation mpls Specifies the tunneling encapsulation. For AToM, the encapsulation
type is mpls.
Example:
Step 5 interworking {ethernet | ip} (Optional) Enables the translation between the different Layer 2
encapsulations.
Example:
Router(config-pw-class)# interworking ip
Wide-Area Networking Configuration Guide: Layer 2 Services, Cisco IOS Release 12.4T
133
L2VPN Pseudowire Redundancy
How to Configure L2VPN Pseudowire Redundancy
mode. See Any Transport over MPLS to determine how to configure the xconnect command for other
transport types.
SUMMARY STEPS
1. enable
2. configure terminal
3. interface gigabitethernet slot / subslot / interface . subinterface
4. encapsulation dot1q vlan-id
5. xconnect peer-router-id vcid {encapsulation mpls| pw-class pw-class-name}
6. backup peer peer-router-ip-addr vcid [pw-class pw-class-name]
7. backup delay e nable-delay {disable-delay | never}
DETAILED STEPS
Router> enable
Example:
Step 3 interface gigabitethernet slot / subslot / interface . Specifies the Gigabit Ethernet subinterface and enters subinterface
subinterface configuration mode.
Make sure that the subinterface on the adjoining CE router is on the
same VLAN as this PE router.
Example:
Router(config)# interface
gigabitethernet0/0/0.1
Step 4 encapsulation dot1q vlan-id Enables the subinterface to accept 802.1Q VLAN packets.
The subinterfaces between the CE and PE routers that are running
Ethernet over MPLS must be in the same subnet. All other
Example: subinterfaces and backbone routers do not.
Router(config-subif)# encapsulation dot1q
100
Wide-Area Networking Configuration Guide: Layer 2 Services, Cisco IOS Release 12.4T
134
Forcing a Manual Switchover to the Backup Pseudowire VC
How to Configure L2VPN Pseudowire Redundancy
Step 6 backup peer peer-router-ip-addr vcid [pw-class Specifies a redundant peer for the pseudowire VC.
pw-class-name] The pseudowire class name must match the name you specified
when you created the pseudowire class, but you can use a different
pw-class in the backup peer command than the name that you used
Example: in the primary xconnect command.
Router(config-if-xconn)# backup peer
10.0.0.3 125 pw-class atom
Step 7 backup delay e nable-delay {disable-delay | Specifies how long (in seconds) the backup pseudowire VC should
never} wait to take over after the primary pseudowire VC goes down. The
range is 0 to 180.
Specifies how long the primary pseudowire should wait after it
Example: becomes active to take over for the backup pseudowire VC. The
Router(config-if-xconn)# backup delay 5 range is 0 to 180 seconds. If you specify the never keyword, the
never primary pseudowire VC never takes over for the backup.
SUMMARY STEPS
1. enable
2. xconnect backup force-switchover { interface interface-info | peer ip-address vcid}
DETAILED STEPS
Router> enable
Wide-Area Networking Configuration Guide: Layer 2 Services, Cisco IOS Release 12.4T
135
Verifying the L2VPN Pseudowire Redundancy Configuration
How to Configure L2VPN Pseudowire Redundancy
Example:
SUMMARY STEPS
1. show mpls l2transport vc
2. show xconnect all
3. xconnect logging redundancy
DETAILED STEPS
Example:
Example:
Wide-Area Networking Configuration Guide: Layer 2 Services, Cisco IOS Release 12.4T
136
L2VPN Pseudowire Redundancy
Configuration Examples for L2VPN Pseudowire Redundancy
Example:
Example:
Example:
Example:
pseudowire-class mpls
encapsulation mpls
• L2VPN IP interworking:
pseudowire-class mpls-ip
Wide-Area Networking Configuration Guide: Layer 2 Services, Cisco IOS Release 12.4T
137
L2VPN Pseudowire Redundancy and AToM Like to Like Examples
Configuration Examples for L2VPN Pseudowire Redundancy
encapsulation mpls
interworking ip
• L2VPN Pseudowire Redundancy and AToM Like to Like Examples, page 138
• L2VPN Pseudowire Redundancy and L2VPN Interworking Examples, page 138
• L2VPN Pseudowire Redundancy with Layer 2 Local Switching Examples, page 139
interface Serial4/0
xconnect 10.55.55.2 4000 pw-class mpls
backup peer 10.55.55.3 4001 pw-class mpls
The following example shows a Frame Relay attachment circuit xconnect with a backup pseudowire:
interface Ethernet0/0
xconnect 10.55.55.2 1000 pw-class mpls-ip
backup peer 10.55.55.3 1001 pw-class mpls-ip
The following example shows an Ethernet VLAN attachment circuit xconnect with L2VPN IP interworking
and a backup pseudowire:
interface Ethernet1/0.1
encapsulation dot1Q 200
no ip directed-broadcast
xconnect 10.55.55.2 5200 pw-class mpls-ip
backup peer 10.55.55.3 5201 pw-class mpls-ip
The following example shows a Frame Relay attachment circuit xconnect with L2VPN IP interworking and
a backup pseudowire:
The following example shows a PPP attachment circuit xconnect with L2VPN IP interworking and a
backup pseudowire:
interface Serial7/0
encapsulation ppp
xconnect 10.55.55.2 2175 pw-class mpls-ip
backup peer 10.55.55.3 2176 pw-class mpls-ip
Wide-Area Networking Configuration Guide: Layer 2 Services, Cisco IOS Release 12.4T
138
L2VPN Pseudowire Redundancy with Layer 2 Local Switching Examples
Additional References
The following example shows a Frame Relay-to-Frame Relay local switching connect with a pseudowire
backup for Frame Relay segment S8/0 150. If data-link connection identifier (DLCI) 150 on S8/0 goes
down, the backup pseudowire is activated.
Additional References
Related Documents
Standards
Standards Title
None --
MIBs
Wide-Area Networking Configuration Guide: Layer 2 Services, Cisco IOS Release 12.4T
139
L2VPN Pseudowire Redundancy
Feature Information for L2VPN Pseudowire Redundancy
RFCs
RFCs Title
None --
Technical Assistance
Description Link
The Cisco Support website provides extensive http://www.cisco.com/techsupport
online resources, including documentation and tools
for troubleshooting and resolving technical issues
with Cisco products and technologies.
To receive security and technical information about
your products, you can subscribe to various
services, such as the Product Alert Tool (accessed
from Field Notices), the Cisco Technical Services
Newsletter, and Really Simple Syndication (RSS)
Feeds.
Access to most tools on the Cisco Support website
requires a Cisco.com user ID and password.
Wide-Area Networking Configuration Guide: Layer 2 Services, Cisco IOS Release 12.4T
140
L2VPN Pseudowire Redundancy
Cisco and the Cisco Logo are trademarks of Cisco Systems, Inc. and/or its affiliates in the U.S. and other
countries. A listing of Cisco's trademarks can be found at www.cisco.com/go/trademarks. Third party
trademarks mentioned are the property of their respective owners. The use of the word partner does not
imply a partnership relationship between Cisco and any other company. (1005R)
Any Internet Protocol (IP) addresses and phone numbers used in this document are not intended to be
actual addresses and phone numbers. Any examples, command display output, network topology diagrams,
Wide-Area Networking Configuration Guide: Layer 2 Services, Cisco IOS Release 12.4T
141
L2VPN Pseudowire Redundancy
and other figures included in the document are shown for illustrative purposes only. Any use of actual IP
addresses or phone numbers in illustrative content is unintentional and coincidental.
Wide-Area Networking Configuration Guide: Layer 2 Services, Cisco IOS Release 12.4T
142
L2VPN Interworking
Layer 2 Virtual Private Network (L2VPN) Interworking allows you to connect disparate attachment
circuits. This feature module explains how to configure the following L2VPN Interworking features:
• Ethernet/VLAN to ATM AAL5 Interworking
• Ethernet/VLAN to Frame Relay Interworking
• Ethernet/VLAN to PPP Interworking
• Ethernet to VLAN Interworking
• Frame Relay to ATM AAL5 Interworking
• Frame Relay to PPP Interworking
• Ethernet/VLAN to ATM virtual channel identifier (VPI) and virtual channel identifier (VCI)
Interworking
• L2VPN Interworking: VLAN Enable/Disable Option for AToM
Wide-Area Networking Configuration Guide: Layer 2 Services, Cisco IOS Release 12.4T
143
General Restrictions
Restrictions for L2VPN Interworking
• On the Cisco 12000 series Internet router, before you configure Layer 2 Tunnel Protocol version 3
(L2TPv3) for L2VPN Interworking on an IP Services Engine (ISE/Engine 3) or Engine 5 interface,
you must also enable the L2VPN feature bundle on the line card.
To enable the feature bundle, enter the hw-module slot np mode feature command in global configuration
mode as follows:
General Restrictions
This section lists general restrictions that apply to L2VPN Interworking. Other restrictions that are
platform-specific or device-specific are listed in the following sections.
• The interworking type on one provider edge (PE) router must match the interworking type on the peer
PE router.
• The following quality of service (QoS) features are supported with L2VPN Interworking:
◦ Static IP type of service (ToS) or Multiprotocol Label Switching (MPLS) experimental bit (EXP)
setting in tunnel header
◦ IP ToS reflection in tunnel header (Layer 2 Tunnel Protocol Version 3 (L2TPv3) only)
◦ Frame Relay policing
◦ Frame Relay data-link connection identifier (DLCI)-based congestion management (Cisco 7500/
Versatile Interface Processor (VIP))
◦ One-to-one mapping of VLAN priority bits to MPLS EXP bits
• Only ATM AAL5 VC mode is supported; ATM VP and port mode are not supported.
• In Cisco IOS Release 12.2(52)SE and Cisco IOS Release 12.2(33)SRE, the encapsulation command
supports only the mpls keyword. The l2tpv3 keyword is not supported. The interworking command
supports only the ethernet and vlan keywords. The ip keyword is not supported.
Wide-Area Networking Configuration Guide: Layer 2 Services, Cisco IOS Release 12.4T
144
L2VPN Interworking
Restrictions for L2VPN Interworking
Table 11 Cisco 7600 Series Routers: Supported Line Cards for the WAN Side
Table 12 Cisco 7600 Series Routers: Supported Line Cards for the Ethernet Side
Interworking Type Ethernet over MPLS Core-Facing Line Cards Customer-Edge Line
Mode Cards
Ethernet (bridged) Policy feature card Any, except optical Catalyst LAN SIP-600
(PFC) based service module (OSM)
and ES40
Ethernet (bridged) Scalable (with E-MPB) Any, except OSM ES20 SIP-600 and
SIP-400 with Gigabit
Ethernet (GE) SPA
The following restrictions apply to the Cisco 7600 series routers and L2VPN Interworking:
• OAM Emulation is not required with L2VPN Interworking on the SIP-200, SIP-400, and Flexwan2
line cards.
Wide-Area Networking Configuration Guide: Layer 2 Services, Cisco IOS Release 12.4T
145
Cisco 12000 Series Router Restrictions
Restrictions for L2VPN Interworking
• Cisco 7600 series routers support the L2VPN Interworking: VLAN Enable/Disable Option for AToM
feature starting in Cisco IOS Release 12.2(33)SRE. This feature has the following restrictions:
◦ PFC-based EoMPLS is not supported.
◦ Scalable and SVI-based EoMPLS are supported with the SIP-400 line card.
• The Cisco 7600 series routers do not support L2VPN Interworking over L2TPv3.
• Cisco 7600 series routers support only the following interworking types:
◦ Ethernet/VLAN to Frame Relay (IP and Ethernet modes)
◦ Ethernet/VLAN to ATM AAL5SNAP (IP and Ethernet modes)
◦ Ethernet/VLAN to PPP (IP only)
◦ Ethernet to VLAN Interworking
• Cisco 7600 series routers do not support the following interworking types:
◦ Ethernet/VLAN to ATM AAL5MUX
◦ Frame Relay to PPP Interworking
◦ Frame Relay to ATM AAL5 Interworking
• Both ends of the interworking link must be configured with the same encapsulation and interworking
type:
◦ If you use Ethernet encapsulation, you must use the Ethernet (bridged) interworking type. If you
are not using Ethernet encapsulation, you can use a bridging mechanism, such as routed bridge
encapsulation (RBE).
◦ If you use an IP encapsulation (such as ATM or Frame Relay), you must use the IP (routed)
interworking type. The PE routers negotiate the process for learning and resolving addresses.
◦ You must use the same MTU size on the attachment circuits at each end of the pseudowire.
• PFC-based EoMPLS is not supported on ES40 line cards. SVI and EVC/scalable EoMPLS are the
alternative options.
• PFC-based EoMPLS is not supported for Routed/IP interworking in Cisco IOS Release 12.2(33)SRD
and later releases. The alternative Routed/IP interworking options are SVI and EVC or scalable
EoMPLS. However, PFC-based EoMPLS is supported for Ethernet/Bridged interworking and for like-
to-like over AToM.
Wide-Area Networking Configuration Guide: Layer 2 Services, Cisco IOS Release 12.4T
146
L2VPN Interworking
Restrictions for L2VPN Interworking
• Engine 5 SPAs:
◦ SPA-1XCHSTM1/OC-3 (1-port channelized STM-1c/OC-3c to DS0)
◦ SPA-8XCHT1/E1 (8-port channelized T1/E1)
◦ SPA-2XOC-48-POS/RPR (2-port OC-48/STM16 POS/RPR)
◦ SPA-OC-192POS-LR (1-port OC-192/STM64 POS/RPR)
◦ SPA-OC-192POS-XFP (1-port OC-192/STM64 POS/RPR)
Wide-Area Networking Configuration Guide: Layer 2 Services, Cisco IOS Release 12.4T
147
L2VPN Interworking
Restrictions for L2VPN Interworking
Table 13 Engine 3 and Engine 5 Line Cards/SPAs Supported for L2VPN Interworking
Attachment Circuit Attachment Circuit Interworking Mode AC1 Engine Type AC2 Engine Type
1 (AC1) 2 (AC2) and Line Card/SPA and Line Card/SPA
Frame Relay Frame Relay IP Engine 5 POS and Engine 3 ATM line
channelized cards
Frame Relay ATM Ethernet Engine 5 POS and Engine 3 ATM line
channelized cards
On the Cisco 12000 series Engine 3 line card, Network Layer Protocol ID (NLPID) encapsulation is not
supported in routed mode; and neither NLPID nor AAL5MUX is supported in bridged mode.
• On the Cisco 12000 series Internet router, Ethernet (bridged) interworking is not supported for
L2TPv3.
Wide-Area Networking Configuration Guide: Layer 2 Services, Cisco IOS Release 12.4T
148
ATM AAL5 Interworking Restrictions
Restrictions for L2VPN Interworking
In an L2VPN Interworking configuration, after you configure L2TPv3 tunnel encapsulation for a
pseudowire using the encapsulation l2tpv3command, you cannot enter the interworking ethernet
command.
• On Ethernet SPAs on the Cisco 12000 series Internet router, the only frame format supported for
L2TPv3 interworking is Ethernet Version 2 (also known as Ethernet II) with the Ether type 0x0800
value set as Internet Protocol Payload and [optionally] 802.1q VLAN.
Ethernet packets with other Ethernet frame formats are dropped.
Wide-Area Networking Configuration Guide: Layer 2 Services, Cisco IOS Release 12.4T
149
L2VPN Interworking VLAN Enable Disable Option for AToM Restrictions
Restrictions for L2VPN Interworking
• The Cisco 10720 Internet router supports Ethernet to VLAN Interworking Ethernet only over L2TPv3.
• Ethernet interworking for a raw Ethernet port or a VLAN trunk is not supported. Traffic streams are
not kept separate when traffic is sent between transport types.
• In routed mode, only one CE router can be attached to an Ethernet PE router.
• There must be a one-to-one relationship between an attachment circuit and the pseudowire. Point-to-
multipoint or multipoint-to-point configurations are not supported.
• Configure routing protocols for point-to-point operation on the CE routers when configuring an
Ethernet to non-Ethernet setup.
• In the IP interworking mode, the IPv4 (0800) translation is supported. The PE router captures ARP
(0806) packets and responds with its own MAC address (proxy ARP). Everything else is dropped.
• The Ethernet or VLAN must contain only two IP devices: PE router and CE router. The PE router
performs proxy ARP and responds to all ARP requests it receives. Therefore, only one CE and one PE
router should be on the Ethernet or VLAN segment.
• If the CE routers are doing static routing, you can perform the following tasks:
◦ The PE router needs to learn the MAC address of the CE router to correctly forward traffic to it.
The Ethernet PE router sends an Internet Control Message Protocol (ICMP) Router discovery
protocol (RDP) solicitation message with the source IP address as zero. The Ethernet CE router
responds to this solicitation message. To configure the Cisco CE router’s Ethernet or VLAN
interface to respond to the ICMP RDP solicitation message, issue the ip irdpcommand in
interface configuration mode. If you do not configure the CE router, traffic is dropped until the
CE router sends traffic toward the PE router.
◦ To disable the CE routers from running the router discovery protocol, issue the ip irdp
maxadvertinterval 0 command in interface mode.
• This restriction applies if you configure interworking between Ethernet and VLAN with Catalyst
switches as the CE routers. The spanning tree protocol is supported for Ethernet interworking. Ethernet
interworking between an Ethernet port and a VLAN supports spanning tree protocol only on VLAN 1.
Configure VLAN 1 as a nonnative VLAN.
• When you change the interworking configuration on an Ethernet PE router, clear the ARP entry on the
adjacent CE router so that it can learn the new MAC address. Otherwise, you might experience traffic
drops.
Wide-Area Networking Configuration Guide: Layer 2 Services, Cisco IOS Release 12.4T
150
L2VPN Interworking
Restrictions for L2VPN Interworking
◦ VLAN to VLAN
• If you specify an interworking type on a PE router, that interworking type must be enforced. The
interworking type must match on both PE routers. Otherwise, the VC may be in an incompatible state
and remain in the down state. If the attachment circuit (AC) is VLAN, the PE router can negotiate
(autosense) the VC type using Label Distribution Protocol (LDP).
For example, both PE1 and PE2 use Ethernet interfaces, and VLAN interworking is specified on PE1 only.
PE2 is not configured with an interworking type and cannot autosense the interworking type. The result is
an incompatible state where the VC remains in the down state.
On the other hand, if PE1 uses an Ethernet interface and VLAN interworking is enabled (which will
enforce VLAN as the VC type), and PE2 uses a VLAN interface and interworking is not enabled (which
causes PE2 to use Ethernet as its default VC type), PE2 can autosense and negotiate the interworking type
and select VLAN as the VC type.
The table below shows the AC types, interworking options, and VC types after negotiation.
Wide-Area Networking Configuration Guide: Layer 2 Services, Cisco IOS Release 12.4T
151
Frame Relay Interworking Restrictions
Restrictions for L2VPN Interworking
Wide-Area Networking Configuration Guide: Layer 2 Services, Cisco IOS Release 12.4T
152
Overview of L2VPN Interworking
Information About L2VPN Interworking
The L2VPN Interworking feature supports Ethernet, 802.1Q (VLAN), Frame Relay, ATM AAL5, and PPP
attachment circuits over MPLS and L2TPv3. The features and restrictions for like-to-like functionality also
apply to L2VPN Interworking.
Wide-Area Networking Configuration Guide: Layer 2 Services, Cisco IOS Release 12.4T
153
L2VPN Interworking
Ethernet Interworking
Ethernet Interworking
The ethernet keyword causes Ethernet frames to be extracted from the attachment circuit and sent over the
pseudowire. Ethernet end-to-end transmission is assumed. Attachment circuit frames that are not Ethernet
are dropped. In the case of VLAN, the VLAN tag is removed, leaving an untagged Ethernet frame.
Ethernet Interworking is also called bridged interworking. Ethernet frames are bridged across the
pseudowire. The CE routers could be natively bridging Ethernet or could be routing using a bridged
encapsulation model, such as Bridge Virtual Interface (BVI) or RBE. The PE routers operate in Ethernet
like-to-like mode.
This mode is used to offer the following services:
• LAN services--An example is an enterprise that has several sites, where some sites have Ethernet
connectivity to the service provider (SP) network and others have ATM connectivity. The enterprise
wants LAN connectivity to all its sites. In this case, traffic from the Ethernet or VLAN of one site can
be sent through the IP/MPLS network and encapsulated as bridged traffic over an ATM VC of another
site.
• Connectivity services--An example is an enterprise that has different sites that are running an Internal
Gateway Protocol (IGP) routing protocol, which has incompatible procedures on broadcast and
nonbroadcast links. The enterprise has several sites that are running an IGP, such as Open Shortest
Path First (OSPF) or Intermediate System to Intermediate System (IS-IS), between the sites. In this
scenario, some of the procedures (such as route advertisement or designated router) depend on the
underlying Layer 2 protocol and are different for a point-to-point ATM connection versus a broadcast
Ethernet connection. Therefore, the bridged encapsulation over ATM can be used to achieve
homogenous Ethernet connectivity between the CE routers running the IGP.
IP Interworking
The ip keyword causes IP packets to be extracted from the attachment circuit and sent over the pseudowire.
Attachment circuit frames that do not contain IPv4 packets are dropped.
IP Interworking is also called routed interworking. The CE routers encapsulate IP on the link between the
CE and PE routers. A new VC type is used to signal the IP pseudowire in MPLS and L2TPv3. Translation
between the Layer 2 and IP encapsulations across the pseudowire is required. Special consideration needs
to be given to address resolution and routing protocol operation, because these are handled differently on
different Layer 2 encapsulations.
This mode is used to provide IP connectivity between sites, regardless of the Layer 2 connectivity to these
sites. It is different from a Layer 3 VPN because it is point-to-point in nature and the service provider does
not maintain any customer routing information.
Address resolution is encapsulation dependent:
• Ethernet uses ARP
• Frame Relay and ATM use Inverse ARP
• PPP uses IPCP
Therefore, address resolution must be terminated on the PE router. End-to-end address resolution is not
supported. Routing protocols operate differently over broadcast and point-to-point media. For Ethernet, the
CE routers must either use static routing or configure the routing protocols to treat the Ethernet side as a
point-to-point network.
Wide-Area Networking Configuration Guide: Layer 2 Services, Cisco IOS Release 12.4T
154
L2VPN Interworking Support Matrix
VLAN Interworking
VLAN Interworking
The vlan keyword allows the VLAN ID to be included as part of the Ethernet frame. In Cisco IOS Release
12.2(52)SE, you can configure Catalyst 3750 Metro switches to use Ethernet VLAN for Ethernet (bridged)
interworking. You can specify the Ethernet VLAN (type 4) by issuing the interworking vlan command in
pseudowire-class configuration mode. This allows the VLAN ID to be included as part of the Ethernet
frame. In releases previous to Cisco IOS Release 12.2(52)SE, the only way to achieve VLAN encapsulation
is to ensure the CE router is connected to the PE router through an Ethernet VLAN interface/subinterface.
8 With the L2VPN Interworking: VLAN Enable/Disable Option for AToM feature, VLAN interworking can also be supported. For more information, see the
"VLAN Interworking" section on page 14 .
Wide-Area Networking Configuration Guide: Layer 2 Services, Cisco IOS Release 12.4T
155
Static IP Addresses for L2VPN Interworking for PPP
How to Configure L2VPN Interworking
pseudowire-class ip-interworking
encapsulation mpls
interworking ip
interface Serial2/0
encapsulation ppp
xconnect 10.0.0.2 200 pw-class ip-interworking
ppp ipcp address proxy 10.65.32.14
You can also configure the remote CE router’s IP address on the local CE router with the peer default ip
address command if the local CE router performs address resolution.
SUMMARY STEPS
1. enable
2. configure terminal
3. hw-module slot slot-number np mode feature
4. pseudowire-class name
5. encapsulation {mpls | l2tpv3}
6. interworking {ethernet | ip} | vlan}
Wide-Area Networking Configuration Guide: Layer 2 Services, Cisco IOS Release 12.4T
156
Verifying the L2VPN Interworking Configuration
How to Configure L2VPN Interworking
DETAILED STEPS
Router> enable
Example:
Step 3 hw-module slot slot-number np mode feature (Optional) Enables L2VPN Interworking functionality on the Cisco
12000 series router.
Note Enter this command only on a Cisco 12000 series Internet router
Example: if you use L2TPv3 for L2VPN Interworking on an ISE (Engine
Router(config)# hw-module slot 3 np 3) or Engine 5 interface. In this case, you must first enable the
mode feature L2VPN feature bundle on the line card by entering the hw-
module slot slot-number np mode feature command.
Step 4 pseudowire-class name Establishes a pseudowire class with a name that you specify and enters
pseudowire class configuration mode.
Example:
Step 5 encapsulation {mpls | l2tpv3} Specifies the tunneling encapsulation, which is either mpls or l2tpv3.
Example:
Step 6 interworking {ethernet | ip} | vlan} Specifies the type of pseudowire and the type of traffic that can flow
across it.
Note On the Cisco 12000 series Internet router, Ethernet (bridged)
Example: interworking is not supported for L2TPv3. After you configure
Router(config-pw)# interworking ip the L2TPv3 tunnel encapsulation for the pseudowire using the
encapsulation l2tpv3command, you cannot enter the
interworking ethernet command.
Wide-Area Networking Configuration Guide: Layer 2 Services, Cisco IOS Release 12.4T
157
L2VPN Interworking
How to Configure L2VPN Interworking
SUMMARY STEPS
1. enable
2. show l2tun session all (L2TPv3 only)
3. show arp
4. ping
5. show l2tun session interworking (L2TPv3 only)
6. show mpls l2transport vc detail (AToM only)
DETAILED STEPS
Step 1 enable
Enables privileged EXEC mode. Enter your password if prompted.
Step 2 show l2tun session all (L2TPv3 only)
For L2TPv3, you can verify the L2VPN Interworking configuration using the show l2tun session all command on the
PE routers.
In the following example, the interworking type is shown in bold.
Wide-Area Networking Configuration Guide: Layer 2 Services, Cisco IOS Release 12.4T
158
L2VPN Interworking
How to Configure L2VPN Interworking
PE1 PE2
Router# show l2tun session all Router# show l2tun session all
Session Information Total tunnels 1 sessions 1 Session Information Total tunnels 1 sessions 1
Session id 15736 is up, tunnel id 35411 Session id 26570 is up, tunnel id 46882
Session state is established, time since Session state is established, time since
change 1d22h change 1d22h
1518 Bytes sent, 1230 received 1230 Bytes sent, 1230 received
out-of-order: 0 out-of-order: 0
total: 0 total: 0
total: 0 total: 0
Session Layer 2 circuit, type is Ethernet, Session Layer 2 circuit, type is Ethernet
name is FastEthernet1/1/0 Vlan, name is FastEthernet2/0.1:10
You can issue the show arp command between the CE routers to ensure that data is being sent:
Example:
Example:
Example:
Example:
Wide-Area Networking Configuration Guide: Layer 2 Services, Cisco IOS Release 12.4T
160
Configuring L2VPN Interworking VLAN Option for AToM
How to Configure L2VPN Interworking
PE1 PE2
Router# show mpls l2transport vc detail Router# show mpls l2transport vc detail
Local interface: Fa1/1/0 up, line protocol up, Local interface: Fa2/0.3 up, line protocol up,
Ethernet up Eth VLAN 10 up
Destination address: 10.9.9.9, VC ID: 123, VC MPLS VC type is Ethernet, interworking type is
status: up
Ethernet
Preferred path: not configured
Destination address: 10.8.8.8, VC ID: 123, VC
status: up
Default path: active
Preferred path: not configured
Tunnel label: 17, next hop 10.1.1.3
Default path: active
Output interface: Fa4/0/0, imposed label
stack {17 20}
Tunnel label: 16, next hop 10.1.1.3
Wide-Area Networking Configuration Guide: Layer 2 Services, Cisco IOS Release 12.4T
161
L2VPN Interworking
How to Configure L2VPN Interworking
achieve VLAN encapsulation is to ensure the CE router is connected to the PE router through an Ethernet
link.
For complete instructions on configuring AToM, see Any Transport over MPLS.
SUMMARY STEPS
1. enable
2. configure terminal
3. pseudowire-class name
4. encapsulation {mpls | l2tpv3}
5. interworking {ethernet | ip| vlan}
6. end
7. show mpls l2transport vc [vcid vc-id | vcid vc-id-min vc-id-max] [interface type number [local-
circuit-id]] [destination ip-address | name] [detail]
DETAILED STEPS
Router> enable
Example:
Step 3 pseudowire-class name Establishes a pseudowire class with a name that you specify
and enters pseudowire class configuration mode.
Example:
Step 4 encapsulation {mpls | l2tpv3} Specifies the tunneling encapsulation, which is either mpls or
l2tpv3.
• For the L2VPN Interworking: VLAN Enable/Disable
Example:
Option for AToM feature, only MPLS encapsulation is
Router(config-pw)# encapsulation mpls supported.
Step 5 interworking {ethernet | ip| vlan} Specifies the type of pseudowire and the type of traffic that
can flow across it.
• For the L2VPN Interworking: VLAN Enable/Disable
Example:
Option for AToM feature, specify the vlan keyword.
Router(config-pw)# interworking vlan
Wide-Area Networking Configuration Guide: Layer 2 Services, Cisco IOS Release 12.4T
162
L2VPN Interworking
Configuration Examples for L2VPN Interworking
Example:
Router(config-pw)# end
Step 7 show mpls l2transport vc [vcid vc-id | vcid vc-id-min vc- Displays information about AToM VCs.
id-max] [interface type number [local-circuit-id]]
[destination ip-address | name] [detail]
Example:
Router#
show mpls l2transport vc detail
Example
When the pseudowire on an interface is different from the VC type, the interworking type is displayed in
the show mpls l2transport vc detail command output. In the following example, the pseudowire is
configured on an Ethernet port and VLAN interworking is configured in the pseudowire class. The relevant
output is shown in bold:
Wide-Area Networking Configuration Guide: Layer 2 Services, Cisco IOS Release 12.4T
163
Ethernet to VLAN over L2TPV3 Bridged Example
Configuration Examples for L2VPN Interworking
Wide-Area Networking Configuration Guide: Layer 2 Services, Cisco IOS Release 12.4T
164
Ethernet to VLAN over AToM Bridged Example
Configuration Examples for L2VPN Interworking
PE1 PE2
ip cef ip cef
! !
authentication authentication
! !
! !
! !
interface FastEthernet0/0.3
encapsulation dot1Q 10
Wide-Area Networking Configuration Guide: Layer 2 Services, Cisco IOS Release 12.4T
165
Frame Relay to VLAN over L2TPV3 Routed Example
Configuration Examples for L2VPN Interworking
PE1 PE2
ip cef ip cef
! !
mpls ldp router-id Loopback0 force mpls ldp router-id Loopback0 force
! !
interworking ethernet !
! interface Loopback0
! interface FastEthernet0/0
Wide-Area Networking Configuration Guide: Layer 2 Services, Cisco IOS Release 12.4T
166
L2VPN Interworking
Configuration Examples for L2VPN Interworking
PE1 PE2
ip cef ip routing
! frame-relay switching
! !
no shutdown no shutdown
! !
pseudowire-class ip pseudowire-class ip
interworking ip interworking ip
! !
! router ospf 10
Wide-Area Networking Configuration Guide: Layer 2 Services, Cisco IOS Release 12.4T
167
Frame Relay to VLAN over AToM Routed Example
Configuration Examples for L2VPN Interworking
PE1 PE2
ip cef ip routing
! frame-relay switching
! mpls ip
pseudowire-class atom !
! interworking ip
interface loopback 0 !
! no shutdown
encapsulation dot1Q 6
no shutdown
Wide-Area Networking Configuration Guide: Layer 2 Services, Cisco IOS Release 12.4T
168
Frame Relay to ATM AAL5 over AToM Routed Example
Configuration Examples for L2VPN Interworking
Note Frame Relay to ATM AAL5 is available only with AToM in IP mode.
The following example shows the configuration of Frame Relay to ATM AAL5 over AToM:
Wide-Area Networking Configuration Guide: Layer 2 Services, Cisco IOS Release 12.4T
169
VLAN to ATM AAL5 over AToM Bridged Example
Configuration Examples for L2VPN Interworking
PE1 PE2
ip cef ip cef
crc 32 mpls ip
Wide-Area Networking Configuration Guide: Layer 2 Services, Cisco IOS Release 12.4T
170
Frame Relay to PPP over L2TPv3 Routed Example
Configuration Examples for L2VPN Interworking
PE1 PE2
ip cef ip cef
! !
mpls ip mpls ip
! !
! !
! !
encapsulation aal5snap !
! encapsulation dot1Q 10
! router ospf 10
Wide-Area Networking Configuration Guide: Layer 2 Services, Cisco IOS Release 12.4T
171
L2VPN Interworking
Configuration Examples for L2VPN Interworking
PE1 PE2
ip cef ip cef
ip routing ip routing
! !
! frame-relay switching
! !
interworking ip interworking ip
! !
! !
! !
no ip address no ip address
! !
! !
ppp ipcp address proxy 10.65.32.14 xconnect 10.1.1.1 100 pw-class ppp-fr
Wide-Area Networking Configuration Guide: Layer 2 Services, Cisco IOS Release 12.4T
172
Frame Relay to PPP over AToM Routed Example
Configuration Examples for L2VPN Interworking
Wide-Area Networking Configuration Guide: Layer 2 Services, Cisco IOS Release 12.4T
173
L2VPN Interworking
Configuration Examples for L2VPN Interworking
PE1 PE2
ip cef ip cef
ip routing ip routing
mpls ldp router-id loopback0 force mpls ldp router-id loopback0 force
! !
! frame-relay switching
! !
interworking ip interworking ip
! !
! !
mpls ip mpls ip
! !
no ip address no ip address
! !
Wide-Area Networking Configuration Guide: Layer 2 Services, Cisco IOS Release 12.4T
174
Ethernet VLAN to PPP over AToM Routed Example
Configuration Examples for L2VPN Interworking
Wide-Area Networking Configuration Guide: Layer 2 Services, Cisco IOS Release 12.4T
175
L2VPN Interworking
Configuration Examples for L2VPN Interworking
PE1 PE2
mpls ip mpls ip
! !
interworking ip interworking ip
! !
no shutdown no shutdown
! !
switchport
no shutdown
Wide-Area Networking Configuration Guide: Layer 2 Services, Cisco IOS Release 12.4T
176
L2VPN Interworking
Additional References
Additional References
The following sections provide references related to the L2VPN Interworking feature.
Related Documents
Cisco 7600 series routers hardware support Release Notes for Cisco IOS Release 12.2SR for
the Cisco 7600 Series Routers
Cisco 3270 series routers hardware support Cisco IOS Software Releases 12.2SE Release Notes
Standards
Standards Title
draft-ietf-l2tpext-l2tp-base-03.txt Layer Two Tunneling Protocol (Version 3)
'L2TPv3'
Wide-Area Networking Configuration Guide: Layer 2 Services, Cisco IOS Release 12.4T
177
L2VPN Interworking
Feature Information for L2VPN Interworking
MIBs
RFCs
RFCs Title
No new or modified RFCs are supported by this --
feature, and support for existing RFCs has not been
modified by this feature.
Technical Assistance
Description Link
The Cisco Support website provides extensive http://www.cisco.com/techsupport
online resources, including documentation and tools
for troubleshooting and resolving technical issues
with Cisco products and technologies.
To receive security and technical information about
your products, you can subscribe to various
services, such as the Product Alert Tool (accessed
from Field Notices), the Cisco Technical Services
Newsletter, and Really Simple Syndication (RSS)
Feeds.
Access to most tools on the Cisco Support website
requires a Cisco.com user ID and password.
Wide-Area Networking Configuration Guide: Layer 2 Services, Cisco IOS Release 12.4T
178
L2VPN Interworking
Feature Information for L2VPN Interworking
Wide-Area Networking Configuration Guide: Layer 2 Services, Cisco IOS Release 12.4T
179
L2VPN Interworking
Cisco and the Cisco Logo are trademarks of Cisco Systems, Inc. and/or its affiliates in the U.S. and other
countries. A listing of Cisco's trademarks can be found at www.cisco.com/go/trademarks. Third party
trademarks mentioned are the property of their respective owners. The use of the word partner does not
imply a partnership relationship between Cisco and any other company. (1005R)
Any Internet Protocol (IP) addresses and phone numbers used in this document are not intended to be
actual addresses and phone numbers. Any examples, command display output, network topology diagrams,
and other figures included in the document are shown for illustrative purposes only. Any use of actual IP
addresses or phone numbers in illustrative content is unintentional and coincidental.
Wide-Area Networking Configuration Guide: Layer 2 Services, Cisco IOS Release 12.4T
180
Layer 2 Local Switching
The Layer 2 Local Switching feature allows you to switch Layer 2 data in two ways:
• Between two interfaces on the same router
• Between two circuits on the same interface port, which is called same-port switching
The interface-to-interface switching combinations supported by this feature are:
• ATM to ATM
• ATM to Ethernet
• ATM to Frame Relay
• Ethernet to Ethernet VLAN
• Frame Relay to Frame Relay (and Multilink Frame Relay in Cisco IOS Release 12.0(28)S and later)
• High-Level Data Link Control (HDLC)
The following same-port switching features are supported:
• ATM Permanent Virtual Circuit (PVC) and Permanent Virtual Path (PVP)
• Ethernet VLAN
• Frame Relay
Wide-Area Networking Configuration Guide: Layer 2 Services, Cisco IOS Release 12.4T
181
Cisco 7200 and 7500 Series Router Restrictions
Prerequisites for Layer 2 Local Switching
Wide-Area Networking Configuration Guide: Layer 2 Services, Cisco IOS Release 12.4T
182
Cisco 7600 and 6500 Series Router Restrictions
Restrictions for Layer 2 Local Switching
Wide-Area Networking Configuration Guide: Layer 2 Services, Cisco IOS Release 12.4T
183
Gigabit Switch Router Restrictions
Restrictions for Layer 2 Local Switching
Note Native Layer 2 Tunnel Protocol Version 3 (L2TPv3) tunnel sessions on customer edge-facing line cards
can coexist with tunnel sessions that use a tunnel-server card.
• Starting in Cisco IOS Release 12.0(32)SY, customer edge-facing interfaces on Engine 5 SPAs and
SPA Interface Processors (SIPs) support the following types of like-to-like local switching:
◦ Ethernet to Ethernet VLAN
◦ Frame Relay to Frame Relay (including Multilink Frame Relay)
◦ Same-port switching for Ethernet VLAN
◦ Same-port switching for Frame Relay
• For ATM-to-ATM local switching, the following ATM types are supported for the Layer 2 Local
Switching feature:
◦ ATM adaptation layer 5 (AAL5)
◦ ATM single cell relay adaptation layer 0 (AAL0), VC mode
◦ ATM single cell relay VP mode on the GSR
◦ ATM single cell relay VC and VP modes on ISE line cards on the GSR
• Starting with Cisco IOS Release 12.0(30)S, you can use local switching and cell packing with ATM
VP or VC mode on the GSR on IP Services Engine (ISE/Engine 3) line cards. For information about
how to configure cell packing, refer to Any Transport over MPLS.
Unsupported Hardware
The following hardware is not supported:
• Cisco 7200--non-VXR chassis
• Cisco 7500--Route Switch Processor (RSP)1 and 2
• Cisco 7500--Versatile Interface Processor (VIP) 2-40 and below
Wide-Area Networking Configuration Guide: Layer 2 Services, Cisco IOS Release 12.4T
184
Layer 2 Local Switching Overview
Information About Layer 2 Local Switching
Wide-Area Networking Configuration Guide: Layer 2 Services, Cisco IOS Release 12.4T
185
Access Circuit Redundancy Local Switching
ACR for ATM-to-ATM Local Switching
The figure below shows a network that uses local switching for both Frame Relay to Frame Relay and
ATM to Frame Relay local switching.
Wide-Area Networking Configuration Guide: Layer 2 Services, Cisco IOS Release 12.4T
186
Layer 2 Local Switching
ACR for CEM-to-CEM Local Switching
Note The L2 transport VCs must be configured with the same encapsulation type.
The figure below shows the ACR for ATM-to-ATM local switching model.
Figure 10 ATM-to-ATM ACR Local Switching Model
In the figure:
• ATM 1/0/0 and ATM 9/0/0 are configured as working and protection interfaces of ACR 1 group.
• ATM 7/1/0 and ATM 9/1/0 are configured as working and protection interfaces of ACR 2 group.
• A connection is established between the ACRs.
• The Add/Drop Multiplexer (ADM) sends data to both the interfaces, which are part of the ACR group
ACR 1.
• The cells or packets received on the APS active interface VC (0/32) of ACR group 1 are switched to
the ACR 2 interface VC (1/32) and the cells or packets from the APS inactive interface are dropped.
• The packets received on the ACR 2 VC (1/32) interface are replicated on both the physical interfaces,
which are part of the ACR group ACR 2.
Wide-Area Networking Configuration Guide: Layer 2 Services, Cisco IOS Release 12.4T
187
Configuring ATM-to-ATM PVC Local Switching and Same-Port Switching
How to Configure Layer 2 Local Switching
In the figure:
• Packets are received from the ADM. The packets from the APS inactive interface are dropped and the
packets received on the APS active interface are switched.
• The packets received on the CEM circuit ID 1 of the APS active interface, which is part of ACR group
1, are switched to the CEM circuit ID 2 of the APS active interface, which is part of ACR group 2.
• The packets are duplicated and sent on both the APS active and inactive physical CEM interfaces that
are part of ACR group 2.
Note Starting with Cisco IOS Release 12.0(30)S, you can configure same-port switching following the steps in
this section.
Perform this task to configure ATM-to-ATM PVC local switching and same-port switching.
Wide-Area Networking Configuration Guide: Layer 2 Services, Cisco IOS Release 12.4T
188
Layer 2 Local Switching
How to Configure Layer 2 Local Switching
SUMMARY STEPS
1. enable
2. configure terminal
3. interface atm slot / port
4. pvc vpi / vci l2transport
5. encapsulation layer-type
6. exit
7. exit
8. connect connection-name interface pvc interface pvc
DETAILED STEPS
Router> enable
Example:
Step 3 interface atm slot / port Specifies an ATM line card, subslot (if available), and port, and
enters interface configuration mode.
Example:
Step 4 pvc vpi / vci l2transport Assigns a VPI and VCI and enters ATM PVC l2transport
configuration mode.
• The l2transportkeyword indicates that the PVC is a switched
Example:
PVC instead of a terminated PVC.
Router(config-if)# pvc 1/200 l2transport
Step 5 encapsulation layer-type Specifies the encapsulation type for the ATM PVC. Both AAL0 and
AAL5 are supported.
• Repeat Steps 3 through 5 for another ATM PVC on the same
Example:
router.
Router(cfg-if-atm-l2trans-pvc)#
encapsulation aal5
Wide-Area Networking Configuration Guide: Layer 2 Services, Cisco IOS Release 12.4T
189
Configuring ATM-to-ATM PVP Local Switching
How to Configure Layer 2 Local Switching
Example:
Router(cfg-if-atm-l2trans-pvc)# exit
Example:
Router(config-if)# exit
Step 8 connect connection-name interface pvc interface Creates a local connection between the two specified permanent
pvc virtual circuits.
Example:
SUMMARY STEPS
1. enable
2. configure terminal
3. interface atm slot / port
4. atm pvp vpi l2transport
5. exit
6. exit
7. connect connection-name interface pvp interface pvp
Wide-Area Networking Configuration Guide: Layer 2 Services, Cisco IOS Release 12.4T
190
Layer 2 Local Switching
How to Configure Layer 2 Local Switching
DETAILED STEPS
Router> enable
Example:
Step 3 interface atm slot / port Specifies an ATM line card, subslot (if available), and port, and
enters interface configuration mode.
Example:
Step 4 atm pvp vpi l2transport Identifies the virtual path and enters PVP l2transport configuration
mode. The l2transportkeyword indicates that the PVP is a
switched PVP instead of a terminated PVP.
Example:
• Repeat Steps 3 and 4 for another ATM permanent virtual path
Router(config-if)# atm pvp 100 l2transport on the same router.
Step 5 exit Exits PVP l2transport configuration mode and returns to interface
configuration mode.
Example:
Router(config-if-atm-l2trans-pvp)# exit
Example:
Router(config-if)# exit
Wide-Area Networking Configuration Guide: Layer 2 Services, Cisco IOS Release 12.4T
191
Configuring ATM PVP Same-Port Switching
How to Configure Layer 2 Local Switching
Example:
Example:
SUMMARY STEPS
1. enable
2. configure terminal
3. interface atm slot / subslot / port
4. atm pvp vpi l2transport
5. exit
6. exit
7. connect connection-name interface pvp interface pvp
DETAILED STEPS
Router> enable
Example:
Wide-Area Networking Configuration Guide: Layer 2 Services, Cisco IOS Release 12.4T
192
Configuring ATM-to-Ethernet Port Mode Local Switching
How to Configure Layer 2 Local Switching
Example:
Step 4 atm pvp vpi l2transport Specifies one VPI and enters PVP l2transport configuration mode.
Repeat this step for the other ATM permanent virtual path on this
same port.
Example:
• The l2transportkeyword indicates that the indicated PVP is a
Router(config-if)# atm pvp 100 l2transport switched PVP instead of a terminated PVP.
Step 5 exit Exits PVP l2transport configuration mode and returns to interface
configuration mode.
Example:
Router(config-if-atm-l2trans-pvp)# exit
Step 6 exit Exits interface configuration mode and returns to global configuration
mode.
Example:
Router(config-if)# exit
Step 7 connect connection-name interface pvp interface In global configuration mode, creates the local connection between
pvp the two specified permanent virtual paths.
Example:
Note Enabling ICMP Router Discovery Protocol on the Ethernet side is recommended.
Wide-Area Networking Configuration Guide: Layer 2 Services, Cisco IOS Release 12.4T
193
Layer 2 Local Switching
How to Configure Layer 2 Local Switching
SUMMARY STEPS
1. enable
2. configure terminal
3. interface atm slot / port
4. pvc vpi / vci l2transport
5. encapsulation layer-type
6. exit
7. exit
8. interface fastethernet slot / subslot / port
9. exit
10. connect connection-name interface pvc interface [interworking ip | ethernet]
DETAILED STEPS
Router> enable
Example:
Step 3 interface atm slot / port Specifies an ATM line card, subslot (if available), and port, and
enters interface configuration mode.
Example:
Step 4 pvc vpi / vci l2transport Assigns a VPI and VCI and enters PVC l2transport configuration
mode.
• The l2transportkeyword indicates that the PVC is a
Example:
switched PVC instead of a terminated PVC.
Router(config-if)# pvc 1/200 l2transport
Wide-Area Networking Configuration Guide: Layer 2 Services, Cisco IOS Release 12.4T
194
Configuring ATM-to-Ethernet VLAN Mode Local Switching
How to Configure Layer 2 Local Switching
Example:
Router(cfg-if-atm-l2trans-pvc)#
encapsulation aal5snap
Step 6 exit Exits PVC l2transport configuration mode and returns to interface
configuration mode.
Example:
Router(config-if-atm-l2trans-pvc)# exit
Example:
Router(config-if)# exit
Step 8 interface fastethernet slot / subslot / port Specifies a Fast Ethernet line card, subslot (if available), and port,
and enters interface configuration mode.
Example:
Example:
Router(config-if)# exit
Step 10 connect connection-name interface pvc interface In global configuration mode, creates a local connection between
[interworking ip | ethernet] the two interfaces and specifies the interworking type.
• Both the IP and Ethernet interworking types are supported.
Example:
Wide-Area Networking Configuration Guide: Layer 2 Services, Cisco IOS Release 12.4T
195
Layer 2 Local Switching
How to Configure Layer 2 Local Switching
ATM-to-Ethernet local switching supports both the IP and Ethernet interworking types. When the Ethernet
interworking type is used, the interworking device (router) expects a bridged packet. Therefore, configure
the ATM CPE for either IRB or RBE.
Note Enabling ICMP Router Discovery Protocol on the Ethernet side is recommended.
SUMMARY STEPS
1. enable
2. configure terminal
3. interface atm slot / subslot / port
4. pvc vpi / vci l2transport
5. encapsulation layer-type
6. exit
7. interface fastethernet slot / port / subinterface-number
8. encapsulation dot1q vlan-id
9. exit
10. connect connection-name interface pvc interface [interworking ip | ethernet]
DETAILED STEPS
Router> enable
Example:
Wide-Area Networking Configuration Guide: Layer 2 Services, Cisco IOS Release 12.4T
196
Layer 2 Local Switching
How to Configure Layer 2 Local Switching
Example:
Step 4 pvc vpi / vci l2transport Assigns a VPI and VCI and enters PVC l2transport
configuration mode.
• The l2transportkeyword indicates that the PVC is a
Example:
switched PVC instead of a terminated PVC.
Router(config-if)# pvc 1/200 l2transport
Step 5 encapsulation layer-type Specifies the encapsulation type for the PVC.
Example:
Router(cfg-if-atm-l2trans-pvc)# encapsulation
aal5snap
Example:
Router(cfg-if-atm-l2trans-pvc)# exit
Step 7 interface fastethernet slot / port / subinterface-number Specifies a Fast Ethernet line card, subslot (if available), port,
and subinterface, and enters subinterface configuration mode.
Example:
Router(config-if)# interface
fastethernet6/0/0.1
Step 8 encapsulation dot1q vlan-id Enables the interface to accept 802.1Q VLAN packets.
Example:
Example:
Router(config-subif)# exit
Wide-Area Networking Configuration Guide: Layer 2 Services, Cisco IOS Release 12.4T
197
Configuring Ethernet VLAN Same-Port Switching
How to Configure Layer 2 Local Switching
SUMMARY STEPS
1. enable
2. configure terminal
3. interface fastethernet slot / port.subinterface-number
4. encapsulation dot1q vlan-id
5. exit
6. interface fastethernet slot / port.subinterface-number
7. encapsulation dot1q vlan-id
8. exit
9. connect connection-name interface interface
DETAILED STEPS
Router> enable
Example:
Wide-Area Networking Configuration Guide: Layer 2 Services, Cisco IOS Release 12.4T
198
Configuring Ethernet Port Mode to Ethernet VLAN Local Switching
How to Configure Layer 2 Local Switching
Step 4 encapsulation dot1q vlan-id Enables that subinterface to accept 802.1Q VLAN packets and
specifies the first VLAN.
Example:
Example:
Router(config-subif)# exit
Step 6 interface fastethernet slot / port.subinterface-number In global configuration mode, specifies the second Fast
Ethernet line card, subslot (if available), port, and subinterface,
and enters subinterface configuration mode.
Example:
Step 7 encapsulation dot1q vlan-id Enables this subinterface to accept 802.1Q VLAN packets and
specifies the second VLAN.
Example:
Example:
Router(config-subif)# exit
Step 9 connect connection-name interface interface In global configuration mode, creates a local connection
between the two subinterfaces (and hence their previously
specified VLANs) on the same Fast Ethernet port.
Example:
Wide-Area Networking Configuration Guide: Layer 2 Services, Cisco IOS Release 12.4T
199
Layer 2 Local Switching
How to Configure Layer 2 Local Switching
SUMMARY STEPS
1. enable
2. configure terminal
3. interface fastethernet slot / subslot / port
4. interface fastethernet slot / port / subinterface-number
5. encapsulation dot1q vlan-id
6. exit
7. connect connection-name interface interface [interworking ip | ethernet]
DETAILED STEPS
Router> enable
Example:
Step 3 interface fastethernet slot / subslot / port Specifies a Fast Ethernet line card, subslot (if available), and port,
and enters interface configuration mode. This is the interface on
one side of the PE router that passes Ethernet packets to and from
Example: the customer edge (CE) router.
Step 4 interface fastethernet slot / port / subinterface- Specifies a Fast Ethernet line card, subslot (if available), port, and
number subinterface, and enters subinterface configuration mode. This is
the interface on the other side of the PE router than passes Ethernet
VLAN packets to and from the CE router.
Example:
Router(config)# interface
fastethernet6/0/0.1
Step 5 encapsulation dot1q vlan-id Enables the interface to accept 802.1Q VLAN packets.
Example:
Wide-Area Networking Configuration Guide: Layer 2 Services, Cisco IOS Release 12.4T
200
Configuring ATM-to-Frame Relay Local Switching
How to Configure Layer 2 Local Switching
Example:
Router(config-subif)# exit
Step 7 connect connection-name interface interface Creates a local connection between the two interfaces and specifies
[interworking ip | ethernet] the interworking type.
• Both the IP and Ethernet interworking types are supported.
Example:
SUMMARY STEPS
1. enable
2. configure terminal
3. interface atm slot / port
4. pvc vpi / vci l2transport
5. encapsulation layer-type
6. exit
7. interface serial slot / subslot / port
8. encapsulation frame-relay [cisco | ietf]
9. frame-relay interface-dlci dlci switched
10. exit
11. connect connection-name interface pvc interface dlci [interworking ip | ethernet]
Wide-Area Networking Configuration Guide: Layer 2 Services, Cisco IOS Release 12.4T
201
Layer 2 Local Switching
How to Configure Layer 2 Local Switching
DETAILED STEPS
Router> enable
Example:
Step 3 interface atm slot / port Specifies an ATM line card, subslot (if available), and port, and
enters interface configuration mode.
Example:
Step 4 pvc vpi / vci l2transport Assigns a VPI and VCI and enters PVC l2transport configuration
mode.
• The l2transportkeyword indicates that the PVC is a
Example:
switched PVC instead of a terminated PVC.
Router(config-if)# pvc 1/200 l2transport
Step 5 encapsulation layer-type Specifies the encapsulation type for the PVC.
Example:
Router(cfg-if-atm-l2trans-pvc)#
encapsulation aal5snap
Example:
Router(cfg-if-atm-l2trans-pvc)# exit
Step 7 interface serial slot / subslot / port Specifies a channelized line card, subslot (if available), and serial
port.
Example:
Wide-Area Networking Configuration Guide: Layer 2 Services, Cisco IOS Release 12.4T
202
Configuring Frame Relay-to-Frame Relay Local Switching
How to Configure Layer 2 Local Switching
Step 9 frame-relay interface-dlci dlci switched (Optional) Configures a switched Frame Relay DLCI.
• If you do not create a Frame Relay PVC in this step, one is
automatically created by the connect command.
Example:
Example:
Router(config-if)# exit
Step 11 connect connection-name interface pvc interface dlci Creates a local connection between the two interfaces.
[interworking ip | ethernet]
Example:
Example:
Wide-Area Networking Configuration Guide: Layer 2 Services, Cisco IOS Release 12.4T
203
Layer 2 Local Switching
How to Configure Layer 2 Local Switching
SUMMARY STEPS
1. enable
2. configure terminal
3. ip cef distribute d
4. frame-relay switching
5. interface type number
6. encapsulation frame-relay [cisco | ietf]
7. frame-relay interface-dlci dlci switched
8. exit
9. exit
10. connect connection-name interface dlci interface dlci
DETAILED STEPS
Router> enable
Example:
Step 4 frame-relay switching Enables PVC switching on a Frame Relay DCE device or a Network-
to-Network Interface (NNI).
Example:
Step 5 interface type number Specifies a Frame Relay interface and enters interface configuration
mode.
Example:
Wide-Area Networking Configuration Guide: Layer 2 Services, Cisco IOS Release 12.4T
204
Configuring Frame Relay Same-Port Switching
How to Configure Layer 2 Local Switching
Step 7 frame-relay interface-dlci dlci switched (Optional) Creates a switched PVC and enters Frame Relay DLCI
configuration mode.
• Repeat Steps 5 through 7 for each switched PVC.
Example:
• If you do not create a Frame Relay PVC in this step, it will
Router(config-if)# frame-relay interface- automatically be created by the connectcommand.
dlci 100 switched
Step 8 exit Exits Frame Relay DLCI configuration mode and returns to interface
configuration mode.
Example:
Router(config-fr-dlci)# exit
Step 9 exit Exits interface configuration mode and returns to global configuration
mode.
Example:
Router(config-if)# exit
Step 10 connect connection-name interface dlci interface Defines a connection between Frame Relay PVCs.
dlci
Example:
Wide-Area Networking Configuration Guide: Layer 2 Services, Cisco IOS Release 12.4T
205
Layer 2 Local Switching
How to Configure Layer 2 Local Switching
SUMMARY STEPS
1. enable
2. configure terminal
3. ip cef [distributed]
4. frame-relay switching
5. interface type number
6. encapsulation frame-relay [cisco | ietf]
7. frame-relay intf-type [dce| dte| nni]
8. frame-relay interface-dlci dlci switched
9. exit
10. exit
11. connect connection-name interface dlci interface dlci
DETAILED STEPS
Router> enable
Example:
Step 4 frame-relay switching Enables PVC switching on a Frame Relay DCE device or a NNI.
Example:
Wide-Area Networking Configuration Guide: Layer 2 Services, Cisco IOS Release 12.4T
206
Layer 2 Local Switching
How to Configure Layer 2 Local Switching
Example:
Step 7 frame-relay intf-type [dce| dte| nni] (Optional) Enables support for a particular type of connection:
• DCE
Example: • DTE (default)
• NNI
Router(config-if)# frame-relay intf-type
nni
Step 8 frame-relay interface-dlci dlci switched (Optional) Creates a switched PVC and enters Frame Relay DLCI
configuration mode.
• If you do not create a Frame Relay PVC in this step, it will
Example:
automatically be created by the connectcommand.
Router(config-if)# frame-relay interface-
dlci 100 switched
Step 9 exit Exits Frame Relay DLCI configuration mode and returns to
interface configuration mode.
Example:
Router(config-fr-dlci)# exit
Example:
Router(config-if)# exit
Step 11 connect connection-name interface dlci interface Defines a connection between the two data links.
dlci
Example:
Wide-Area Networking Configuration Guide: Layer 2 Services, Cisco IOS Release 12.4T
207
Configuring HDLC Local Switching
How to Configure Layer 2 Local Switching
Note
• Do not configure other settings on the interfaces configured for HDLC encapsulation. If you assign an
IP address on the interface, the connect command is rejected and the following error message
displays:
If you configure other settings on the interface that is enabled for HDLC encapsulation, the local switching
feature may not work.
• Interworking is not supported.
• Same-port local switching for HDLC is not supported.
• Dialer and ISDN interfaces are not supported. Only serial, HSSI, and POS interfaces can be configured
for HDLC local switching.
>
SUMMARY STEPS
1. enable
2. configure terminal
3. ip cef
4. interface type number
5. exit
6. connect connection-name interface interface
DETAILED STEPS
Router> enable
Wide-Area Networking Configuration Guide: Layer 2 Services, Cisco IOS Release 12.4T
208
Configuring ACR for ATM-to-ATM Local Switching
How to Configure Layer 2 Local Switching
Example:
Example:
Router(config)# ip cef
Example:
Example:
Router(config-if)# exit
Step 6 connect connection-name interface interface Defines a connection between the two interfaces.
Example:
Note The connect command provides an infrastructure to create the required L2 transport VCs with the default
AAl0 encapsulation type and does not require that the VCs must exist.
Wide-Area Networking Configuration Guide: Layer 2 Services, Cisco IOS Release 12.4T
209
Layer 2 Local Switching
How to Configure Layer 2 Local Switching
SUMMARY STEPS
1. enable
2. configure terminal
3. interface atm slot/subslot/port
4. aps group [acr] group-number
5. aps working circuit-number
6. aps protect circuit-number ip-address
7. exit
8. interface acr acr-group-number
9. pvc [name] vpi/vci l2transport
10. exit
11. exit
12. connect connection-name type number pvc type number pvc
13. exit
DETAILED STEPS
Router> enable
Example:
Step 3 interface atm slot/subslot/port Specifies an ATM line card, a subslot (if available), and a port, and
enters interface configuration mode.
Example:
Step 4 aps group [acr] group-number Configures an ACR working and protect interface.
• group-number --Number of the group.
Example:
Wide-Area Networking Configuration Guide: Layer 2 Services, Cisco IOS Release 12.4T
210
Layer 2 Local Switching
How to Configure Layer 2 Local Switching
Step 6 aps protect circuit-number ip-address Enables an ATM OC-3 interface as the protect interface.
• circuit-number --Number of the circuit that will be enabled as
the protect interface.
Example:
• ip-address --IP address of the router that has the working ATM
Router(config-if)# aps protect 1 10.0.0.1 OC-3 interface.
Example:
Router(config-if)# exit
Step 8 interface acr acr-group-number Specifies an ACR interface and enters interface configuration mode.
• acr-group-number --The group number assigned to the working
and protect interface.
Example:
Step 9 pvc [name] vpi/vci l2transport Creates an ATM PVC and enters ATM virtual circuit configuration
mode.
Example:
Step 10 exit Exits ATM virtual circuit configuration mode and returns to interface
configuration mode.
Repeat Steps 8 and 9 for the other ACR group.
Example:
Router(config-if-atm-vc)# exit
Example:
Router(config-if)# exit
Wide-Area Networking Configuration Guide: Layer 2 Services, Cisco IOS Release 12.4T
211
Configuring CEM-to-CEM ACR Local Switching
How to Configure Layer 2 Local Switching
Step 13 exit Exits global configuration and returns to privileged EXEC mode.
Example:
Router(config)# exit
SUMMARY STEPS
1. enable
2. configure terminal
3. controller sonet slot / subslot / port
4. aps group [acr] group-number
5. aps working circuit-number
6. aps protect circuit-number ip-address
7. exit
8. controller sonet-acr acr-group-number
9. framing sonet
10. sts-1 number
11. mode vt-15
12. vtg number t1 number cem-group number timeslots number
13. exit
14. exit
15. interface cem-acr acr-group-number
16. exit
17. cem slot / port / channel
18. xconnect virtual-connect-id
19. exit
20. exit
21. connect connection-name type number circuit-id type number circuit-id
22. exit
Wide-Area Networking Configuration Guide: Layer 2 Services, Cisco IOS Release 12.4T
212
Layer 2 Local Switching
How to Configure Layer 2 Local Switching
DETAILED STEPS
Router> enable
Example:
Step 3 controller sonet slot / subslot / port Specifies a virtual controller and enters SONET controller
configuration mode.
Example:
Step 4 aps group [acr] group-number Configures an ACR working and protect interface.
• group-number --Number of the group.
Example:
Step 5 aps working circuit-number Enables a SONET interface as the working interface.
• circuit-number --Number of the circuit that will be enabled
as the working interface.
Example:
Repeat steps 3 to 5 for the protect interface.
Router(config-controller)# aps working 1
Step 6 aps protect circuit-number ip-address Enables a SONET interface as the protect interface.
• circuit-number --Number of the circuit that will be enabled
as the protect interface.
Example:
• ip-address --IP address of the router that has the working
Router(config-controller)# aps protect 1 SONET interface.
10.0.0.1
Step 7 exit Exits SONET controller configuration mode and returns to global
configuration mode.
Example:
Router(config-controller)# exit
Wide-Area Networking Configuration Guide: Layer 2 Services, Cisco IOS Release 12.4T
213
Layer 2 Local Switching
How to Configure Layer 2 Local Switching
Step 9 framing sonet Configures the controller framing for SONET framing.
Example:
Step 10 sts-1 number Specifies the STS identifier and enters STS configuration mode.
Example:
Router(config-controller)# sts-1 2
Example:
Step 12 vtg number t1 number cem-group number timeslots Creates a virtual tributary group carrying a single T1 Circuit
number Emulation Service over Packet Switched Networks (CESoPSN)
group.
Example:
Step 13 exit Exits STS configuration mode and returns to SONET controller
configuration mode.
Example:
Router(config-ctrlr-sts1)# exit
Step 14 exit Exits SONET controller configuration mode and returns to global
configuration mode.
Example:
Router(config-controller)# exit
Wide-Area Networking Configuration Guide: Layer 2 Services, Cisco IOS Release 12.4T
214
Layer 2 Local Switching
How to Configure Layer 2 Local Switching
Example:
Example:
Router(config-if)# exit
Step 17 cem slot / port / channel Configures CEM and enters circuit emulation (CEM)
configuration mode.
Example:
Step 18 xconnect virtual-connect-id Builds the CEM connection and enters CEM xconnect
configuration mode.
• virtual-connect-id --Virtual connect ID (VCID).
Example:
Router(config-cem)# xconnect 0
Step 19 exit Exits CEM xconnect configuration mode and returns to CEM
configuration mode.
Example:
Router(config-cem-xconnect)# exit
Router(config-cem)# exit
Step 21 connect connection-name type number circuit-id Defines a connection between the two CEM-ACR circuits.
type number circuit-id
• connection-name --Local switching connection name.
• type --Interface or circuit type used to create a local
Example: switching connection.
• number --Integer that identifies the number of the interface
Router(config)# connect connect1 cem-acr 1 or circuit.
2 cem-acr 2 3
• circuit-id --CEM group ID.
Wide-Area Networking Configuration Guide: Layer 2 Services, Cisco IOS Release 12.4T
215
Verifying Layer 2 Local Switching
Verifying Layer 2 Local Switching Configuration
Example:
Router(config)# exit
SUMMARY STEPS
DETAILED STEPS
Example:
This example displays the local connection between an ATM interface and a serial interface:
Example:
Wide-Area Networking Configuration Guide: Layer 2 Services, Cisco IOS Release 12.4T
216
Layer 2 Local Switching
Verifying the NSF SSO Local Switching Configuration
Example:
Example:
Example:
Wide-Area Networking Configuration Guide: Layer 2 Services, Cisco IOS Release 12.4T
217
Layer 2 Local Switching
Troubleshooting Tips
SUMMARY STEPS
DETAILED STEPS
Step 1 Issue the pingcommand or initiate traffic between the two CE routers.
Step 2 Force the switchover from the active RP to the standby RP by using the redundancy force-switchover command.
This manual procedure allows for a "graceful" or controlled shutdown of the active RP and switchover to the standby
RP. This graceful shutdown allows critical cleanup to occur.
Step 3 Issue the show connect allcommand to ensure that the Layer 2 local switching connection on the dual RP is operating.
Example:
Troubleshooting Tips
You can troubleshoot Layer 2 local switching using the following commands on the PE router:
• debug atm l2transport
• debug conn
• debug frame-relay pseudowire
• show frame-relay pvc
• show connection
• show atm pvc
Wide-Area Networking Configuration Guide: Layer 2 Services, Cisco IOS Release 12.4T
218
Example ATM-to-ATM Local Switching
Example ATM to Ethernet VLAN
interface atm1/0/0
pvc 0/100 l2transport
encapsulation aal5
interface atm2/0/0
pvc 0/100 l2transport
encapsulation aal5
connect aal5-conn atm1/0/0 0/100 atm2/0/0 0/100
interface atm1/0/0
pvc 0/100 l2transport
encapsulation aal5
pvc 0/200 l2transport
encapsulation aal5
connect conn atm1/0/0 0/100 atm1/0/0 0/200
interface atm1/0/0
atm pvp 100 l2transport
atm pvp 200 l2transport
connect conn atm1/0/0 100 atm1/0/0 200
Wide-Area Networking Configuration Guide: Layer 2 Services, Cisco IOS Release 12.4T
219
Example Ethernet VLAN Same-Port Switching
Example ATM to Ethernet Port Mode
The following example shows an Ethernet interface configured for Ethernet VLAN, and an ATM PVC
interface configured for AAL5 encapsulation. The connectcommand allows local switching between these
two interfaces and specifies the interworking type as Ethernet mode.
interface fastethernet6/0/0.1
encapsulation dot1q 10
interface atm2/0/0
pvc 0/400 l2transport
encapsulation aal5
connect atm-ethvlan-con atm2/0/0 0/400 fastethernet6/0/0.1 interworking ethernet
interface atm0/0/0
pvc 0/100 l2transport
encapsulation aal5snap
interface fastethernet6/0/0
connect atm-eth-con atm0/0/0 0/100 fastethernet6/0/0 interworking ip
interface fastethernet0/0.1
encapsulation dot1q 1
interface fastethernet0/0.2
encapsulation dot1q 2
connect conn FastEthernet0/0.1 FastEthernet0/0.2
interface serial1/0
encapsulation frame-relay
interface atm1/0
pvc 7/100 l2transport
encapsulation aal5snap
connect atm-fr-conn atm1/0 7/100 serial1/0 100 interworking ip
frame-relay switching
ip cef distributed
interface serial3/0/0
encapsulation frame-relay
frame-relay interface-dlci 100 switched
frame-relay intf-type dce
interface serial3/1/0
encapsulation frame-relay ietf
Wide-Area Networking Configuration Guide: Layer 2 Services, Cisco IOS Release 12.4T
220
Example Frame Relay DLCI Same-Port Switching
Example ATM to Ethernet Port Mode
interface serial1/0
encapsulation frame-relay
frame-relay int-type nni
connect conn serial1/0 100 serial1/0 200
interface serial1/0
no ip address
interface serial2/0
no ip address
connect conn1 serial1/0 serial1/0
Example NSF SSO Ethernet Port Mode to Ethernet VLAN Local Switching
The following configuration uses the network topology shown in the figure below.
The following example shows the configuration of the CE interfaces to connect to the PE1 router:
Wide-Area Networking Configuration Guide: Layer 2 Services, Cisco IOS Release 12.4T
221
Layer 2 Local Switching
Example ATM to Ethernet Port Mode
CE1 CE2
ip routing ip routing
! !
no shutdown !
encapsulation dot1Q 10
interface fa4/0.2
encapsulation dot1Q 20
The following example shows the configuration of the PE1 router with NSF/SSO and the PE interfaces to
the CE routers:
Wide-Area Networking Configuration Guide: Layer 2 Services, Cisco IOS Release 12.4T
222
Layer 2 Local Switching
Example ATM to Ethernet Port Mode
PE1
redundancy
no keepalive-enable
mode sso
ip routing
ip cef distributed
interface fa1/1/1
no shutdown
no ip address
interface fa4/0/0
no shutdown
no ip address
interface fa6/0/0
no shutdown
no ip address
interface fa6/0/0.1
encapsulation dot1Q 10
no ip address
interface fa6/0/0.2 Wide-Area Networking Configuration Guide: Layer 2 Services, Cisco IOS Release 12.4T
223
description - connection to CE2 fa4/0.2
Layer 2 Local Switching
Additional References
The following example shows the configuration of ICMP Router Discovery Protocol (IRDP) on the CE
router for Interworking IP for ARP mediation:
CE1 CE2
ip irdp ip irdp
CE1 CE2
! !
The following example shows the configuration of local switching on the PE1 router for interworking
Ethernet:
The following example shows the configuration of local switching on the PE1 router for interworking IP:
Additional References
Related Documents
Wide-Area Networking Configuration Guide: Layer 2 Services, Cisco IOS Release 12.4T
224
Layer 2 Local Switching
Additional References
CEoP and Channelized ATM SPAs on 7600 series Configuring the CEoP and Channelized ATM SPAs
router configuration tasks
Standards
Standard Title
draft-ietf-l2tpext-l2tp-base-03.txt Layer Two Tunneling Protocol (Version 3)
'L2TPv3'
MIBs
RFCs
RFC Title
None --
Wide-Area Networking Configuration Guide: Layer 2 Services, Cisco IOS Release 12.4T
225
Layer 2 Local Switching
Feature Information for Layer 2 Local Switching
Technical Assistance
Description Link
The Cisco Support and Documentation website http://www.cisco.com/cisco/web/support/
provides online resources to download index.html
documentation, software, and tools. Use these
resources to install and configure the software and
to troubleshoot and resolve technical issues with
Cisco products and technologies. Access to most
tools on the Cisco Support and Documentation
website requires a Cisco.com user ID and
password.
Wide-Area Networking Configuration Guide: Layer 2 Services, Cisco IOS Release 12.4T
226
Layer 2 Local Switching
Feature Information for Layer 2 Local Switching
Wide-Area Networking Configuration Guide: Layer 2 Services, Cisco IOS Release 12.4T
227
Layer 2 Local Switching
Feature Information for Layer 2 Local Switching
Wide-Area Networking Configuration Guide: Layer 2 Services, Cisco IOS Release 12.4T
228
Layer 2 Local Switching
Cisco and the Cisco Logo are trademarks of Cisco Systems, Inc. and/or its affiliates in the U.S. and other
countries. A listing of Cisco's trademarks can be found at www.cisco.com/go/trademarks. Third party
trademarks mentioned are the property of their respective owners. The use of the word partner does not
imply a partnership relationship between Cisco and any other company. (1005R)
Any Internet Protocol (IP) addresses and phone numbers used in this document are not intended to be
actual addresses and phone numbers. Any examples, command display output, network topology diagrams,
and other figures included in the document are shown for illustrative purposes only. Any use of actual IP
addresses or phone numbers in illustrative content is unintentional and coincidental.
Wide-Area Networking Configuration Guide: Layer 2 Services, Cisco IOS Release 12.4T
229
Example NSF SSO Ethernet Port Mode to Ethernet VLAN Local Switching
Wide-Area Networking Configuration Guide: Layer 2 Services, Cisco IOS Release 12.4T
230