Cisco 3825 Software Configuration Guide - Page 179
ip tos l2tp
UPC - 746320981505
View all Cisco 3825 manuals
Add to My Manuals
Save this manual to your list of manuals |
Page 179 highlights
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 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. 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 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. 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 OL-15667-03 Cisco 3825 Mobile Wireless Edge Router Software Configuration Guide A-47