Question

L2VPN H-VPLS/VPLS Traffic Issue

  • 26 April 2021
  • 0 replies
  • 13 views

Hi guys,

 

I have the following setup:

 

What I’m trying to achieve is the following setup:

 

 

At the moment I have a full OSPF and MPLS-LDP network between the switches.

I also have some of the PW VPLS tunnels at “up” state.

For some reason, traffic won’t reach it’s destination from the MTU/PEs to the other sites (from the camera to the laptop).

 

I’m attaching the configurations:

PE-1 Switch

#

# Module vlan configuration.

#

configure vlan default delete ports all

configure vr VR-Default delete ports 1-34

configure vr VR-Default add ports 1-34

create vlan "loopback"

enable loopback-mode vlan loopback

create vlan "PE1-MTU1-P2P"

configure vlan PE1-MTU1-P2P tag 11

create vlan "PE1-PE2-P2P"

configure vlan PE1-PE2-P2P tag 12

create vlan "PE1-PE3-P2P"

configure vlan PE1-PE3-P2P tag 13

configure ports 29 auto off speed 10000 duplex full

configure ports 30 auto off speed 10000 duplex full

configure ports 31 auto off speed 10000 duplex full

configure ports 32 auto off speed 10000 duplex full

configure ports 33 auto off speed 10000 duplex full

configure ports 34 auto off speed 10000 duplex full

configure vlan Default add ports 1-34 untagged

configure vlan PE1-MTU1-P2P add ports 3 tagged

configure vlan PE1-PE2-P2P add ports 1 tagged

configure vlan PE1-PE3-P2P add ports 2 tagged

configure vlan loopback ipaddress 1.1.1.1 255.255.255.255

enable ipforwarding vlan loopback

configure vlan PE1-PE2-P2P ipaddress 12.12.12.1 255.255.255.252

enable ipforwarding vlan PE1-PE2-P2P

configure vlan PE1-PE3-P2P ipaddress 13.13.13.1 255.255.255.252

enable ipforwarding vlan PE1-PE3-P2P

configure vlan PE1-MTU1-P2P ipaddress 11.11.11.1 255.255.255.252

enable ipforwarding vlan PE1-MTU1-P2P


# Module mpls configuration.

#

configure mpls add vlan "loopback"

enable mpls vlan "loopback"

enable mpls ldp vlan "loopback"

configure mpls add vlan "PE1-MTU1-P2P"

enable mpls vlan "PE1-MTU1-P2P"

enable mpls ldp vlan "PE1-MTU1-P2P"

configure mpls add vlan "PE1-PE2-P2P"

enable mpls vlan "PE1-PE2-P2P"

enable mpls ldp vlan "PE1-PE2-P2P"

configure mpls add vlan "PE1-PE3-P2P"

enable mpls vlan "PE1-PE3-P2P"

enable mpls ldp vlan "PE1-PE3-P2P"

configure mpls lsr-id 1.1.1.1

enable mpls protocol ldp

enable mpls

create l2vpn vpls MayPatents fec-id-type pseudo-wire 10

configure l2vpn vpls MayPatents add peer 4.4.4.4 spoke

configure l2vpn vpls MayPatents add peer 3.3.3.3 core full-mesh

configure l2vpn vpls MayPatents add peer 2.2.2.2 core full-mesh

# Module ospf configuration.

#

configure ospf routerid 1.1.1.1

enable ospf

configure ospf add vlan loopback area 0.0.0.0 passive

configure ospf add vlan PE1-MTU1-P2P area 0.0.0.0 link-type point-to-point

configure ospf add vlan PE1-PE2-P2P area 0.0.0.0 link-type point-to-point

configure ospf add vlan PE1-PE3-P2P area 0.0.0.0 link-type point-to-point

 

PE-2 Switch

# Module vlan configuration.

#

configure vlan default delete ports all

configure vr VR-Default delete ports 1-34

configure vr VR-Default add ports 1-34

create vlan "loopback"

enable loopback-mode vlan loopback

create vlan "PE2-MTU1-P2P"

configure vlan PE2-MTU1-P2P tag 21

create vlan "PE2-PE1-P2P"

configure vlan PE2-PE1-P2P tag 12

create vlan "PE2-PE3-P2P"

configure vlan PE2-PE3-P2P tag 23

configure ports 29 auto off speed 10000 duplex full

configure ports 30 auto off speed 10000 duplex full

configure ports 31 auto off speed 10000 duplex full

configure ports 32 auto off speed 10000 duplex full

configure ports 33 auto off speed 10000 duplex full

configure ports 34 auto off speed 10000 duplex full

configure vlan Default add ports 1-34 untagged

configure vlan PE2-MTU1-P2P add ports 3 tagged

configure vlan PE2-PE1-P2P add ports 1 tagged

configure vlan PE2-PE3-P2P add ports 2 tagged

configure vlan loopback ipaddress 2.2.2.2 255.255.255.255

enable ipforwarding vlan loopback

configure vlan PE2-PE1-P2P ipaddress 12.12.12.2 255.255.255.252

enable ipforwarding vlan PE2-PE1-P2P

