Ip tos (l2tp) – Cisco 3825 User Manual

Page 179

Advertising
background image

A-47

Cisco 3825 Mobile Wireless Edge Router Software Configuration Guide

OL-15667-03

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

ip tos (l2tp)

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.

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
Layer 2 tunneled packets or to have the ToS value reflected from the IP header of the encapsulated
packet.

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.

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

value value

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.

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.3(2)T

This command was integrated into Cisco IOS Release 12.3(2)T.

12.4(12)MR2

This command was integrated into Cisco IOS Release 12.4(12)MR2.

Advertising