Manual
Layer 2 Tunnel Protocol Version 3
ip tos
105
Cisco IOS Releases 12.0(29)S and 12.2(25)S
ip tos
To configure the Type of Service (ToS) byte in the header of Layer 2 Tunnel Protocol Version 3 (L2TPv3)
tunneled packets, use the ip tos command in pseudowire class configuration mode. To disable a
configured ToS value or IP ToS reflection, use the no form of this command.
ip tos {value value | reflect}
no tos {value value | reflect}
Syntax Description
Defaults The default ToS value is 0.
Command Modes Pseudowire class configuration
Command History
Usage Guidelines The ip tos command allows you to manually configure the value of the ToS byte used in the headers of
L2TPv3 tunneled packets or to have the ToS value reflected from the IP header of the encapsulated
packet.
Note The reflect option is not supported on the Cisco 10720 and Cisco 12000 series Internet routers.
Note IP ToS byte reflection functions only if traffic in an L2TPv3 session carries IP packets as its payload.
In addition, you can configure both IP ToS reflection and a ToS priority level (from 0 to 255) for a
pseudowire class. In this case, the ToS value in the tunnel header defaults to the value you specify with
the ip tos value value command. IP packets received on the Layer 2 interface and encapsulated into the
L2TPv3 session have their ToS byte reflected into the outer IP session, overriding the default value
configured with the ip tos value value command.
value value Sets the value of the ToS byte for IP packets in an L2TPv3 session. Valid
values range from 0 to 255. The default value is 0.
reflect Sets the value of the ToS byte for IP packets in an L2TPv3 session to be
reflected from the inner IP header.
Release Modification
12.0(23)S This command was introduced.
12.2(25)S This command was integrated into Cisco IOS Release 12.2(25)S.