beautypg.com

Cisco 15327 User Manual

Page 299

background image

18-7

Ethernet Card Software Feature and Configuration Guide, R7.2

Chapter 18 Configuring Ethernet over MPLS

VC Type 5 Configuration on PE-CLE Port

Command

Purpose

Step 1

Router(config)# mpls label protocol ldp

Specifies LDP as the label distribution protocol.

LDP must be specified. The ML-Series card does not
operate EoMPLS with the default TDP as the label
distribution protocol.

Step 2

Router(config)# interface loopback0

Enters loopback interface configuration mode.

Step 3

Router(config-if)# ip address

ip-address

255.255.255.255

Assigns an IP address to the loopback interface. This
loopback IP addresses is used to identify the peer in the
EoMPLS point-to-point session.

No subnet mask is needed.

Step 4

Router(config)# interface {GigabitEthernet |

FastEthernet

}

interface-number

Specifies the Ethernet interface for the imposition
interface.

Step 5

Router(config-if)# no ip address

Disables the IP address if an IP address is assigned.

Step 6

Router(config-subif)# mpls l2transport route

destination vc-id

or

xconnect

destination vc-id encapsulation mpls

By entering the mpls l2transport route or the xconnect
interface configuration command on a VLAN for
VLAN-based EoMPLS, you can configure an EoMPLS
tunnel to forward traffic based on the customer VLAN.

mpls l2transport route specifies the VC to use to
transport the VLAN packets. Initiates a remote LDP
session with the peer point-to-point endpoint interface.

destination specifies the loopback IP address for the
remote ML-Series at the other end of the VC
(PE-CLE).

vc-id is a value you supply. It must be unique for
each VC. The VC ID is used to connect the
endpoints of the VC. Specify the same VC ID on
both ends of the VC.

xconnect binds the 802.1q VLAN circuit to a pseudowire
for xconnect service. The encapsulation mpls
pseudowire class parameter specifies MPLS for the
tunneling method.

Note

The xconnect command is a newer version of the
mpls l2transport route interface configuration
command.

Note

Use the no mpls l2transport route destination
vc-id
or no xconnect destination vc-id
encapsulation mpls interface command to
delete the EoMPLS tunnel.

Step 7

Router(config-subif)# end

Return to privileged EXEC mode.

Step 8

Router# show mpls l2transport vc

Verify the configuration.

Step 9

Router# copy running-config startup-config

(Optional) Save your entries in the configuration file