20-29
Cisco 10000 Series Router Software Configuration Guide
OL-2226-23
Chapter 20 Configuring L2 Virtual Private Networks
Configuration Tasks for L2VPN
Example 20-22
shows how to enable Frame Relay over MPLS with DLCI-to-DLCI connections.
Example 20-22 Frame Relay over MPSL with DLCI-to-DLCI Connections
frame-relay switching
interface Serial3/1
encapsulation frame-relay ietf
frame-relay intf-type dce
exit
connect fr1 Serial 5/0 1000 l2transport
xconnect 10.0.0.1 123 encapsulation mpls
Configuring Frame Relay over MPLS with Port-to-Port Connections
When you set up a port-to-port connection between PE routers, you use HDLC mode to transport the
Frame Relay encapsulated packets. Perform this task to set up Frame Relay port-to-port connections.
To configure Frame Relay over MPLS with port-to-port connections, enter the following commands
beginning in global configuration mode:
Example 20-23
shows how to enable Frame Relay over MPLS with port-to-port connections.
Example 20-23 Frame Relay over MPLS With Port-to-Port Connections
interface serial5/0
encapsulation hdlc
xconnect 10.0.0.1 123 encapsulation mpls
Step 6
Router(config)#
connect
connection-name
interface dlci
l2transport
Defines connections between Frame Relay PVCs and enters
connect submode. Using the
l2transport
keyword specifies that
the PVC will not be a locally switched PVC, but will be
tunneled over the backbone network.
The
connection-name
argument is a text string that you provide.
The
interface
argument is the interface on which a PVC
connection is defined.
The
dlci
argument is the DLCI number of the PVC that will be
connected.
Step 7
Router(config-fr-pw-switching)#
xconnect
peer-router-id vcid
encapsulation mpls
Creates the VC to transport the Layer 2 packets.
In a DLCI-to DLCI connection type, Frame Relay over MPLS
uses the
xconnect
command in connect submode.
Command
Purpose
Command
Purpose
Step 1
Router(config)#
interface serial
slot/port
Specifies a serial interface and enters interface configuration
mode.
Step 2
Router(config-if)#
encapsulation hdlc
Specifies that Frame Relay PDUs is encapsulated in
HDLC packets.
Step 3
Router(config-if)#
xconnect
peer-router-id vcid
encapsulation mpls
Creates the VC to transport the Layer 2 packets.