configure vlan PE2-PE3-P2P ipaddress 23.23.23.1 255.255.255.252

enable ipforwarding vlan PE2-PE3-P2P

configure vlan PE2-MTU1-P2P ipaddress 21.21.21.1 255.255.255.252

enable ipforwarding vlan PE2-MTU1-P2P

 

# Module mpls configuration.

#

configure mpls add vlan "loopback"

enable mpls vlan "loopback"

enable mpls ldp vlan "loopback"

configure mpls add vlan "PE2-MTU1-P2P"

enable mpls vlan "PE2-MTU1-P2P"

enable mpls ldp vlan "PE2-MTU1-P2P"

configure mpls add vlan "PE2-PE1-P2P"

enable mpls vlan "PE2-PE1-P2P"

enable mpls ldp vlan "PE2-PE1-P2P"

configure mpls add vlan "PE2-PE3-P2P"

enable mpls vlan "PE2-PE3-P2P"

enable mpls ldp vlan "PE2-PE3-P2P"

configure mpls lsr-id 2.2.2.2

enable mpls protocol ldp

enable mpls

create l2vpn vpls MayPatents fec-id-type pseudo-wire 10

configure l2vpn vpls MayPatents add peer 4.4.4.4 spoke

configure l2vpn vpls MayPatents add peer 3.3.3.3 core full-mesh

configure l2vpn vpls MayPatents add peer 1.1.1.1 core full-mesh

# Module ospf configuration.

#

configure ospf routerid 2.2.2.2

enable ospf

configure ospf add vlan loopback area 0.0.0.0 passive

configure ospf add vlan PE2-MTU1-P2P area 0.0.0.0 link-type point-to-point

configure ospf add vlan PE2-PE1-P2P area 0.0.0.0 link-type point-to-point

configure ospf add vlan PE2-PE3-P2P area 0.0.0.0 link-type point-to-point

 

PE-3 Switch

# Module vlan configuration.

#

configure vlan default delete ports all

configure vr VR-Default delete ports 1-34

configure vr VR-Default add ports 1-34

create vlan "InterComm"

configure vlan InterComm tag 10

create vlan "loopback"

enable loopback-mode vlan loopback

create vlan "PE3-MTU2-P2P"

configure vlan PE3-MTU2-P2P tag 32

create vlan "PE3-PE1-P2P"

configure vlan PE3-PE1-P2P tag 13

create vlan "PE3-PE2-P2P"

configure vlan PE3-PE2-P2P tag 23

configure ports 29 auto off speed 10000 duplex full

configure ports 30 auto off speed 10000 duplex full

configure ports 31 auto off speed 10000 duplex full

configure ports 32 auto off speed 10000 duplex full

configure ports 33 auto off speed 10000 duplex full

configure ports 34 auto off speed 10000 duplex full

configure vlan Default add ports 1-34 untagged

configure vlan InterComm add ports 24 tagged

configure vlan PE3-MTU2-P2P add ports 3 tagged

configure vlan PE3-PE1-P2P add ports 1 tagged

configure vlan PE3-PE2-P2P add ports 2 tagged

configure vlan PE3-PE1-P2P ipaddress 13.13.13.2 255.255.255.252

enable ipforwarding vlan PE3-PE1-P2P

configure vlan loopback ipaddress 3.3.3.3 255.255.255.255

enable ipforwarding vlan loopback

configure vlan PE3-PE2-P2P ipaddress 23.23.23.2 255.255.255.252

enable ipforwarding vlan PE3-PE2-P2P

configure vlan PE3-MTU2-P2P ipaddress 32.32.32.1 255.255.255.252

enable ipforwarding vlan PE3-MTU2-P2P

 

# Module mpls configuration.

#

configure mpls add vlan "loopback"

enable mpls vlan "loopback"

enable mpls ldp vlan "loopback"

configure mpls add vlan "PE3-MTU2-P2P"

enable mpls vlan "PE3-MTU2-P2P"

enable mpls ldp vlan "PE3-MTU2-P2P"

configure mpls add vlan "PE3-PE1-P2P"

enable mpls vlan "PE3-PE1-P2P"

enable mpls ldp vlan "PE3-PE1-P2P"

configure mpls add vlan "PE3-PE2-P2P"

enable mpls vlan "PE3-PE2-P2P"

enable mpls ldp vlan "PE3-PE2-P2P"

configure mpls lsr-id 3.3.3.3

enable mpls protocol ldp

enable mpls

create l2vpn vpls MayPatents fec-id-type pseudo-wire 10

configure l2vpn vpls MayPatents add service vlan InterComm

configure l2vpn vpls MayPatents add peer 1.1.1.1 core full-mesh

configure l2vpn vpls MayPatents add peer 2.2.2.2 core full-mesh

configure l2vpn vpls MayPatents add peer 5.5.5.5 spoke

 

# Module ospf configuration.

#

configure ospf routerid 3.3.3.3

enable ospf

configure ospf add vlan loopback area 0.0.0.0 passive

configure ospf add vlan PE3-MTU2-P2P area 0.0.0.0 link-type point-to-point

