Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?

header-navigation
keyboard_arrow_up
close
keyboard_arrow_left
list Table of Contents
file_download PDF
{ "lLangCode": "en", "lName": "English", "lCountryCode": "us", "transcode": "en_US" }
English
keyboard_arrow_right

Configuring MAC Pinning for All Pseudowires of the VPLS Site in a BGP-Based VPLS Routing Instance

date_range 23-Nov-23

A MAC move occurs when a MAC address frequently appears on a different physical interface than the one it was learned on. Frequent MAC moves indicate the presence of loops. To avoid loops across interfaces in virtual private LAN services (VPLS), you can configure MAC pinning.

This topic describes how to configure MAC pinning for all pseudowires of the VPLS site in a BGP-based VPLS routing instance.

To configure MAC pinning for all pseudowires in a BGP-based VPLS Routing instance:

  1. Configure the interface as a trunk interface and specify the list of VLAN IDs.
    content_copy zoom_out_map
    [edit interfaces]
    user@host# set interfacetype-fpc/pic/port flexible-vlan-tagging
    user@host# set interfacetype-fpc/pic/port encapsulation flexible-ethernet-services
    user@host# set interfacetype-fpc/pic/port unit logical-unit-number encapsulation vlan-vpls;
    user@host# set interfacetype-fpc/pic/port unit logical-unit-number  family bridge interface-mode trunk
    user@host# set interfacetype-fpc/pic/port unit logical-unit-number  family bridge vlan-id-list vlan-id-numbers
    
  2. Configure the VPLS routing instance and specify the trunk interface.
    content_copy zoom_out_map
    [edit routing-instances]
    user@host# set routing-instance-name instance-type vpls;
    user@host# set routing-instance-name interface interfacetype-fpc/pic/port
    
  3. Configure MAC pinning after specifying the routing protocol and the trunk interface.
    content_copy zoom_out_map
    [edit routing-instances]
    user@host# set routing-instance-name protocols vpls interface interfacetype-fpc/pic/port 
    user@host# set routing-instance-name protocols vpls site site-name mac-pinning
    
  4. In configuration mode, verify the configuration.
    content_copy zoom_out_map
    user@host# show interfaces
    interfaces { 
        interfacetype-fpc/pic/port { 
            flexible-vlan-tagging;
            encapsulation flexible-ethernet-services; 
            unit logical-unit-number  {
                encapsulation vlan-vpls;
                family bridge {
                    interface-mode trunk ;
                    vlan-id-list vlan-id-numbers;
                    }
                }
            }
        }
        user@host# show routing-instances
            routing-instances{ 
        routing-instance-name  {
            instance-type vpls;
            interface interfacetype-fpc/pic/port;
        protocols{ 
            vpls {
            interface interfacetype-fpc/pic/port;
                site site-name  {
                    mac-pinning;
                }
            }
        }
    }
    }
    }
    
footer-navigation