Vpls 2
Vpls 2
Vpls 2
This chapter describes Virtual Private LAN Services (VPLS). This chapter also describes procedures to
configure VPLS.
Cisco CPT Configuration Guide–CTC and Documentation Release 9.7.0.2 and Cisco IOS Release 15.2(02) SC2
78-21171-02 1
Configuring Virtual Private LAN Services
Virtual Private LAN Services
All of the customer edge (CE) devices appear to connect to a logical bridge emulated by the provider core.
See the figure below:
With VPLS, all CE devices participating in a single VPLS instance appear to be on the same LAN; therefore,
each CE device can communicate directly with one another in a multipoint topology, without requiring a full
mesh of point-to-point circuits at the CE device. In a VPLS network, CE and provider edge (PE) devices are
not routing peers, so there is no need for service providers to provision customer IP routers; this is a significant
advantage over MPLS L3 VPN services. Compared to traditional LAN switching technologies, VPLS is also
more flexible in its geographic scaling, so that CE sites may be within the same metropolitan domain, or may
be geographically dispersed on a regional or national basis.
VPLS using Label Distribution Protocol (LDP) Signaling is supported. To enable VPLS over a network, a
full-mesh or ring configuration with bridge-domains (pseudowires or Ethernet Flow Points (EFPs)) must be
established using the Label Distribution Protocol (LDP). Dynamic pseudowires over LDP signalled, Static
Pseudowire, Traffic Engineering (TE), or Transport Profile (TP) label switched path is supported in this
release.
VPLS can be enabled on these configurations:
• Full-mesh
• Ring
Full-Mesh Configuration
The full-mesh configuration requires a full mesh of label-switched paths (LSPs) tunnels between all the PEs
that participate in the VPLS. The tunnel label switched paths are required only for TE and TP configurations
and not for LDP. With a full-mesh configuration, signaling overhead and packet replication requirements for
each provisioned VC on a PE can be high.
To set up a VPLS, a virtual forwarding instance (VFI) must be created on each participating PE router. The
VFI specifies the VPN ID of a VPLS domain, the addresses of other PE routers in the domain, and the type
of tunnel signaling and encapsulation mechanism for each peer PE router.
The set of VFIs formed by the interconnection of the emulated VCs is called a VPLS instance; it is the VPLS
instance that forms the logic bridge over a packet-switched network (PSN). The VPLS instance is assigned
a unique VPN ID.
The PE routers use the VFI to establish a full-mesh LSP of emulated VCs to all the other PE routers in the
VPLS instance. PE routers obtain the membership of a VPLS instance.
Cisco CPT Configuration Guide–CTC and Documentation Release 9.7.0.2 and Cisco IOS Release 15.2(02) SC2
2 78-21171-02
Configuring Virtual Private LAN Services
Virtual Private LAN Services
The full-mesh configuration allows the PE router to maintain a single broadcast domain. The CE devices view
the VPLS instance as an emulated LAN.
To avoid the problem of a packet looping in the provider core, the PE devices enforce a split-horizon principle
for the emulated VCs. That means if a packet is received on an emulated VC, it is not forwarded on any other
emulated VC.
After the VFI has been defined, it needs to be bound to a bridge-domain to the CE device.
The packet forwarding decision is made by looking up the Layer 2 VFI of a particular VPLS domain.
A VPLS instance on a particular PE router receives Ethernet frames that enter on specific physical or logical
ports and populates a MAC table similarly to how an Ethernet switch works. The PE router can use the MAC
address to switch those frames into the appropriate LSP to be delivered to another PE router at a remote site.
If the MAC address is not in the MAC address table, the PE router replicates the Ethernet frame and floods
it to all logical ports associated with that VPLS instance, except the ingress port where it just entered. The PE
router updates the MAC table as it receives packets on specific ports and removes addresses that are not used
for specific periods.
Ring Configuration
Ring configuration reduces both signaling and replication overhead, and also the bandwidth utilization for
multicast traffic. Ring VPLS has an interconnection of PEs in a ring fashion. The main difference between
ring and mesh VPLS is that in mesh VPLS, split horizon is enabled between the core PWs, and in a ring VPLS,
split horizon is disabled. To prevent the consequential loop, at least one span in the ring is deprived of the
PW configuration, that is, in a ring formed from X number of PEs, there will be (X-1) PWs with split horizon
disabled.
Cisco CPT Configuration Guide–CTC and Documentation Release 9.7.0.2 and Cisco IOS Release 15.2(02) SC2
78-21171-02 3
Configuring Virtual Private LAN Services
Virtual Private LAN Services
The active or the standby state at the router is handled by the native multicast protocol and redundancy
configurations at the router end.
Configuring VPLS
Provisioning a VPLS link involves provisioning the associated bridge-domain and the VFI on the PE. Before
you configure VPLS, ensure that the network is configured as follows:
• (Only Dynamic MPLS) Configure IP routing in the core network so that the PE routers can reach each
other through the IP.
• Configure MPLS in the core network so that a LSP exists between the PE routers.
• Configure a loopback interface for originating and terminating Layer 2 traffic. Make sure that the PE
routers can access the loopback interface of other routers.
VPLS configuration requires you to identify peer PE routers and to attach Layer 2 circuits to the VPLS at
each PE router.
Restrictions of VPLS
• The attachment circuit (AC)-less model is used to provision PWs. There is no AC-VFI binding in any
of the VPLS deployment scenarios. AC is transparent to VFI and is handled completely by the
bridge-domain.
• VC Type 5 (Ethernet) is supported and not VC Type 4 pseudowire for VPLS.
Cisco CPT Configuration Guide–CTC and Documentation Release 9.7.0.2 and Cisco IOS Release 15.2(02) SC2
4 78-21171-02
Configuring Virtual Private LAN Services
Virtual Private LAN Services
• Double tag encapsulation with rewrite POP 1 operation is not supported for VPLS EFP.
Cisco CPT Configuration Guide–CTC and Documentation Release 9.7.0.2 and Cisco IOS Release 15.2(02) SC2
78-21171-02 5
Configuring Virtual Private LAN Services
Virtual Private LAN Services
When there is a link failure, the REP ports are unblocked and the REP ring is restored in less than a second.
REP access failure is propagated through REP Topology Change Notification (TCN) across the ring. REP
TCN triggers MAC withdrawal and the traffic can be quickly restored over the VPLS domain
! Configuration on PE1
bridge-domain 100
mode vpls
! Configuration on PE2
bridge-domain 100
mode vpls
Cisco CPT Configuration Guide–CTC and Documentation Release 9.7.0.2 and Cisco IOS Release 15.2(02) SC2
6 78-21171-02
Configuring Virtual Private LAN Services
Virtual Private LAN Services
! Configuration on PE3
bridge-domain 100
mode vpls
! Configuration on PE4
bridge-domain 100
mode vpls
Cisco CPT Configuration Guide–CTC and Documentation Release 9.7.0.2 and Cisco IOS Release 15.2(02) SC2
78-21171-02 7
Configuring Virtual Private LAN Services
Virtual Private LAN Services
Note Split-horizon is disabled on PE1 and PE2 to allow packet to go from one VPLS PW to another VPLS PW
! Configuration on PE1
bridge-domain 100
mode vpls
Interface 36/11
Service instance 10 ethernet
Encap dot1q 10
Bridge-domain 100
! Configuration on PE2
bridge-domain 100
mode vpls
Interface 36/12
Service instance 10 ethernet
Encap dot1q 10
Bridge-domain 100
! Configuration on PE3
bridge-domain 100
mode vpls
Interface 4/2
Service instance 10 ethernet
Encap dot1q 10
Bridge-domain 100
! Configuration on PE4
bridge-domain 100
mode vpls
Interface 4/2
Service instance 10 ethernet
Encap dot1q 10
Bridge-domain 100
Cisco CPT Configuration Guide–CTC and Documentation Release 9.7.0.2 and Cisco IOS Release 15.2(02) SC2
8 78-21171-02
Configuring Virtual Private LAN Services
NTP-J107 Configure a VPLS Circuit Using CTC
! Configuration on port 1
Router(config)# interface gi 36/1
Router(config-if)# service instance 10 ethernet
Router(config-if-srv)# encapsulation untagged
Router(config-if-srv)# bridge-domain 30
! Configuration on port 2
Router(config)# interface gi 36/2
Router(config-if)# service instance 10 ethernet
Router(config-if-srv)# encapsulation dot1q 200
Router(config-if-srv)# rewrite ingress pop 1 symmetric
Router(config-if-srv)# bridge-domain 30
! Configuration on port 3
Router(config)# interface gi 36/6
Router(config-if)# service instance 10 ethernet
Router(config-if-srv)# encapsulation dot1q 101 second-dot1q 20
Router(config-if-srv)# rewrite ingress pop 2 symmetric
Router(config-if-srv)# bridge-domain 30
The following example shows how to enable IGMP immediate leave on the VPLS bridge-domain:
Router(config)# bridge-domain 200
Router(config-bdomain)# mode vpls
Router(config-bdomain)# ip igmp snooping immediate-leave
The following example shows how to disable IGMP report suppression on the VPLS bridge-domain:
Router(config)# bridge-domain 200
Router(config-bdomain)# mode vpls
Router(config-bdomain)# no ip igmp snooping report-suppression
Tools/Equipment None
Prerequisite Procedures None
Required/As Needed As needed
Onsite/Remote Onsite or remote
Security Level Provisioning or higher
Cisco CPT Configuration Guide–CTC and Documentation Release 9.7.0.2 and Cisco IOS Release 15.2(02) SC2
78-21171-02 9
Configuring Virtual Private LAN Services
DLP-J335 Create a VPLS Circuit Using CTC
Procedure
Step 1 Complete DLP-J335 Create a VPLS Circuit Using CTC, on page 10.
Step 2 Create an access pseudowire on the node (user provider edge (U-PE)) that must be added to the existing VPLS
circuit. The access pseudowire must be created from U-PE to an unmanaged node only. To create an access
pseudowire, see DLP-J91 Create a Pseudowire Using CTC.
Step 3 Complete DLP-J336 Edit a VPLS Circuit Using CTC, on page 12.
Tools/Equipment None
Prerequisite Procedures
• Create loopback addresses on the nodes.
• Enable Open Shortest Path First (OSPF) (for a TP tunnel,
enable OSPF on loopback interface).
• Enable OSPF on the physical interface (for a TP tunnel
without IP, enabling OSPF is not required).
• Establish LDP, TE, or TP connectivity between the nodes.
• Enable OSPF on the TP or TE interface or create a static
route for the destination IP using tunnel interface.
• DLP-J89 Create a Pseudowire Class Using CTC.
Cisco CPT Configuration Guide–CTC and Documentation Release 9.7.0.2 and Cisco IOS Release 15.2(02) SC2
10 78-21171-02
Configuring Virtual Private LAN Services
DLP-J335 Create a VPLS Circuit Using CTC
Procedure
Step 1 Complete the NTP-J22 Log into CTC procedure at a node on the network where you want to create a VPLS
circuit.
Step 2 From the View menu, choose Go to Network View.
Step 3 Click the Layer2+ tab.
Step 4 From the left pane, click Circuits.
Step 5 Click the VPLS tab.
Step 6 Click Create. The Circuit Creation wizard appears.
Step 7 In the Global Attributes area of the Circuit Attributes screen, specify the global attributes:
a) Enter the name of the VPLS circuit that you want to create.
b) Enter the description of the VPLS circuit.
c) Enter the VPN ID.
d) From the Admin State drop–down list, choose UP or DOWN . The default value is UP.
e) Specify the bandwidth of the VPLS circuit in Kbps, Mbps, or Gbps.
f) In the VPLS Type area of the Circuit Attributes screen, choose any one of the following VPLS types:
• Open Ring
• Mesh
Cisco CPT Configuration Guide–CTC and Documentation Release 9.7.0.2 and Cisco IOS Release 15.2(02) SC2
78-21171-02 11
Configuring Virtual Private LAN Services
DLP-J336 Edit a VPLS Circuit Using CTC
• S-PE Right—(Display only) Indicates that the intermediate service provider edge (S-PE) node is present
on the right side of the first node in the span.
• S-PE Left—(Display only) Indicates that the intermediate S-PE node is present on the left side of the
second node in the span.
Tools/Equipment None
Prerequisite Procedures DLP-J335 Create a VPLS Circuit Using CTC, on
page 10
Required/As Needed As needed
Onsite/Remote Onsite or remote
Security Level Provisioning or higher
Cisco CPT Configuration Guide–CTC and Documentation Release 9.7.0.2 and Cisco IOS Release 15.2(02) SC2
12 78-21171-02
Configuring Virtual Private LAN Services
DLP-J336 Edit a VPLS Circuit Using CTC
Procedure
Step 1 Complete the NTP-J22 Log into CTC procedure at a node where you want to edit a VPLS circuit.
Step 2 From the View menu, choose Go to Home View.
Step 3 Click the Layer2+ tab.
Step 4 Click VPLS.
Step 5 From the list of VPLS circuits, select a VPLS circuit to edit.
Step 6 Click Edit. The Edit Circuit dialog box appears.
Step 7 In the General tab, view the name, description, service ID, and MTU of the VPLS circuit.
Step 8 In the Endpoint PWs tab, view the node list that are part of the selected VPLS circuit. Select the node in the
VPLS Node List area to view the details of its neighbor node in the Neighbors area.
You can create new endpoints only for Ethernet Private LAN and Ethernet Virtual Private LAN.
To create new endpoint PWs for this VPLS circuit:
a) Click Create. The Define New Drop wizard appears.
b) In the New Drop screen of the wizard, choose a VPLS type.
c) Click Next. The VPLS Configuration screen is displayed.
d) Click Select Nodes for the VPLS Network. The Select Nodes for the VPLS Network screen is displayed.
e) To select the nodes for the VPLS network:
1 Select a node from the network map and click Add. The Add node dialog box appears.
2 Check the Unmanaged Node check box when the node is not a node. If this check box is checked,
enter the IP address of the unmanaged node.
3 From the Node drop-down list, choose a node and click Apply.
4 Repeat Step 8ei to Step 8eiii to add the remaining nodes.
5 Click Apply. The nodes are added to the VPLS network and are displayed in the VPLS Configuration
screen.
f) In the VPLS Configuration screen, choose the pseudowire class from the PW Class A and PW Class Z
drop-down lists.
The available attributes are:
• Span—(Display only) Indicates the circuit span information.
• VC ID A—(Display only) Indicates the VC ID of the first node in the span.
• VC ID Z—(Display only) Indicates the VC ID of the second node in the span.
• Split Horizon A—(Display only) Indicates the split horizon status (enabled or disabled) of the first
node in the span.
• Split Horizon Z—(Display only) Indicates the split horizon status (enabled or disabled) of the second
node in the span.
• Manual Route—Adds an intermediate node between the first and the second nodes in the span.
• S-PE Right—(Display only) Indicates that the intermediate S-PE node is present on the right side
of the first node in the span.
Cisco CPT Configuration Guide–CTC and Documentation Release 9.7.0.2 and Cisco IOS Release 15.2(02) SC2
78-21171-02 13
Configuring Virtual Private LAN Services
DLP-J336 Edit a VPLS Circuit Using CTC
• S-PE Left—(Display only) Indicates that the intermediate S-PE node is present on the left side of
the second node in the span.
g) Click Finish.
To delete an endpoint PW, select the node in the VPLS Node List area and click Delete Node.
Step 9 In the S-PE Nodes tab, view the node list that is part of the selected VPLS circuit. Select the node in the VPLS
Node List area to view the details of its neighbor node in the Neighbors area. You can delete the neighbor
and node by selecting them and clicking the Delete Neighbor or the Delete Node button.
Step 10 In the Endpoint EFPs tab, view the EFPs that are part of the selected VPLS. You can create new endpoints
only for Ethernet Private LAN and Ethernet Virtual Private LAN. To create a new endpoint EFP for this
VPLS:
a) Click Create. The Define New Drop wizard appears.
b) In the New Drop screen of the wizard, choose a node from the Node drop-down list.
c) To choose a port to serve as the EFP:
1 From the Fabric/Line/Satellite Slot drop-down list, choose a slot.
2 From the Port drop-down list, choose a port to serve as the EFP.
e) Click Next. In the EFP Configuration Preview screen of the wizard, CTC displays the VPLS path.
f) Select the Node from the network map. The EFP Selection area displays the node selected.
g) From the Available Ports drop-down list, choose the ports.
h) In the EFP Configuration tab, specify the VLAN configuration for this EFP.
i) Click Finish to create a new EFP for this VPLS.
Note After you have completed the DLP-J335 Create a VPLS Circuit Using CTC, on page 10 procedure,
you can create new endpoints EFPs/PWs or add existing EFPs/PWs to this VPLS circuit. CTC allows
you to add only until 127 entries; EFPs or neighbor nodes. This number includes the total number
of entries made in both, Endpoint PWs tab and Endpoint EFP tab. CTC blocks any attempts to add
more than 127 entries to this VPLS circuit.
Step 11 In the EFP Configuration tab, specify the VLAN configuration for the selected EFP and click Apply.
Step 12 In the QoS tab, specify the QoS policies to apply on the individual EFPs:
a) From the Ingress Policy drop-down list, choose the required policy.
b) From the Egress Policy drop-down list, choose the required policy.
c) Click Apply.
Step 13 (Only for Ethernet Virtual Private LAN type) In the IGMP Snooping tab, specify the settings for the bridge
domain:
a) Check the IGMP Snooping check box to enable IGMP snooping on this bridge domain.
b) Check the Immediate Leave check box to enable IGMP snooping to immediately remove a port when it
detects an IGMP version 2 leave a message on that port.
Cisco CPT Configuration Guide–CTC and Documentation Release 9.7.0.2 and Cisco IOS Release 15.2(02) SC2
14 78-21171-02
Configuring Virtual Private LAN Services
NTP-J108 Configure a VPLS Circuit Using Cisco IOS Commands
c) Check the Report Suppression check box to ensure that the bridge domain forwards only one IGMP
report for each multicast query.
d) Click Apply.
Step 14 (Only for Ethernet Private LAN and Ethernet Virtual Private LAN types) In the MAC Learning tab, specify
the MAC learning settings for the bridge domain:
a) Check the MAC Learning check box to enable MAC learning on this bridge domain. MAC learning is
enabled by default for Ethernet Private LAN and Ethernet Virtual Private LAN.
b) Enter the upper limit on the number of MAC addresses that reside in a bridge domain.
The maximum MAC address limit on a bridge domain is 128000.
c) Click Apply.
d) Click Static MAC Address Configuration. The EFP Static MAC Address Configuration dialog box
appears. Enter the static MAC addresses for each EFP or PW.
e) Select the EFP or the PW radio button and from the drop-down list, choose an EFP or the PW.
f) Enter one or more static MAC addresses for the EFP or the PW in the MAC Address field and click Add.
The added MAC addresses appear in the Entered MAC Addresses area.
g) Click Apply and close the EFP Static MAC Address Configuration dialog box.
h) Click Clear MAC Address(es). The Clear MAC Addresses dialog box appears. Select the specific MAC
address to remove from the MAC address table.
i) Select the System, EFP or the PW radio button and from the drop-down list, choose the system, EFP or
the PW where you want to clear the MAC address.
j) Enter the MAC address in the MAC Address field and click Add.
k) Click Clear to clear all the MAC addresses in the MAC Addresses to clear area.
l) Click Clear All to clear all the MAC addresses learned on the system, EFP, or PW.
m) Close the Clear MAC Addresses dialog box.
n) Click Display MAC Address(es) to display the configured static MAC addresses for each EFP or the
PW. The Configured EFP Static MAC Addresses dialog box appears.
o) Select the EFP or the PW radio button and from the drop-down list, choose an EFP or the PW.
The MAC addresses configured on the EFP or the PW appear in the Configured MAC Addresses area.
p) Close the Configured EFP Static MAC Addresses dialog box.
Step 15 In the State tab, edit the state of the VPLS circuit:
a) From the Target VPLS Admin state drop-down menu, select UP or DOWN.
b) Click Apply.
Step 16 Return to your originating procedure (NTP).
Tools/Equipment None
Prerequisite Procedures None
Cisco CPT Configuration Guide–CTC and Documentation Release 9.7.0.2 and Cisco IOS Release 15.2(02) SC2
78-21171-02 15
Configuring Virtual Private LAN Services
DLP-J337 Create a Layer 2 Virtual Forwarding Instance Using Cisco IOS Commands
Procedure
Step 1 Complete DLP-J216 Configure a Bridge Domain Using Cisco IOS Commands.
Step 2 (Optional) Complete DLP-J1 Configure an Ethernet Service Instance Using Cisco IOS Commands when the
CE is connected to the PE using Ethernet services.
Step 3 Complete any one of the following procedures as applicable:
• DLP-J119 Enable MPLS LDP-IGP Synchronization Using Cisco IOS Commands.
• NTP-J48 Configure MPLS-TE Parameters.
• NTP-J41 Configure an MPLS-TP Tunnel.
Step 4 Complete DLP-J337 Create a Layer 2 Virtual Forwarding Instance Using Cisco IOS Commands, on page
16.
Step 5 Complete DLP-J90 Create a Pseudowire Using Cisco IOS Commands when the PE (U-PE) is connected to
another PE using MPLS services.
Tools/Equipment None
Prerequisite Procedures DLP-J216 Configure a Bridge Domain Using Cisco
IOS Commands (with VPLS mode)
Required/As Needed As needed
Onsite/Remote Onsite or remote
Security Level Provisioning or higher
Cisco CPT Configuration Guide–CTC and Documentation Release 9.7.0.2 and Cisco IOS Release 15.2(02) SC2
16 78-21171-02
Configuring Virtual Private LAN Services
DLP-J337 Create a Layer 2 Virtual Forwarding Instance Using Cisco IOS Commands
Procedure
Example:
Router# configure terminal
Step 3 l2 vfi name manual Creates a named Layer 2 Virtual Forwarding
Instance (VFI) and enters the L2 VFI manual
Example: configuration mode.
Router(config)# l2 vfi VPLSA manual
Step 4 vpn id vpnid Configures a VPN ID for the VPLS domain.
Example:
Router(config-vfi)# vpn id 100
Step 5 bridge-domain bridge-id Specifies the bridge-domain number.
Example:
Router(config-vfi)# Bridge-domain 22
Step 6 neighbor ip-address id {encapsulation mpls Specifies the remote peer router ID and the IP
| pw-class pw-class-name} [no-split-horizon] address of the router, and the tunnel
encapsulation type (always set to mpls), or the
Example: pseudowire property.
Router(config-vfi )# neighbor 33.33.33.33 6
encapsulation mpls
Step 7 exit Exits the L2 VFI manual configuration mode.
Example:
Router(config-vfi )# exit
Cisco CPT Configuration Guide–CTC and Documentation Release 9.7.0.2 and Cisco IOS Release 15.2(02) SC2
78-21171-02 17
Configuring Virtual Private LAN Services
DLP-J337 Create a Layer 2 Virtual Forwarding Instance Using Cisco IOS Commands
Cisco CPT Configuration Guide–CTC and Documentation Release 9.7.0.2 and Cisco IOS Release 15.2(02) SC2
18 78-21171-02