Click here to load reader
View
268
Download
13
Embed Size (px)
MPLS Layer 2 VPNs Configuration Guide, Cisco IOS XE Release 3SFirst Published: November 08, 2011
Last Modified: July 30, 2013
Americas HeadquartersCisco Systems, Inc.170 West Tasman DriveSan Jose, CA 95134-1706USAhttp://www.cisco.comTel: 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 LIMITEDWARRANTY FOR THE ACCOMPANYING PRODUCT ARE SET FORTH IN THE INFORMATION PACKET THAT SHIPPED WITHTHE 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 versionof the UNIX operating system. All rights reserved. Copyright 1981, Regents of the University of California.
NOTWITHSTANDINGANYOTHERWARRANTYHEREIN, 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 OFMERCHANTABILITY, FITNESS FORA PARTICULAR PURPOSEANDNONINFRINGEMENTORARISING FROMACOURSEOFDEALING, USAGE, OR TRADE PRACTICE.
IN NO EVENT SHALL CISCO OR ITS SUPPLIERS BE LIABLE FOR ANY INDIRECT, SPECIAL, CONSEQUENTIAL, OR INCIDENTAL DAMAGES, INCLUDING, WITHOUTLIMITATION, LOST PROFITS OR LOSS OR DAMAGE TO DATA ARISING OUT OF THE USE OR INABILITY TO USE THIS MANUAL, EVEN IF CISCO OR ITS SUPPLIERSHAVE BEEN ADVISED OF THE POSSIBILITY OF SUCH DAMAGES.
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, networktopology 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 unintentionaland coincidental.
Cisco and the Cisco logo are trademarks or registered trademarks of Cisco and/or its affiliates in the U.S. and other countries. To view a list of Cisco trademarks, go to this URL: http://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 partnershiprelationship between Cisco and any other company. (1110R)
2011-2013 Cisco Systems, Inc. All rights reserved.
http://www.cisco.com/go/trademarkshttp://www.cisco.com/go/trademarks
C O N T E N T S
C H A P T E R 1 L2VPN Protocol-Based CLIs 1
Finding Feature Information 1
Information About L2VPN Protocol-Based CLIs 1
Overview of L2VPN Protocol-Based CLIs 1
Benefits of L2VPN Protocol-Based CLIs 2
L2VPN Protocol-Based CLI Changes 3
MPLS L2VPN Protocol-Based CLI: Examples 7
Additional References 10
Feature Information for L2VPN Protocol-Based CLIs 10
C H A P T E R 2 Any Transport over MPLS 13
Finding Feature Information 14
Prerequisites for Any Transport over MPLS 14
Restrictions for Any Transport over MPLS 14
General Restrictions 17
ATM AAL5 over MPLS Restrictions 17
ATM Cell Relay over MPLS Restrictions 17
Ethernet over MPLS (EoMPLS) Restrictions 17
Per-Subinterface MTU for Ethernet over MPLS Restrictions 18
Frame Relay over MPLS Restrictions 18
HDLC over MPLS Restrictions 18
PPP over MPLS Restrictions 19
Tunnel Selection Restrictions 19
Experimental Bits with AToM Restrictions 19
Remote Ethernet Port Shutdown Restrictions 19
Information About Any Transport over MPLS 20
How AToM Transports Layer 2 Packets 20
MPLS Layer 2 VPNs Configuration Guide, Cisco IOS XE Release 3S iii
How AToM Transports Layer 2 Packets using the commands associated with the L2VPN
Protocol-Based CLIs feature 21
Benefits of AToM 22
MPLS Traffic Engineering Fast Reroute 22
Maximum Transmission Unit Guidelines for Estimating Packet Size 22
Estimating Packet Size Example 24
Per-Subinterface MTU for Ethernet over MPLS 24
Per-Subinterface MTU for Ethernet over MPLS using the commands associated with the
L2VPN Protocol-Based CLIs feature 25
Frame Relay over MPLS and DTE DCE and NNI Connections 25
Local Management Interface and Frame Relay over MPLS 26
How LMI Works 26
QoS Features Supported with AToM 27
OAM Cell Emulation for ATM AAL5 over MPLS 30
OAM Cell Emulation for ATM AAL5 over MPLS in VC Class Configuration
Mode 31
Any Transport over MPLS (AToM) Remote Ethernet Port Shutdown 31
Any Transport over MPLS (AToM) Remote Ethernet Port Shutdown using the commands
associated with the L2VPN Protocol-Based CLIs feature 32
AToM Load Balancing with Single PW 34
Flow-Aware Transport (FAT) Load Balancing 34
How to Configure Any Transport over MPLS 34
Configuring the Pseudowire Class 34
Configuring the Pseudowire Class using the commands associated with the L2VPN
Protocol-Based CLIs feature 35
Changing the Encapsulation Type and Removing a Pseudowire 37
Changing the Encapsulation Type and Removing a Pseudowire using the commands
associated with the L2VPN Protocol-Based CLIs feature 37
Configuring ATM AAL5 over MPLS 37
Configuring ATM AAL5 over MPLS on PVCs 37
Configuring ATM AAL5 over MPLS on PVCs using the commands associated with
the L2VPN Protocol-Based CLIs feature 39
Configuring ATM AAL5 over MPLS in VC Class Configuration Mode 42
Configuring ATM AAL5 over MPLS in VC Class Configuration Mode using the
commands associated with the L2VPN Protocol-Based CLIs feature 44
MPLS Layer 2 VPNs Configuration Guide, Cisco IOS XE Release 3Siv
Contents
Configuring OAM Cell Emulation for ATM AAL5 over MPLS 47
Configuring OAM Cell Emulation for ATM AAL5 over MPLS on PVCs 47
ConfiguringOAMCell Emulation forATMAAL5overMPLSonPVCs using the commands
associated with the L2VPN Protocol-Based CLIs feature 49
Configuring OAMCell Emulation for ATMAAL5 over MPLS in VC Class Configuration
Mode 53
Configuring OAMCell Emulation for ATMAAL5 over MPLS in VC Class Configuration
Mode using the commands associated with the L2VPN Protocol-Based CLIs feature
55
Configuring ATM Cell Relay over MPLS 58
Configuring ATM Cell Relay over MPLS in VC Mode 58
Configuring ATM Cell Relay over MPLS in VC Mode using the commands associated
with the L2VPN Protocol-Based CLIs feature 60
Configuring ATM Cell Relay over MPLS in VC Mode Using VC Class Configuration
Mode 63
Configuring ATM Cell Relay over MPLS in VC Mode Using VC Class Configuration
Mode using the commands associated with the L2VPN Protocol-Based CLIs
feature 65
Configuring ATM Cell Relay over MPLS in PVP Mode 68
Configuring ATM Cell Relay over MPLS in PVP Mode using the commands associated
with the L2VPN Protocol-Based CLIs feature 70
Configuring Ethernet over MPLS 72
Configuring Ethernet over MPLS in VLANMode to Connect Two VLAN Networks That
Are in Different Locations. 72
Configuring Ethernet over MPLS in VLANMode to Connect Two VLAN Networks That
Are in Different Locations using the commands associated with the L2VPN
Protocol-Based CLIs feature 74
Configuring Ethernet over MPLS in Port Mode 76
Configuring Ethernet over MPLS in Port Mode using the commands associated with the
L2VPN Protocol-Based CLIs feature 78
Configuring Ethernet over MPLS with VLAN ID Rewrite 80
Configuring Ethernet over MPLS with VLAN ID Rewrite using the commands associated
with the L2VPN Protocol-Based CLIs feature 83
Configuring per-Subinterface MTU for Ethernet over MPLS 86
MPLS Layer 2 VPNs Configuration Guide, Cisco IOS XE Release 3S v
Contents
Configuring per-Subinterface MTU for Ethernet over MPLS using the commands
associated with the L2VPN Protocol-Based CLIs feature 88
Configuring Frame Relay over MPLS 91
Configuring Frame Relay over MPLS with DLCI-to-DLCI Connections 91
Configuring Frame Relay over MPLS with DLCI-to-DLCI Connections using the
commands associated with the L2VPN Protocol-Based CLIs feature 93
Configuring Frame Relay over MPLS with Port-to-Port Connections 96
Configuring FrameRelay overMPLSwith Port-to-Port Connections using the commands
associated with the L2VPN Protocol-Based CLIs feature 97
Configuring HDLC or PPP over MPLS 99
Configuring HDLC or PPP over MPLS using the commands associated with the L2VPN
Protocol-Based CLIs feature 101
Configuring Tunnel Selection 103
Troubleshooting Tips 105
Configuring Tunnel Selection using the commands associated with the L2VPN
Protocol-Based CLIs feature 106
Troubleshooting Tips using the commands associated with the L2VPN Protocol-Based
CLIs feature 108
Setting Experimental Bits with AToM 109
Enabling the Control Word 111
Enabling the ControlWord using the commands associated with the L2VPN Protocol-Based
CLIs feature 112
Configuring MPLS AToM Remote Ethernet Port Shutdown 113
ConfiguringMPLSAToMRemote Ethernet Port Shutdown using the commands associated
with the L2VPN Protocol-Based CLIs feature 115
Confi