Configuring Pseudowire Termination
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:
- Specify that you want to configure the pseudowire logical
interface device.user@host# edit interfaces ps0
- 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.
[edit interfaces ps0]user@host# set anchor-point lt-1/0/10 - (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.
[edit interfaces ps0]user@host# set mac 00:00:5E:00:53:55 - (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. [edit interfaces ps0]user@host# set flexible-vlan-tagging
See Enabling VLAN Tagging for additional information about VLAN tagging.
To configure the logical interface:
- Specify that you want to configure the pseudowire logical
interface.user@host# edit interfaces ps0
- Specify that you want to configure unit 0 , which represents
the transport logical interface. [edit interfaces ps0]user@host# edit unit 0
- Specify either the encapsulation method for the transport
logical interface. You can specify either ethernet-ccc (port-based)
or vlan-ccc (vlan-based) encapsulation.[edit interfaces ps0 unit 0]user@host# set encapsulation ethernet-ccc
To configure the service logical interface:
- Configure the unit for the service logical interface. Use a non-zero unit number.
- Configure the encapsulation on the service interface.[edit interfaces ps0 unit 1]user@host# set encapsulation vlan-bridge;
- (Optional) Configure the VLAN IDs.[edit interfaces ps0 unit 1]user@host# set vlan-id vlan-id;
- (Optional) Configure the VLAN tag IDs to support dual-tagged
VLANs.[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:
The following is a sample configuration for an EVPN routing instance that corresponds to a service logical interface:
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.