Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?

Announcement: Try the Ask AI chatbot for answers to your technical questions about Juniper products and solutions.

close
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 on All Pseudowires of a Specific Neighbor of LDP-Based VPLS Routing Instance for Logical Systems

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 on all pseudowires of a specific neighbor of an LDP-based VPLS routing instance for logical systems.

To configure MAC pinning on all pseudowires of a specific neighbor in a VPLS routing instance with LDP signaling for logical systems:

  1. Configure the interfaces by specifying the encapsulation.
    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
    
  2. Create the logical system interface by specifying the name of the logical system and specifying the trunk interface on the logical unit.
    content_copy zoom_out_map
    [edit]
    user@host# set logical-systems logical-system-name interfaces interfacetype-fpc/pic/port unit logical-unit-number encapsulation vlan-vpls family bridge interface-mode trunk vlan-id-list vlan-id-numbers
    
  3. Configure the VPLS routing instance and specify the 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
    
  4. Configure the routing protocol and specify the trunk interface and the VPLS identifier.
    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 vpls-id vpls-id
    
  5. Configure MAC pinning after specifying the neighbor ID.
    content_copy zoom_out_map
    user@host# set routing-instance-name protocols vpls neighbor neighbor-id mac-pinning
    
  6. 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;
        }
    }
    content_copy zoom_out_map
    user@host# show logical-systems
    logical-systems {
        logical-system-name {
            interfaces {
                interfacetype-fpc/pic/port {
                    unit logical-unit-number  {
                        encapsulation vlan-vpls;
                        family bridge {
                            interface-mode trunk;
                            vlan-id-list vlan-id-numbers;
                        }
                    }
                }
            }
    content_copy zoom_out_map
    user@host# show routing-instance
    routing-instances{ 
    routing-instance-name  {
        instance-type vpls;
        interface interfacetype-fpc/pic/port;
    protocols{ 
        vpls {
            interface interfacetype-fpc/pic/port;
        vpls-id vpls-id;
            neighbor neighbor-id {
                mac-pinning;
            }
        }
    }
    }
    
footer-navigation