Create a VPWS service between CE9 and CE8. Use a pseudowire template that enables the CW and enables sequencing. Apply this template to an explicit PW interface.
Answer
#R4
template type pseudowire CE9_CE8
encapsulation mpls
sequencing both
control-word include
!
interface pseudowire89
source template type pseudowire CE9_CE8
encapsulation mpls
neighbor 6.6.6.6 89
!
int gi6
no ip address
service instance 1 eth
encapsulation default
exit
!
l2vpn xconnect context CE9_CE8
member pseudowire89
member gi6 service-instance 1
#R6
template type pseudowire CE9_CE8
encapsulation mpls
sequencing both
control-word include
!
interface pseudowire89
source template type pseudowire CE9_CE8
encapsulation mpls
neighbor 4.4.4.4 89
!
int gi6
no ip address
service instance 1 eth
encapsulation default
exit
!
l2vpn xconnect context CE9_CE8
member pseudowire89
member gi6 service-instance 1
Explanation
There are several ways to configure an xconnect (VPWS) on IOS-XE with custom options such as CW and sequencing.
One way is to configure the options under a pw-class. This is the older style and doesn’t have as many options as the newer pseudowire template style. The pw-class can be applied to an xconnect directly under the interface.
pseudowire-class name
!
int Gi1
service-instance 1 eth
encapsulation default
xconnect 1.1.1.1 vcid pw-class name
The new style is to use a pseudowire template. This is applied to the neighbor under the l2vpn xconnect context.
template type pseudowire name
!
l2vpn xconnect context name
member Gi1 service-instance 1 eth
member 1.1.1.1 vcid template name
Additionally, the template can be applied to an explicit PW interface, as we did in this lab:
template type pseudowire CE9_CE8
encapsulation mpls
sequencing both
control-word include
!
interface pseudowire89
source template type pseudowire CE9_CE8
neighbor 1.1.1.1 vcid
Verification
Verification is the same in general as a normal VPWS service, however we should also verify that sequencing is enabled.
See the “VPWS with Sequencing” lab for more details on VPWS sequencing.