28 configuring vpws, 1 configuring vpws using ldp – CANOGA PERKINS CanogaOS Configuration Guide User Manual

Page 225

Advertising
background image

CanogaOS Configuration Guide

Proprietary & Confidential Canoga Perkins Metro Ethernet Switches

Page 225 of 350

28 Configuring VPWS

This chapter describes how to configure VPWS.
The MPLS Layer-2 Virtual Circuit is a point-to-point Layer 2 connection transported by means
of Multiprotocol Label Switching (MPLS) on the service provider’s network. The Layer 2 circuit
is transported over a single Label Switched Path (LSP) tunnel between two Provider Edge (PE)
routers.

28.1 Configuring VPWS using LDP

The Virtual Circuit module is a part of the LDP module. It is based on the IETF drafts proposed
by Martini, et al [L2TRANS]. The Virtual Circuits module sets up virtual circuits for
transporting Layer 2 protocols across an MPLS network. This chapter includes a step-by-step
configuration of VPWS.

28.1.1 Configuring the VPWS on PE1

Command

Description

DUT1#configure terminal

Enter the Configure mode.

DUT1(config)#interface eth-0-2

Enter the Interface mode.

• eth-0-2—Specify the interface

DUT1(config-if)#mpls-l2-circuit
t1 ethernet

Bind an interface to the Virtual
Circuit.

DUT1(config-if)# exit

Exit the Interface mode.

DUT1(config)#

interface

loopback 0

Enter the Interface mode.

• loopback0—Specify the loopback
interface name.

DUT1(config-if)#ip address
192.168.10.10/32

Create loopback addresses on both
PE routers. Use a /32 host route for
the loopback address.

DUT1(config)#exit

Exit the Interface mode.

DUT1(config)# router ldp

Enter the router-ldp mode.

DUT1(config-router)#
targeted-peer 192.168.11.10

Configure Targeted Peer in LDP.

DUT1(config-router)#exit

Exit the router-ldp mode.

DUT1(config)#mpls l2-circuit t1 Create a Virtual Circuit.Both PE

routers must be configured with the

Advertising