Enabling TOS Reflection in the L2TPv3 Header: Example
For L2TPv3 over IPv6 tunnels, configurations are supported for each pseudowire class to enable type of
service (TOS) reflection, or to set a specific TOS value in the L2TPv3 header.
By default, the TOS is copied over from the class of service (COS) fields of the VLAN header. If the underlying
packet is not an IPv4 or IPv6 packet, the COS fields are copied from the VLAN header, even if a TOS reflection
is configured.
Note
This example shows how to configure a TOS reflection in the L2TPv3 header:
l2vpn
pw-class ts
encapsulation l2tpv3
protocol l2tpv3
tos reflect
This example shows how to set a TOS value in the L2TPv3 header:
l2vpn
pw-class ts
encapsulation l2tpv3
protocol l2tpv3
tos value 64
Configuring TTL for L2TPv3 over IPv6 Tunnels: Example
For L2TPv3 over IPv6 tunnels, TTL configuration is supported in the pseudowire class.
l2vpn
pw-class ts
encapsulation l2tpv3
protocol l2tpv3
ttl <1-255>
Configuring Traffic Mirroring over L2TPv3 over IPv6 Tunnels: Example
This example associates an EFP to a monitor-session:
interface GigabitEthernet0/0/0/4.2 l2transport
monitor-session customer-foo
Layer 2 SPAN is supported on L3 interfaces; however, the Layer 2 frame is mirrored:
interface GigabitEthernet0/0/0/4.2
ipv6 address <>
monitor-session customer-foo
SPAN is also supported on main interfaces.
interface GigabitEthernet0/4/0/3
l2transport
monitor-session customer-foo
This example creates the monitor-session globally:
monitor-session customer-foo
destination pseudowire
This example creates a cross-connect between the monitor-session and a L2TPv3 over IPv6 tunnel:
L2VPN and Ethernet Services Configuration Guide for Cisco ASR 9000 Series Routers, IOS XR Release 6.3.x
196
Implementing Point to Point Layer 2 Services
Enabling TOS Reflection in the L2TPv3 Header: Example