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
EVPN User Guide
Table of Contents Expand all
list Table of Contents
file_download PDF
{ "lLangCode": "en", "lName": "English", "lCountryCode": "us", "transcode": "en_US" }
English
keyboard_arrow_right

Configuring Pseudowire Termination

date_range 20-Dec-24

To configure a pseudowire logical interface on the PE device, perform these tasks:

  • Configure a logical interface.

  • Configure the transport logical interface

  • Configure the service logical interface.

  • Configure the EVPN routing instance to support the incoming VLAN services.

To configure the logical interface:

  1. Specify that you want to configure the pseudowire logical interface device.
    content_copy zoom_out_map
    user@host# edit interfaces ps0
    
  2. Specify the logical tunnel interface that is the anchor point for the pseudowire logical interface device. In this case, the logical tunnel interface and anchor point is in the format lt-fpc/pic/port.
    Note:

    Tunnel services must be enabled in order to create the lt interface that is the anchor point or a member link in a redundant logical tunnel. You use the command, set chassis fpc slot-number pic pic-number tunnel-services bandwidth bandwidth to enable tunnel services.

    content_copy zoom_out_map
    [edit interfaces ps0]
    user@host# set anchor-point lt-1/0/10
    
  3. (Optional) Specify the MAC address for the pseudowire logical interface device.
    Note:

    You should ensure that you change the MAC address prior to passing traffic or binding subscribers on the pseudowire port. Changing the MAC address when the pseudowire port is active (for example, while an upper layer protocol is negotiating) can negatively impact network performance until adjacencies learn of the new MAC address.

    content_copy zoom_out_map
    [edit interfaces ps0]
    user@host# set mac 00:00:5E:00:53:55
    
  4. (Optional) Specify the VLAN tagging method used for the pseudowire logical interface device. You can specify single tagging, dual (stacked) tagging, mixed (flexible) tagging, or no tagging.
    content_copy zoom_out_map
    [edit interfaces ps0]
    user@host# set flexible-vlan-tagging
    

    See Enabling VLAN Tagging for additional information about VLAN tagging.

To configure the logical interface:

  1. Specify that you want to configure the pseudowire logical interface.

    content_copy zoom_out_map
    user@host# edit interfaces ps0
    
  2. Specify that you want to configure unit 0 , which represents the transport logical interface.

    content_copy zoom_out_map
    [edit interfaces ps0]
    user@host# edit unit 0
    
  3. Specify either the encapsulation method for the transport logical interface. You can specify either ethernet-ccc (port-based) or vlan-ccc (vlan-based) encapsulation.

    content_copy zoom_out_map
    [edit interfaces ps0 unit 0]
    user@host# set encapsulation ethernet-ccc
    

To configure the service logical interface:

  1. Configure the unit for the service logical interface. Use a non-zero unit number.

    content_copy zoom_out_map
    user@host# edit interfaces ps0 unit1
    
  2. Configure the encapsulation on the service interface.

    content_copy zoom_out_map
    [edit interfaces ps0 unit 1]
    user@host# set encapsulation vlan-bridge;
    
  3. (Optional) Configure the VLAN IDs.

    content_copy zoom_out_map
    [edit interfaces ps0 unit 1]
    user@host# set vlan-id vlan-id;
    
  4. (Optional) Configure the VLAN tag IDs to support dual-tagged VLANs.

    content_copy zoom_out_map
    [edit interfaces ps0 unit 1]
    set vlan-tags inner vlan-id outer vlan-id;
    

The following is a sample configuration for a logical interface with services supporting single-tag and dual-tag VLANs and the L2 circuit associated with the interface:

content_copy zoom_out_map
ps0 {
    anchor-point {
        lt-0/0/0;
    }
    flexible-vlan-tagging;
    mac 00:00:5E:00:53:00;
    unit 0 {
        encapsulation ethernet-ccc;
    }
    unit 1 {
        encapsulation vlan-bridge;
        vlan-id 600;
    }
    unit 2 {
        encapsulation vlan-bridge;
        vlan-tag outer 200 inner 101;
    }
}
protocols {
    l2circuit {
        neighbor 192.168.100.1 {
            interface ps0.0 {
                 virtual-circuit-id 700;
                encapsulation-type ethernet-vlan;
                ignore-mtu-mismatch; 
                pseudowire-status-tlv;
            }
        }
    }
}

The following is a sample configuration for an EVPN routing instance that corresponds to a service logical interface:

content_copy zoom_out_map
routing-instances evpn-1 {
    instance-type evpn;
    vlan-id 600;
    interface ps0.1;
    route-distanguisher 3;3;
    vrf-target target:1:1;
    protocols {
        evpn;
    }
}

For more information on configuring logical interface termination, see Pseudowire Subscriber Logical Interfaces Overview.

For more information on configuring EVPN routing instances, see Configuring EVPN Routing Instances.

footer-navigation