Ip Tos (L2Tp) - Cisco 3825 Software Configuration Manual

Mobile wireless edge router
Table of Contents

Advertisement

Appendix A
Cisco 3825 Mobile Wireless Edge Router RAN-O Command Reference

ip tos (l2tp)

To configure the Type of Service (ToS) byte in the header of Layer 2 tunneled packets, use the ip tos
command in the pseudowire-class configuration mode. To disable a configured ToS value or IP ToS
reflection, use the no form of this command.
Syntax Description
value value
reflect
Defaults
The default ToS value is 0.
Command Modes
Pseudowire-class configuration
Command History
Release
12.0(23)S
12.3(2)T
12.4(12)MR2
Usage Guidelines
The ip tos command allows you to manually configure the value of the ToS byte used in the headers of
Layer 2 tunneled packets or to have the ToS value reflected from the IP header of the encapsulated
packet.
IP ToS byte reflection functions only if traffic in an L2TPv3 session carries IP packets as its payload.
Note
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.
Examples
In the following example, the ToS byte in the headers of tunneled packets in Layer 2 tunnels created from
the pseudowire-class named "l2tp" is set as 5:
Router# config t
Router(config)# pseudowire-class l2tp
Router(config-pw-class)# ip tos 5
OL-15667-03
ip tos {value value | reflect}
no tos {value value | reflect}
Sets the value of the ToS byte for IP packets in a L2TPv3 session. Valid
values range from 0 to 255. The default value is 0.
Sets the value of the ToS byte for IP packets in an L2TPv3 session to be
reflected from the inner IP header.
Modification
This command was introduced.
This command was integrated into Cisco IOS Release 12.3(2)T.
This command was integrated into Cisco IOS Release 12.4(12)MR2.
Cisco 3825 Mobile Wireless Edge Router Software Configuration Guide
ip tos (l2tp)
A-47

Hide quick links:

Advertisement

Table of Contents
loading

Table of Contents