Cisco Support Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Announcements

Welcome to Cisco Support Community. We would love to have your feedback.

For an introduction to the new site, click here. If you'd prefer to explore, try our test area to get started. And see here for current known issues.

New Member

L2VPN with backup peer

Hi, i need make a fully redundancy configuration for two CE?s.

this CE?s are only capable of run static routing between them.

here is the option that i have, and i need your confirmation over this solution.

this solution must be tolerant to hardware failure

(complete box or only one module) and software.

thanks for your collaboration :)

CEs are non-cisco devices, but the concept is the same.

the questions are:

1- L2VPN configured in the SVI works with STP?

2- if it works, in normal conditions the STP state of the ports will be,

CE1 G1/1-2 DP->FW

PE1 G1/1 RP->FW

 G1/2 DP->FW

PE2 G1/1 RP->FW

 G1/2 NDP->BLK

PE3 G1/1 DP->FW

 G1/2 DP->FW

PE4 G1/1 DP->FW

G1/2 NDP->BLK

CE2 G1/1 RP->FW

G1/2 NDP->BLK

what is the RP of PE3 and PE4??

3- finally, if this config dont work, how can accomplish this?

CE1

---

spann vlan 10 priority 4096

!

vlan 10

!

int vlan 10

ip add 10.0.10.1 255.255.255.0

!

int giga1/1

description to PE1

sw mo acc

sw acc vla 10

!

int giga1/2

description to PE2

sw mo acc

sw acc vlan 10

!

CE2

---

spann vlan 10 priority 24576

!

vlan 10

!

int vlan 10

ip add 10.0.10.2 255.255.255.0

!

int giga1/1

description to PE3

sw mo acc

sw acc vla 10

!

int giga1/2

description to PE4

sw mo acc

sw acc vlan 10

!

PE1

---

spann vlan 10 priority 8192

!

vlan 10

!

int lo0

ip add 10.0.0.1 255.255.255.255

!

int vlan 10

no ip add

xconnect 10.0.0.3 13 encap mpls

backup peer 10.0.0.4 14 encap mpls

!

int giga1/1

description to CE1

sw mo acc

sw acc vla 10

!

int giga1/2

description to PE2

sw mo acc

sw acc vlan 10

!

PE2

---

spann vlan 10 priority 12288

!

vlan 10

!

int lo0

ip add 10.0.0.2 255.255.255.255

!

int vlan 10

no ip add

xconnect 10.0.0.4 24 encap mpls

backup peer 10.0.0.3 23 encap mpls

!

int giga1/1

description to CE1

sw mo acc

sw acc vla 10

!

int giga1/2

description to PE1

sw mo acc

sw acc vlan 10

!

PE3

---

spann vlan 10 priority 16384

!

vlan 10

!

int lo0

ip add 10.0.0.3 255.255.255.255

!

int vlan 10

no ip add

xconnect 10.0.0.1 13 encap mpls

backup peer 10.0.0.2 23 encap mpls

!

int giga1/1

description to CE2

sw mo acc

sw acc vla 10

!

int giga1/2

description to PE4

sw mo acc

sw acc vlan 10

!

PE4

---

spann vlan 10 priority 24576

!

vlan 10

!

int lo0

ip add 10.0.0.4 255.255.255.255

!

int vlan 10

no ip add

xconnect 10.0.0.2 24 encap mpls

backup peer 10.0.0.1 14 encap mpls

!

int giga1/1

description to CE2

sw mo acc

sw acc vla 10

!

int giga1/2

description to PE3

sw mo acc

sw acc vlan 10

!

  • MPLS
1 REPLY

Re: L2VPN with backup peer

What would happen here is the same when you connect 2 plain switches

back to back with two connections using a access port!!!.

TO avoid that, and rectify you may try things as below.

1) There wont be any blocking state as all your ports are access ports.

Spanning tree is disabled on access ports.

2) You can remove the access connection between PE1-P42 and PE3-PE4.

Not advisible to extend L2 rings above the NPE devices, it should

be below the NPE. If you want to configure that connection then use

a trunk and only pass SP VLANS only and no customer VLANS at all.

3) With the linear setup you have you can omit the backup peer statement.

3) Configure a trunk with the CE's.

4) Carry all the vlans/vlan received from the CE on the trunk using QinQ withing the SP vlan.

5) With the above points in place you will have 2 trunk connections between the 2 CE's switches forming a ring. And then you can run STP to break the ring/loop.

HTH-Cheers,

Swaroop

437
Views
0
Helpful
1
Replies