cancel
Showing results for 
Search instead for 
Did you mean: 
cancel

Who Me Too'd this topic

VPLS VFI not coming up

renato.efrati
Level 1
Level 1

hi all, i need some advice in configuring vpls, i've the following scenario:

 

ME3600X = ASR9K = ME3600X

    PE               P/PE          PE

 

with following config:

 

ASR9K:

 

!

interface Bundle-Ether100

 mtu 9026

 ipv4 address 10.10.30.1 255.255.255.252

!

interface Bundle-Ether200

 mtu 9026

 ipv4 address 10.10.30.5 255.255.255.252

!

interface Loopback0

 ipv4 address 10.10.1.1 255.255.255.255

!

interface MgmtEth0/RSP0/CPU0/0

 ipv4 address 10.37.0.221 255.255.255.0

!

interface MgmtEth0/RSP0/CPU0/1

 shutdown

!

interface TenGigE0/0/0/0

 bundle id 100 mode active

 cdp

!

interface TenGigE0/0/0/1

 bundle id 100 mode active

 cdp

!

interface TenGigE0/0/0/2

 bundle id 200 mode active

 cdp

!

interface TenGigE0/0/0/3

 bundle id 200 mode active

 cdp

!

 

!

router ospf 1

 area 0

  interface Bundle-Ether100

   priority 255

  !

  interface Bundle-Ether200

   priority 255

  !

  interface Loopback0

  !

 !

!

router bgp 65001

 bgp router-id 10.10.1.1

 address-family ipv4 unicast

 !

 address-family l2vpn vpls-vpws

 !

 neighbor 10.10.1.2

  remote-as 65001

  description *** PE1 ***

  update-source Loopback0

  address-family ipv4 unicast

   route-reflector-client

  !

  address-family l2vpn vpls-vpws

   route-reflector-client

  !

 !

 neighbor 10.10.1.3

  remote-as 65001

  description *** PE2 ***

  update-source Loopback0

  address-family ipv4 unicast

   route-reflector-client

  !

  address-family l2vpn vpls-vpws

   route-reflector-client

  !

 !

!

 !

!

l2vpn

 pw-class vpls

  encapsulation mpls

   control-word

   transport-mode ethernet

  !

  mac-withdraw

 !

 bridge group TESTBG

  bridge-domain TESTBD

   vfi VPLS_TEST

    vpn-id 100

    autodiscovery bgp

     rd 65001:100

     route-target 65001:100

     signaling-protocol ldp

     !

    !

   !

  !

 !

!

mpls ldp

 router-id 10.10.1.1

 interface TenGigE0/0/0/0

 !

 interface TenGigE0/0/0/1

 !

 interface TenGigE0/0/0/2

 !

 interface TenGigE0/0/0/3

 !

 interface Bundle-Ether100

 !

 interface Bundle-Ether200

 !

!

end

 

 

ME3600X PE1:

 

 

 

version 15.5

no service pad

service timestamps debug datetime msec

service timestamps log datetime msec

platform bfd allow-svi

!

hostname PE1

!

!

!

no aaa new-model

clock timezone CET 1 0

clock summer-time CEST recurring last Sun Mar 2:00 last Sun Oct 2:00

ip routing

!

!

!

!         

no ip domain lookup

 

!

!

!

!

!

!

!

mpls label range 16000 21999

mpls label protocol ldp

l2vpn

 logging pseudowire status

 router-id 10.10.1.2

!

l2vpn vfi context TEST 

 vpn id 100

 autodiscovery bgp signaling ldp 

  vpls-id 65001:100

  rd 65001:100

  route-target export 65001:100

  route-target import 65001:100

!         

!

 

!

spanning-tree mode rapid-pvst

spanning-tree extend system-id

license udi pid ME-3600X-24TS-M sn XXXXXXXXX

diagnostic bootup level minimal

bridge-domain 100 

 member GigabitEthernet0/1 service-instance 10

 member vfi TEST

!

!

!

!

!

!

transceiver type all

 monitoring

vlan internal allocation policy ascending

!

vlan 100 

!

pseudowire-class atom

 encapsulation mpls

!

!

!

!

interface Loopback0

 ip address 10.10.1.2 255.255.255.255

!

interface Port-channel1

 no switchport

 mtu 9012

 ip address 10.10.30.2 255.255.255.252

 ip ospf priority 0

 mpls ip

 mpls label protocol ldp

!

interface GigabitEthernet0

 no ip address

 shutdown

 speed auto

 duplex auto

 negotiation auto

!

interface GigabitEthernet0/1

 description *** Link to CE1 ***

 switchport trunk allowed vlan none

 switchport mode trunk

 service instance 10 ethernet

  encapsulation untagged

  l2protocol forward

 !

!

 

!

interface TenGigabitEthernet0/1

 no switchport

 mtu 9012

 no ip address

 mpls ip

 mpls label protocol ldp

 channel-group 1 mode active

