28 configuring vpws, 1 overview, 2 configuring vpws using ldp – CANOGA PERKINS 9175 Configuration Guide User Manual
Page 180
CanogaOS Configuration Guide
28-1
28 Configuring VPWS
28.1 Overview
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.2 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.2.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 200 192.168.11.10
Create a Virtual Circuit.Both PE routers must be
configured with the same VC-ID (200).
DUT1(config)# interface eth-0-1
Enter the Interface mode.
eth-0-1—Specify the interface
DUT1(config-if)# no switchport
Configure the port to layer 3 port.
DUT1(config-if)#ip address 8.8.8.1/24
Create IP address on the port.
DUT1(config-if)# enable ldp
Configure Interface for LDP
DUT1(config-if)# label-switching
Enable label-switching on interface