Switching

Expand all | Collapse all

BGP VPLS Encapsultation mismatch

Jump to Best Answer
  • 1.  BGP VPLS Encapsultation mismatch

    Posted 01-15-2019 09:50

    Hi Community,

     

    I need deployment a BGP VPLS connection with a Huawei device but I have an error about encapsulation mismatch like describe the next output:

     

    Instance: VS-VPLS-KOMPELLA
    Edge protection: Not-Primary
    Local site: CE-A (3)
    connection-site Type St Time last up # Up trans
    1 rmt EM

     

    root@JUNIPER-POC-E01> ...-path | match "entry|encap|entries"
    1:77753851:1:1/96 (2 entries, 1 announced)
    Communities: target:3851:3851 Layer2-info: encaps: VLAN, control flags:[0x0] , mtu: 1500
    1:77753851:3:1/96 (1 entry, 1 announced)
    Page 0 idx 0, (group GR-IBGP type Internal) Type 1 val 0x42291d8 (adv_entry)
    Communities: target:3851:3851 Layer2-info: encaps: VPLS, control flags:[0x40] Automatic-Site, mtu: 0, site preference: 100
    Communities: Layer2-info: encaps: VPLS, control flags:[0x40] Automatic-Site, mtu: 0, site preference: 100

     

    Why i cant change the VPLS encapsultation a VLAN o ETHERNET on BGP Deployments?

     

    root@JUNIPER-POC-E01# commit check
    re0:
    [edit routing-instances VS-VPLS-KOMPELLA protocols vpls encapsulation-type]
    'encapsulation-type ethernet-vlan'
    Encapsulation type not valid for BGP vpls
    error: configuration check-out failed

     

    Please let me know your comments, additionally if you know ther are trick for interoperatibility about this deployment.

     

    Thanks in advace

     

     

     

     

     

     

     



  • 2.  RE: BGP VPLS Encapsultation mismatch
    Best Answer

    Posted 01-16-2019 02:37

    Hello,

     


    @Martin_m2n wrote:

     

     Why i cant change the VPLS encapsultation a VLAN o ETHERNET on BGP Deployments?

      


     

    Because RFC 4761 section 3.2.4 https://tools.ietf.org/html/rfc4761#section-3.2.4 says You cannot

     

     The Encaps Type for VPLS is 19.

     

    The values are allocated by IANA https://www.iana.org/assignments/bgp-parameters/bgp-parameters.xhtml#bgp-l2-encapsulation-types-registry

     

    Therefore, it is not standards-compliant to use any other encaps type value for BGP VPLS. Please go to Huawei box and make sure it is sending a standards-compliant Encaps Type value in Layer2-info community.

     

    HTH

    Thx
    Alex

     



  • 3.  RE: BGP VPLS Encapsultation mismatch

    Posted 01-16-2019 09:23

    Great explanation and very clear,

     

    Thanks for you support

     

    BR

     

    Martin