!         

interface TenGigabitEthernet0/2

 no switchport

 mtu 9012

 no ip address

 mpls ip

 mpls label protocol ldp

 channel-group 1 mode active

!

interface Vlan1

 no ip address

 shutdown

!

router ospf 1

 network 10.10.1.2 0.0.0.0 area 0

 network 10.10.30.2 0.0.0.0 area 0

!

router bgp 65001

 bgp router-id 10.10.1.2

 bgp log-neighbor-changes

 no bgp default ipv4-unicast

 neighbor 10.10.1.1 remote-as 65001

 neighbor 10.10.1.1 update-source Loopback0

 !        

 address-family ipv4

  neighbor 10.10.1.1 activate

 exit-address-family

 !

 address-family l2vpn vpls

  neighbor 10.10.1.1 activate

  neighbor 10.10.1.1 send-community both

  neighbor 10.10.1.1 prefix-length-size 2

 exit-address-family

!

 

!

ip forward-protocol nd

!

no ip http server

no ip http secure-server

!

!

mpls ldp router-id Loopback0

!

!

control-plane

!

!

line con 0

line vty 0 4

 login

line vty 5 15

 login

!

exception crashinfo file flash:crashinfo

ntp server 10.10.1.1

!

end

 

 

ME3600X PE2:

 

 

 

 

version 15.4

no service pad

service timestamps debug datetime msec

service timestamps log datetime msec

platform bfd allow-svi

!

hostname PE2

!

!

!

no aaa new-model

clock timezone CET 1 0

clock summer-time CEST recurring last Sun Mar 2:00 last Sun Oct 2:00

ip routing

!

!

!

!         

no ip domain lookup

 

!

!

!

!

!

!

!

mpls label protocol ldp

l2vpn

 logging pseudowire status

 router-id 10.10.1.3

!

l2vpn vfi context TEST 

 vpn id 100

 autodiscovery bgp signaling ldp 

  vpls-id 65001:100

  rd 65001:100

  route-target export 65001:100

  route-target import 65001:100

!

!         

!

!

spanning-tree mode rapid-pvst

spanning-tree extend system-id

license udi pid ME-3600X-24TS-M sn XXXXXXXX

diagnostic bootup level minimal

bridge-domain 100 

 member GigabitEthernet0/1 service-instance 10

 member vfi TEST

!

!

!

!

!

!

transceiver type all

 monitoring

vlan internal allocation policy ascending

!

vlan 100 

!

pseudowire-class mpls

 encapsulation mpls

!

!

!

!

!

!

!

!

!

interface Loopback0

 ip address 10.10.1.3 255.255.255.255

!

interface Port-channel1

 description *** Link to ASR9K ***

 no switchport

 mtu 9012

 ip address 10.10.30.6 255.255.255.252

 ip ospf priority 0

 mpls ip

 mpls label protocol ldp

!

interface GigabitEthernet0

 no ip address

 shutdown

 speed auto

 duplex auto

 negotiation auto

!

interface GigabitEthernet0/1

 description *** Link to CE2 ***

 switchport trunk allowed vlan none

 switchport mode trunk

 service instance 10 ethernet

  encapsulation default

  l2protocol forward

 !

!

interface GigabitEthernet0/2

 switchport trunk allowed vlan none

 switchport mode trunk

 service instance 20 ethernet

  encapsulation untagged

 !

!

!

interface TenGigabitEthernet0/1

 no switchport

 mtu 9012 

 no ip address

 mpls ip

 mpls label protocol ldp

 channel-group 1 mode active

!

interface TenGigabitEthernet0/2

 no switchport

 mtu 9012

 no ip address

 mpls ip

 mpls label protocol ldp

 channel-group 1 mode active

!

interface Vlan1

 no ip address

 shutdown

!

router ospf 1

 router-id 10.10.1.3

 network 10.10.1.3 0.0.0.0 area 0

 network 10.10.30.6 0.0.0.0 area 0

!

router bgp 65001

 bgp router-id 10.10.1.3

 bgp log-neighbor-changes

 no bgp default ipv4-unicast

 neighbor 10.10.1.1 remote-as 65001

 neighbor 10.10.1.1 update-source Loopback0

 !

 address-family ipv4

  neighbor 10.10.1.1 activate

 exit-address-family

 !

 address-family l2vpn vpls

  neighbor 10.10.1.1 activate

  neighbor 10.10.1.1 send-community both

  neighbor 10.10.1.1 prefix-length-size 2

 exit-address-family

!

ip forward-protocol nd

!

no ip http server

no ip http secure-server

!

!

mpls ldp router-id Loopback0

!

!

control-plane

!

!

line con 0

line vty 0 4

 login

line vty 5 15

 login

!

exception crashinfo file flash:crashinfo

ntp server 10.10.1.1

!

end

Who Me Too'd this topic