|
|
< Day Day Up > |
|
Implementing AToM for Like to Like CircuitsAToM supports the following Layer 2 technologies over MPLS:
In this section, you will configure AToM for the following like to like circuits:
ATM over MPLSIn ATM over MPLS, two modes of encapsulation are supported to transport ATM cells over MPLS:
AAL5 over MPLSIn AAL5 over MPLS operation, the entire AAL5 frame is encapsulated and label switched across the MPLS backbone. The ingress PE router is required to reassemble all AAL5 CPCS-SDUs from the incoming VC and transport each CPCS-SDU as a single packet. The AAL5 trailer is not encapsulated and, therefore, not transported across the MPLS backbone. The use of the control word is required although its use is optional. The PE router can choose whether to use the control word. If the router chooses not to use it, it must set the flags in the control word to 0. The egress PE router must also follow similar procedure and must set the ATM control bits to 0 if it chooses to ignore the control word. The EFCI and CLP bits are carried across the network in the control word. The PE routers can change the EFCI and CLP bits from 0 to 1, during encapsulation and decapsulation. The AAL5 CPCS SDU is prepended with the header shown in Figure 11-10. Figure 11-10. Control Word
Figure 11-11 shows a provider network providing AAL5 service to CE1-A and CE2-A. These customer devices exchange ATM cells on a permanent virtual circuit (PVC) with the PE Router PE1 and PE2. Figure 11-11. AAL5 over MPLS
When the ATM cells on the PVC from CE1-A arrive on PE1's interface, PE1 reassembles the cells into AAL5 CPCS-SDU. These AAL5 CPCS-SDUs are encapsulated and forwarded across the MPLS backbone to the PE2 router. The encapsulation may contain a control word incorporating the EFCI and CLP bits and VPI/VCI information. PE2 decapsulates the packet and reproduces the AAL5 CPCS-DSU as a sequence of ATM cells to be transmitted on the PVC to CE-A2. Similar functions take place in the other direction from PE2 to PE1. PE and Provider Router ConfigurationThe first step prior to provisioning Layer 2 VPN services is to ensure that the provider network is enabled for MPLS. Figure 11-12 shows the configuration for the PE Routers PE1 and PE2, and provider core Router P1 for MPLS forwarding. These basic configurations apply to all configuration scenarios in this chapter. Figure 11-12. PE and Provider Router Configuration
Configuration Flowchart for AAL5 over MPLSFigure 11-13 shows the flowchart to configure AAL5 over MPLS. Figure 11-13. Configuration Flowchart for AAL5 over MPLS
Configuring AAL5 over MPLSThe steps to configure AAL5 over MPLS for the network topology shown in Figure 11-11 are
AAL5 over MPLS ConfigurationFigure 11-14 shows the final relevant configuration for AAL5 over MPLS. Refer to Figure 11-12 for provider network configuration. Figure 11-14. AAL5 over MPLS Configuration
Verification of AAL5 over MPLS
The steps to verify control plane operations are
In the data forwarding path from CE2-A to CE1-A,
ATM Cell Relay over MPLSIn ATM Cell Relay over MPLS, there is no concept of ATM adaptation layers, and, therefore, the raw ATM cells are transported individually without invoking the Segmentation and Reassembly (SAR) process. As a result, raw ATM cells are received on the PE interface and are not reassembled into AAL frames at the PE device. The raw ATM cells may be encapsulated with a control word. The usage of the control word is optional. The control word includes the EFCI and CLP bits, and these are copied at the PE router from the ATM header into the control word. Figure 11-16 shows an MPLS provider providing Cell Relay over MPLS services to CE1-A and CE2-A. Figure 11-16. ATM Cell Relay over MPLS Service
CE1-A and CE2-A exchange raw ATM cells over the MPLS backbone. PE1 receives the ATM cells from CE1-A and encapsulates the cell into an MPLS packet to be transported to PE2. Assuming the use of CONTROL WORD, the MPLS packet at the PE Router PE1 copies the EFCI and CLP information and appends the tunnel LSP label and VC label that was received from the remote PE Router PE2, indicating the outgoing interface on the remote PE Router PE2. At PE2, the raw cells are derived and forwarded to CE2-A. Configuration Flowchart for ATM Cell over MPLSFigure 11-17 shows the flowchart for configuring ATM Cell Relay over MPLS. Figure 11-17. ATM Cell Relay over MPLS service
Configuring ATM Cell over MPLSThe steps to configure ATM cell relay services over MPLS are
ATM Cell Relay over MPLS ConfigurationFigure 11-18 shows the final relevant configuration for ATM Cell Relay over MPLS. Figure 11-18. ATM Cell Relay over MPLS Configuration
Verification of ATM Cell Relay over MPLS
OAM in ATM AAL5 and ATM Cell Relay over MPLSOperations, Administration, and Maintenance (OAM) provides VC/VP integrity, fault, and performance management. The system supports F4 and F5 ATM OAM fault management, loopback, and continuity check (CC) cells. These cells perform fault detection and notification, loopback testing, and link integrity. ATM uses F4 and F5 cell flows as follows:
OAM support is implemented in AAL5 over MPLS and Cell Relay over MPLS. The OAM cells are always encapsulated in a single label-switched packet during transport across an MPLS backbone. In Cell Relay over MPLS, the F5 OAM flow is passed through transparently. The cells belonging to this OAM flow are distinguished by a specific VCI value, so no additional action is needed. Cells belonging to the F5 OAM flow carry the same VPI/VCI value as other user cells, but are distinguished by a specific PT value. During label imposition, the PT value is copied into the control word, maintaining end-to-end OAM flow. The copying of PT values in the control word is automatic and needs no specific configuration. In AAL5 over MPLS operation, the entire AAL5 frame is label-encapsulated and switched across the MPLS backbone. It is not possible to forward the OAM cells across the MPLS backbone because forwarding individual cells (OAM cells in this case) is not supported when AAL5 frames (SDUs) are reassembled and forwarded in a single MPLS packet. However, it is possible to generate the OAM cells between local loopbacks. To enable OAM cell emulation on AAL5 over MPLS, use the oam-ac emulation-enable command in the ATM VC configuration mode on both PE routers. To disable OAM cell emulation, use the no form of this command on both routers. In case the AToM device does not support NNI signaling, the segment F4-OAM flow needs to be disabled to ensure proper operation. This inhibits the creation of F4 OAM VPs with the no-f4-oam keyword. Ethernet over MPLSIn Ethernet over MPLS environment, Ethernet frames are exchanged between customer sites using the SP backbone as the medium of transport. Ethernet over MPLS is implemented in two different modes:
Forthcoming subsections will show you configuration and verification of EoMPLS on routers and switches. Router-Based Ethernet over MPLS—Port ModeIn port mode, the entire Ethernet frame without the preamble or FCS is transported as a single AToM packet. The use of the control word is optional. If the control word is not used, the flag bits are set to zero when the packet is MPLS encapsulated and ignored when it is decapsulated on the receiving side. Ethernet frames with hardware level CRC errors, framing errors, and runt packets that arrive at the PE router are discarded. In port mode, the interface uses VC type 5 or 0x0005. Figure 11-19 shows an MPLS provider network that provides a Layer 2 Ethernet port-to-port connection for Customer A sites CE1-A and CE2-A. Figure 11-19. Ethernet over MPLS—Port Mode
As shown in Figure 11-19, CE1-A and CE2-A exchange Ethernet frames over the provider backbone. PE2 receives the Ethernet frame from CE2-A and encapsulates that frame into an MPLS packet. This frame is then forwarded across the provider backbone to PE1. PE1 removes the MPLS headers and reproduces the Ethernet frame and forwards it to the CE1-A. Configuration Flowchart for Router-Based Ethernet over MPLS—Port ModeThe configuration flowchart for Ethernet over MPLS in port mode is shown in Figure 11-20. Figure 11-20. Configuration Flowchart for Ethernet over MPLS—Port Mode
Configuring Router-Based Ethernet over MPLS—Port ModeThe step to configure port mode Ethernet over MPLS is illustrated in Example 11-10 in which the xconnect statement is defined under the Ethernet interface to enable transportation of Ethernet frames from end CE devices over the MPLS network. Example 11-10. Enable Transport of Ethernet over MPLS on PE RouterPE1(config)#interface FastEthernet5/0 PE1(config-if)#xconnect 10.10.10.102 100 encapsulation mpls __________________________________________________________________________ PE2(config)#interface FastEthernet5/0 PE2(config-if)#xconnect 10.10.10.101 100 encapsulation mpls Device Configuration for Router-Based Ethernet over MPLS—Port ModeThe final relevant configuration for Ethernet over MPLS in port mode is shown in Figure 11-21. Figure 11-21. Configuration for Ethernet over MPLS—Port Mode
Verification of Ethernet over MPLS—Port ModeVerify if AToM VC is functional. Example 11-11 shows the output of show mpls l2transport vc where the VC between the PE routers is up and running. Example 11-11. Enable Transport of Ethernet over MPLS on PE RouterPE1#show mpls l2transport vc Local intf Local circuit Dest address VC ID Status ------------- -------------------- --------------- ---------- ---------- Fa5/0 Ethernet 10.10.10.102 100 UP Control Plane and Data Plane—Ethernet over MPLS (Port Mode)Figure 11-22 shows the control and data plane operation for Ethernet over MPLS in port mode configuration. Figure 11-22. Control and Data Plane EoMPLS—Port Mode
As shown in Figure 11-22, during the control plane operation, PE1 allocates VC label 16 for the AC connected to CE1-A. This VC label is propagated via the MPLS network to PE2, which uses this VC label 16 in the data forwarding for the packet originating from CE2-A destined to CE1-A. The tunnel label or IGP label 16, which is assigned by P1 for PE1 loopback 10.10.10.101, guides the packet from PE2 to PE1 for a data packet originating from CE2-A to CE1-A. Router-Based Ethernet over MPLS—VLAN ModeIn the VLAN mode, PE devices do not filter any frames based on the MAC addresses. In other words, there is no support for MAC layer address learning and filtering. In EoMPLS, the Spanning-Tree Protocol is not used, and BPDUs are propagated transparently but not processed. Figure 11-23 shows an MPLS provider network where PE devices PE1 and PE2 are connected to CE devices CE1-A and CE2-A. The interface encapsulation between the CE and the PE routers supports VLANs. Different subinterfaces in the PE routers connect different VLANs. The PE1 interface connected to CE1-A is configured as a VLAN subinterface. This VLAN subinterface is used for AToM forwarding. Figure 11-23. Ethernet over MPLS—VLAN Mode
In Figure 11-23, PE1 and PE2 are configured for EoMPLS to propagate VLAN 100 across the backbone. PE1 and PE2 have loopback interfaces with IP address 10.10.10.101 and 10.10.10.102, respectively. These two addresses are used as LDP peer IDs. The subinterface fas5/0.100 is configured for VLAN 100 on both PE1 and PE2. This subinterface is configured for EoMPLS. The Ethernet frames are MPLS-encapsulated and forwarded to the PE router with IP address 10.10.10.101, which is PE1. The VC identifier, value 100, associates the connection with the other end. It is required that both endpoints use the same VC identifier value. There is no requirement that the VLAN identifier should be the same at both the ends. The most important detail is the VC identifier. The value 100 is used on both PE1 and PE2. From the end-user perspective, the EoMPLS service appears as an extension of their Ethernet segment (or in this case, a VLAN). There is no awareness of the MPLS backbone to the end-user routers. The backbone devices in the provider network are also oblivious to end-user activities. As shown in the example network in Figure 11-23, the Ethernet frame arrives on the PE2's VLAN subinterface; it is encapsulated into MPLS and forwarded across the backbone to PE1. PE1 decapsulates the packet and reproduces the Ethernet frame on the outgoing VLAN subinterface. Configuration Flowchart for Router-Based Ethernet over MPLS—VLAN ModeFigure 11-24 shows the configuration flowchart relevant to configuring Ethernet over MPLS in VLAN mode. Figure 11-24. Configuration Flowchart for Ethernet over MPLS—VLAN Mode
Configuring Ethernet over MPLS—VLAN ModeExample 11-12 depicts the configuration of Ethernet over MPLS in VLAN mode in which interface fas5/0.100 is configured for VLAN 100. The xconnect statement is defined under the Ethernet subinterface to enable transportation of Ethernet frames from end CE devices over MPLS network. Example 11-12. Enable Transport of Ethernet over MPLS on PE RouterPE1(config)#interface FastEthernet5/0.100 PE1(config-subif)# encapsulation dot1Q 100 PE1(config-subif)# no cdp enable PE1(config-subif)# xconnect 10.10.10.102 100 encapsulation mpls __________________________________________________________________________ PE2(config)#interface FastEthernet5/0.100 PE2(config-subif)# encapsulation dot1Q 100 PE2(config-subif)# no cdp enable PE2(config-subif)# xconnect 10.10.10.101 100 encapsulation mpls Device Configuration for Router-Based Ethernet over MPLS—VLAN ModeFigure 11-25 shows the relevant configuration for Ethernet over MPLS in VLAN mode. Figure 11-25. Configuration for Ethernet over MPLS—VLAN Mode
Verification of Ethernet over MPLS—VLAN Mode
Figure 11-26 shows the data plane forwarding operation for an MPLS-enabled provider network providing Ethernet over MPLS using the VLAN mode. Figure 11-26. Data Plane Operation—Ethernet over MPLS: VLAN Mode
Router-Based EoMPLS—VLAN RewriteFigure 11-27 depicts the configurations for the individual devices if the VLANs connected at each of the customer sites are not equal. Therefore, in this scenario, CE1-A is connected to PE1 using VLAN 100, and CE2-A is connected to PE2 using VLAN 200. As mentioned earlier, the VLAN mapping does not have to be consistent across sites to implement router-based Ethernet over MPLS VLAN mode. Figure 11-27. Ethernet over MPLS—VLAN Mode: VLAN Rewrite
Switch-Based Ethernet over MPLS—Port ModeFigure 11-28 shows an MPLS-enabled, switch-based provider network providing Ethernet port mode services to CE1-A and CE2-A. PE1 and PE2 are Supervisor 2 (Catalyst 6500 series) based switches running Cisco IOS (native). Figure 11-28. Switch-Based Ethernet over MPLS—Port Mode
Configuration Flowchart for Ethernet over MPLS—Port, Dot1Q, and Tunnel ModeFigure 11-29 shows the configuration flowchart relevant to configuring Ethernet over MPLS in Port mode. Figure 11-29. Configuration Flowchart for Ethernet over MPLS—VLAN Mode
Backbone Configuration for PE1 and PE2Example 11-15 outlines the basic configuration on the PE Routers PE1 and PE2 used for the switch-based AToM implementations. Example 11-15. Backbone Configuration for PE1 and PE2hostname PE1 ! mpls label protocol ldp mpls ldp discovery targeted-hello accept mpls ldp router-id Loopback0 force ! interface Loopback0 ip address 10.10.10.101 255.255.255.255 ! interface GE-WAN3/1 description connected to PE2 ip address 10.10.10.1 255.255.255.252 negotiation auto mpls ip mls qos trust dscp ! router ospf 1 network 10.0.0.0 0.255.255.255 area 0 __________________________________________________________________________ hostname PE2 ! mpls label protocol ldp mpls ldp discovery targeted-hello accept mpls ldp router-id Loopback0 force ! interface Loopback0 ip address 10.10.10.102 255.255.255.255 ! interface GE-WAN3/1 description connected to PE1 ip address 10.10.10.2 255.255.255.252 negotiation auto mpls ip mls qos trust dscp ! router ospf 1 network 10.0.0.0 0.255.255.255 area 0 Configuring Ethernet over MPLS—Port ModeExample 11-16 depicts the configuration of switch-based Ethernet over MPLS in port mode where interface fas4/1 on PE1 is configured as an access port connected to CE1-A. The xconnect statement is defined under the VLAN interface to enable transportation of Ethernet frames from end CE devices over MPLS network. Example 11-16. Enable Transport of Ethernet over MPLS on PE RouterPE1(config)#vlan 100 PE1(config-vlan)#state active PE1(config-vlan)#exit PE1(config)#interface fastEthernet 4/1 PE1(config-if)#switchport PE1(config-if)#switchport access vlan 100 PE1(config-if)#switchport mode access PE1(config-if)#exit PE1(config)#interface vlan 100 PE1(config-if)#xconnect 10.10.10.102 100 encapsulation mpls __________________________________________________________________________ PE2(config)#vlan 100 PE2(config-vlan)#state active PE2(config-vlan)#exit PE2(config)#interface fastEthernet 4/1 PE2(config-if)#switchport PE2(config-if)#switchport access vlan 100 PE2(config-if)#switchport mode access PE2(config-if)#exit PE2(config)#interface vlan 100 PE2(config-if)#xconnect 10.10.10.101 100 encapsulation mpls Switch-Based Ethernet over MPLS—Port Mode ConfigurationFigure 11-30 shows the relevant configuration for Ethernet over MPLS in VLAN mode. Figure 11-30. Configuration for Ethernet over MPLS—Port Mode
Verification of Ethernet over MPLS—Port Mode
Switch-Based Ethernet over MPLS—VLAN ModeFigure 11-31 shows an MPLS-enabled, switch-based provider network providing Ethernet port mode services to CE1-A and CE2-A. PE1 and PE2 are Supervisor 2-based switches running Cisco IOS. Figure 11-31. Switch-Based Ethernet over MPLS—VLAN Mode
Configuration Flowchart for Ethernet over MPLS—VLAN ModeFigure 11-32 shows the configuration flowchart relevant to configuring Ethernet over MPLS in VLAN mode. Figure 11-32. Configuration Flowchart for Ethernet over MPLS—VLAN Mode
Configuring Ethernet over MPLS—VLAN ModeExample 11-19 shows the steps to configure Ethernet over MPLS in VLAN mode. The xconnect statement is defined under the VLAN interface to enable transportation of Ethernet VLAN frames from end CE devices over the MPLS network. Example 11-19. Enable Transport of Ethernet over MPLS on PE RouterPE1(config)#vlan 100 PE1(config-vlan)#state active PE1(config-vlan)#exit PE1(config)#interface fastEthernet 4/1 PE1(config-if)#switchport PE1(config-if)# switchport trunk encapsulation dot1q PE1(config-if)# switchport trunk allowed vlan 100 PE1(config-if)# switchport mode trunk PE1(config-if)#exit PE1(config)#interface vlan 100 PE1(config-if)#xconnect 10.10.10.102 100 encapsulation mpls __________________________________________________________________________ PE2(config)#vlan 100 PE2(config-vlan)#state active PE2(config-vlan)#exit PE1(config)#interface fastEthernet 4/1 PE1(config-if)#switchport PE1(config-if)# switchport trunk encapsulation dot1q PE1(config-if)# switchport trunk allowed vlan 100 PE1(config-if)# switchport mode trunk PE2(config-if)#exit PE2(config)#interface vlan 100 PE2(config-if)#xconnect 10.10.10.101 100 encapsulation mpls Final Configurations for Switch-Based Ethernet over MPLS—VLAN ModeFigure 11-33 shows the relevant configuration for Ethernet over MPLS in VLAN mode. Figure 11-33. Configuration for Ethernet over MPLS—VLAN Mode
Verification of Ethernet over MPLS—VLAN Mode
Switch-Based Ethernet over MPLS—dot1q Tunnel ModeFigure 11-34 shows an MPLS-enabled, switch-based provider network providing Ethernet port mode services to CE1-A and CE2-A. PE1 and PE2 are Supervisor 2 based switches running Cisco IOS. Figure 11-34. Switch-Based Ethernet over MPLS—Port Mode
Configuration Flowchart for Ethernet over MPLS—dot1Q ModeFigure 11-35 shows the configuration flowchart relevant to configuring Ethernet over MPLS in VLAN mode. Figure 11-35. Configuration Flowchart for Ethernet over MPLS—VLAN Mode
Configuring Ethernet over MPLS—dot1q ModeExample 11-22 shows the steps to configure Ethernet over MPLS in dot1q mode. Example 11-23 shows the configuration steps on CE switch CE-Sw1 and CE-Sw2. Example 11-22. Enable Transport of Ethernet over MPLS on PE RouterPE1(config)#vlan 10 PE1(config-vlan)#state active PE1(config-vlan)#exit PE1(config)#interface FastEthernet4/12 PE1(config-if)#switchport PE1(config-if)# switchport access vlan 10 PE1(config-if)# switchport trunk encapsulation dot1q PE1(config-if)# switchport trunk allowed vlan 100,200 PE1(config-if)# switchport mode dot1q-tunnel PE1(config-if)#exit PE1(config)#interface vlan 10 PE1(config-if)#xconnect 10.10.10.102 100 encapsulation mpls __________________________________________________________________________ PE2(config)#vlan 10 PE2(config-vlan)#state active PE2(config-vlan)#exit PE2(config)#int fastEthernet 4/12 PE2(config-if)#switchport PE2(config-if)# switchport trunk encapsulation dot1q PE2(config-if)# switchport trunk allowed vlan 100,200 PE2(config-if)# switchport mode dot1q-tunnel PE2(config-if)#exit PE2(config)#interface vlan 10 PE2(config-if)#xconnect 10.10.10.101 100 encapsulation mpls Example 11-23. Configuration Steps on CE Switch CE-Sw1 and CE-Sw2CE-SW1(config)#vlan 100 CE-SW1(config-vlan)#state active CE-SW1(config)#vlan 200 CE-SW1(config-vlan)#state active CE-SW1(config-vlan)#exit CE-SW1(config-if)#interface FastEthernet0/1 CE-SW1(config-if)# switchport access vlan 100 CE-SW1(config-if)# switchport mode access CE-SW1(config-if)#interface FastEthernet0/2 CE-SW1(config-if)# switchport access vlan 200 CE-SW1(config-if)# switchport mode access CE-SW1(config-if)#interface FastEthernet0/12 CE-SW1(config-if)# switchport trunk encapsulation dot1q CE-SW1(config-if)# switchport trunk allowed vlan 100,200 CE-SW1(config-if)# switchport mode trunk __________________________________________________________________________ CE-SW2(config)#vlan 100 CE-SW2(config-vlan)#state active CE-SW2(config)#vlan 200 CE-SW2(config-vlan)#state active CE-SW2(config-vlan)#exit CE-SW2(config-if)#interface FastEthernet0/1 CE-SW2(config-if)# switchport access vlan 100 CE-SW2(config-if)# switchport mode access CE-SW2(config-if)#interface FastEthernet0/2 CE-SW2(config-if)# switchport access vlan 200 CE-SW2(config-if)# switchport mode access CE-SW2(config-if)#interface FastEthernet0/12 CE-SW2(config-if)# switchport trunk encapsulation dot1q CE-SW2(config-if)# switchport trunk allowed vlan 100,200 CE-SW2(config-if)# switchport mode trunk Switch-Based Ethernet over MPLS—Dot1q Tunnel ModeFigure 11-36 shows the relevant configuration for switch based Ethernet over MPLS in Dot1q Tunnel mode. Figure 11-36. Configuration for Ethernet over MPLS—VLAN Mode
Verification of Ethernet over MPLS—VLAN Mode
PPP over MPLSPPP mode provides point-to-point transport of PPP-encapsulated traffic. The PPP PDU is transported in its entirety, including the protocol field, but excluding any media-specific framing information, such as HDLC address and control fields or FCS. The sequencing control word is optional, and its usage is signaled during the VC label binding distribution. The protocol field is transmitted intact, regardless of the two PPP peers negotiated Protocol Field Compression (PFC). The HDLC address and control fields, if present in the PPP header, are always removed from the PPP PDU received from ingress interface by the ingress PE router. Even if the two peering CE routers might have negotiated Address and Control Field Compression (ACFC), the egress PE router has no way of identifying this unless it sniffs the PPP LCP negotiation, which is not part of the end-to-end PPP peering model. Therefore, the egress PE router always adds HDLC address and control fields back to the PPP PDU before sending it out to the egress interface, if the CE-PE link uses HDLC-like framing. This is perfectly legitimate because a PPP implementation must prepare to receive PPP PDU with uncompressed address and control field at all times regardless of ACFC. For CE-PE links that do not use HDLC-like framing, such as PPPoE, PPPoATM, and PPPoFR, there is no need to add the address and control fields at the egress PE. Figure 11-37 shows a detail level of MPLS labels being used in PPP over MPLS. Figure 11-37. Data Plane Operation in PPP over MPLS
The following steps outline the data plane operation of PPP over MPLS: Configuration Flowchart for PPP over MPLSFigure 11-38 shows the configuration steps relevant to configuring PPP over MPLS. Figure 11-38. Configuration Flowchart for PPP over MPLS
Configuring PPP over MPLSThe step to configure PPP over MPLS for the topology shown in Figure 11-37 is to first define PPP encapsulation and configure the VCID on each of the PE routers' interface connected to the CE routers, so that the directed LDP session can be formed to enable transportation of PPP packets from end CE devices over MPLS. See Example 11-26. Example 11-26. Enable PPP over MPLS on PE RoutersPE1(config)# interface Serial2/1 PE1(config-if)#encapsulation ppp PE1(config-if)# xconnect 10.10.10.102 100 encapsulation mpls __________________________________________________________________________ PE2(config)# interface Serial2/1 PE2(config-if)#encapsulation ppp PE2(config-if)# xconnect 10.10.10.102 100 encapsulation mpls Device Configuration for PPP over MPLSFigure 11-39 shows the relevant device configuration for PPP over MPLS. PE1 and PE2 are PE routers in the MPLS provider network. Figure 11-39. MPLS-Enabled Network Providing PPP over MPLS
Verification of PPP over MPLS
MTUs need to match; otherwise, the circuit will not come up, as shown in Example 11-29. Example 11-29. L2 Transport Down in Case of MTU MismatchPE2#show mpls l2transport binding Destination Address: 10.10.10.101, VC ID: 100 Local Label: 16 Cbit: 1, VC Type: PPP, GroupID: 0 MTU: 512, Interface Desc: connected to CE2-A VCCV Capabilities: None Remote Label: 16 Cbit: 1, VC Type: PPP, GroupID: 0 MTU: 1500, Interface Desc: connected to CE1-A VCCV Capabilities: None PE2#show mpls l2transport vc Local intf Local circuit Dest address VC ID Status ------------- -------------------- --------------- ---------- ---------- Se2/1 PPP 10.10.10.101 100 DOWN Data Plane Forwarding for PPP over MPLSFigure 11-40 shows the data forwarding operation that takes place for traffic originating from CE2-A to CE1-A. Figure 11-40. Data Forwarding for PPP over MPLS
HDLC over MPLSHDLC mode provides port-to-port transport of HDLC-encapsulated traffic. The HDLC PDU is transported in its entirety, including the HDLC address, control, and protocol fields, but excluding HDLC flags and the FCS. Bit/byte stuffing is undone. The control word is optional and when the control word is used, then the flag bits in the control word are set to 0 when transmitted and ignored on receipt. In Cisco implementation of HDLC over MPLS, the C bit is set by default. Figure 11-41 shows the control word when HDLC is used for transporting over MPLS. Figure 11-41. Control Word—HDLC over MPLS
The process of encapsulating the HDLC PDU is shown in Figure 11-42. Figure 11-42. Data Plane—HDLC over MPLS
The data plane operation process when CE2-A sends an HDLC packet to CE1-A is explained in the following steps:
Configuration Flowchart for HDLC over MPLSFigure 11-43 shows the configuration flowchart relevant to configuring HDLC over MPLS. Figure 11-43. Configuration Steps for HDLC over MPLS
Configuring HDLC over MPLSThe objective for the L2 transport provider is to provide transparent L2 services to customer sites. Figure 11-44 shows an MPLS-enabled service provider network providing L2 transport service to Customer A sites, CE1-A and CE2-A. Figure 11-44. Network Providing HDLC over MPLS Service
To configure HDLC over MPLS, enable transport of HDLC over MPLS. In this step, the HDLC encapsulation is defined and the VCID configured on each of the PE routers' interface connected to the CE routers, so that the directed LDP session can be formed to enable transportation of PPP packets from end CE devices over MPLS. See Example 11-30. Example 11-30. Enable HDLC over MPLS on PE RoutersPE1(config)# interface Serial2/1 PE1(config-if)#encapsulation hdlc PE1(config-if)# xconnect 10.10.10.102 100 encapsulation mpls __________________________________________________________________________ PE2(config)# interface Serial2/1 PE2(config-if)#encapsulation hdlc PE2(config-if)# xconnect 10.10.10.101 100 encapsulation mpls Verify HDLC over MPLSTo verify HDLC over MPLS, follow these steps:
Final Configuration for HDLC over MPLSFigure 11-44 shows the relevant device configuration for HDLC over MPLS. PE1 and PE2 are PE routers in the MPLS provider network. Frame Relay over MPLSFrame Relay over MPLS can work in either data-link connection identifier (DLCI)-to-DLCI mode or port-to-port mode. Frame Relay frames are received by the PE1 router from CE1-A, encapsulated into an MPLS, and forwarded across the backbone to PE2, where they are decapsulated and reproduced on the interface to CE2-A. The main difference between DLCI-to-DLCI mode and port-to-port mode is the devices on which the Local Management Interface (LMI) procedures run. In port-to-port mode, the CE routers run the LMI between themselves, and the PE routers do not participate in the LMI. In port-to-port mode, the PE routers use the HDLC as a transport mode on the interface facing the CE router. In DLCI-to-DLCI mode, the PE routers actively participate in the LMI procedures, so the LMI runs between the PE and CE routers. Figure 11-45 shows the network used to depict implementation of Frame Relay over MPLS. Figure 11-45. Network Providing Frame Relay over MPLS Service
Configuration Steps for Frame Relay over MPLS—DLCI ModeFigure 11-46 shows the steps to configure Frame Relay over MPLS in DLCI mode. Figure 11-46. Network Providing Frame Relay over MPLS Service
Configuring Frame Relay over MPLS—DLCI ModeIn this step, you configure the VCID on each of the PE routers' interface connected to the CE routers, so that the directed LDP session can be formed to enable transportation of Frame Relay frames from end CE devices over MPLS network. See Example 11-33. Example 11-33. Enable Transport of Ethernet over MPLS on PE RoutersPE1(config)#frame-relay switching PE1(config)#interface Serial2/1 PE1(config-if)# encapsulation frame-relay PE1(config-if)# frame-relay intf-type dce PE1(config-if)#exit PE1(config)#connect FR Serial2/1 100 l2transport PE1(config-fr-pw-switching)# xconnect 10.10.10.102 100 encapsulation mpls __________________________________________________________________________ PE2(config)#frame-relay switching PE2(config)#interface Serial2/1 PE2(config-if)# encapsulation frame-relay PE2(config-if)# frame-relay intf-type dce PE2(config-if)#exit PE2(config)#connect FR Serial2/1 100 l2transport PE2(config-fr-pw-switching)# xconnect 10.10.10.101 100 encapsulation mpls Verification of Frame Relay over MPLS—DLCI ModeTo verify Frame Relay over MPLS in DLCI mode, follow these steps:
Final Configuration for Frame Relay over MPLS (DLCI Mode)Figure 11-47 shows the final configurations for the devices to implement Frame Relay over MPLS (DLCI mode). Figure 11-47. Configurations for Frame Relay over MPLS (DLCI Mode)
|
|
|
< Day Day Up > |
|