configure ospf add vlan PE3-PE1-P2P area 0.0.0.0 link-type point-to-point

configure ospf add vlan PE3-PE2-P2P area 0.0.0.0 link-type point-to-point

 

MTU-1 Switch

# Module vlan configuration.

#

configure vlan default delete ports all

configure vr VR-Default delete ports 1-34

configure vr VR-Default add ports 1-34

configure vlan default delete ports 1-34

create vlan "loopback"

enable loopback-mode vlan loopback

create vlan "Monitor"

configure vlan Monitor tag 10

create vlan "MTU1-PE1-P2P"

configure vlan MTU1-PE1-P2P tag 11

create vlan "MTU1-PE2-P2P"

configure vlan MTU1-PE2-P2P tag 21

configure ports 29 auto off speed 10000 duplex full

configure ports 30 auto off speed 10000 duplex full

configure ports 31 auto off speed 10000 duplex full

configure ports 32 auto off speed 10000 duplex full

configure ports 33 auto off speed 10000 duplex full

configure ports 34 auto off speed 10000 duplex full

configure vlan Monitor add ports 24 tagged

configure vlan Monitor add ports 3 untagged

configure vlan MTU1-PE1-P2P add ports 1 tagged

configure vlan MTU1-PE2-P2P add ports 2 tagged

configure vlan loopback ipaddress 4.4.4.4 255.255.255.255

enable ipforwarding vlan loopback

configure vlan MTU1-PE1-P2P ipaddress 11.11.11.2 255.255.255.252

enable ipforwarding vlan MTU1-PE1-P2P

configure vlan MTU1-PE2-P2P ipaddress 21.21.21.2 255.255.255.252

enable ipforwarding vlan MTU1-PE2-P2P

 

# Module mpls configuration.

#

configure mpls add vlan "loopback"

enable mpls vlan "loopback"

enable mpls ldp vlan "loopback"

configure mpls add vlan "MTU1-PE1-P2P"

enable mpls vlan "MTU1-PE1-P2P"

enable mpls ldp vlan "MTU1-PE1-P2P"

configure mpls add vlan "MTU1-PE2-P2P"

enable mpls vlan "MTU1-PE2-P2P"

enable mpls ldp vlan "MTU1-PE2-P2P"

configure mpls lsr-id 4.4.4.4

enable mpls protocol ldp

enable mpls

create l2vpn vpls MayPatents fec-id-type pseudo-wire 10

configure l2vpn vpls MayPatents add service vlan Monitor

configure l2vpn vpls MayPatents add peer 1.1.1.1 core primary

configure l2vpn vpls MayPatents add peer 2.2.2.2 core secondary

 

configure ospf routerid 4.4.4.4

enable ospf

configure ospf add vlan loopback area 0.0.0.0 passive

configure ospf vlan loopback cost 1

configure ospf add vlan MTU1-PE1-P2P area 0.0.0.0 link-type point-to-point

configure ospf add vlan MTU1-PE2-P2P area 0.0.0.0 link-type point-to-point

 

MTU-2 Switch

# Module vlan configuration.

#

configure vlan default delete ports all

configure vr VR-Default delete ports 1-34

configure vr VR-Default add ports 1-34

configure vlan default delete ports 1-34

create vlan "loopback"

enable loopback-mode vlan loopback

create vlan "Monitor"

configure vlan Monitor tag 10

create vlan "MTU2-PE3-P2P"

configure vlan MTU2-PE3-P2P tag 32

configure ports 29 auto off speed 10000 duplex full

configure ports 30 auto off speed 10000 duplex full

configure ports 31 auto off speed 10000 duplex full

configure ports 32 auto off speed 10000 duplex full

configure ports 33 auto off speed 10000 duplex full

configure ports 34 auto off speed 10000 duplex full

configure vlan Monitor add ports 1-2 tagged

configure vlan MTU2-PE3-P2P add ports 24 tagged

configure vlan loopback ipaddress 5.5.5.5 255.255.255.255

enable ipforwarding vlan loopback

configure vlan MTU2-PE3-P2P ipaddress 32.32.32.2 255.255.255.252

enable ipforwarding vlan MTU2-PE3-P2P

 

# Module mpls configuration.

#

configure mpls add vlan "loopback"

enable mpls vlan "loopback"

enable mpls ldp vlan "loopback"

configure mpls add vlan "MTU2-PE3-P2P"

enable mpls vlan "MTU2-PE3-P2P"

enable mpls ldp vlan "MTU2-PE3-P2P"

configure mpls lsr-id 5.5.5.5

enable mpls protocol ldp

enable mpls

create l2vpn vpls MayPatents fec-id-type pseudo-wire 10

configure l2vpn vpls MayPatents add service vlan Monitor

configure l2vpn vpls MayPatents add peer 3.3.3.3 core full-mesh

 

configure ospf routerid 5.5.5.5

enable ospf

configure ospf add vlan loopback area 0.0.0.0 passive

configure ospf add vlan MTU2-PE3-P2P area 0.0.0.0 link-type point-to-point

 

 


0 replies

Be the first to reply!

Reply