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:
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) orvlan-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.
user@host# edit interfaces ps0 unit1
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:
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:
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.