cc/td/doc/product/software/ios120/120newft/120t
hometocprevnextglossaryfeedbacksearchhelp
PDF

Table of Contents

L2TP Tunnel Preservation of IP TOS

Feature Overview

Supported Platforms

Supported Standards, MIBs, and RFCs

Configuration Tasks

Configuration Examples

Command Reference

L2TP Tunnel Preservation of IP TOS

This document includes the following sections:

Feature Overview

When Layer 2 Tunneling Protocol (L2TP) data packets are created, they have a Type of Service (TOS) field of zero, which indicates normal service. This ignores the TOS field of the encapsulated IP packets that are being tunneled. The L2TP Tunnel Preservation of IP TOS feature preserves quality of service for tunneled packets by copying the IP packets' TOS field onto the L2TP data packets when they are created at the L2TP Network Server's (LNS) virtual-access interface.

Benefits

Restrictions

Related Documents

For more information about Cisco VPDN, see the following documents:

Supported Platforms

Supported Standards, MIBs, and RFCs

MIBs

For descriptions of supported MIBs and how to use MIBs, see the Cisco MIB web site on CCO at http://www.cisco.com/public/sw-center/netmgmt/cmtk/mibs.shtml.

RFCs

L2TP RFC

Standards

None

Configuration Tasks

See the following sections for configuration tasks for the L2TP Tunnel Preservation of IP TOS feature. Each task in the list indicates if the task is optional or required.

Configuring an Accept-Dialin Group to Preserve IP TOS

Step Command Purpose

1 . 

Router(config)#vpdn-group 1

Creates VPDN group 1.

2 . 

Router(config-vpdn)#accept dialin

Enables the LNS to accept dialin requests.

3 . 

Router(config-acc-in)#protocol l2tp

Specifies L2TP as the tunneling protocol.

Note L2TP is the only protocol that supports dialout and IP TOS preservation.

4 . 

Router(config-acc-in)#virtual-template 
template-number

Specifies the number of the virtual template that is used to clone virtual-access interfaces.

5 . 

Router(config-acc-in)#terminate-from hostname 
hostname

Accepts tunnels that have this hostname configured as the hostname or as a localname.

6 . 

Router(config-acc-in)#l2tp ip tos reflect

Preserves the TOS field of the encapsulated IP packets.

Configuring a Request-Dialout Group to Preserve IP TOS

Step Command Purpose

1 . 

Router(config)#vpdn-group 1

Creates VPDN group 1.

2 . 

Router(config-vpdn)#request dialout

Enables the LNS to send L2TP dialout requests.

3 . 

Router(config-req-out)#protocol l2tp

Specifies L2TP as the tunneling protocol.

Note L2TP is the only protocol that supports dialout and IP TOS preservation.

4 . 

dupree(config-vpdn-req-out)#pool-member pool-number

 
or
dupree(config-vpdn-req-out)#rotary-group group-number

Specifies the dialer profile pool that will be used to dial out.

Specifies the dialer rotary group that will be used to dial out.

You can only configure one dialer profile pool or dialer rotary group. Attempting to configure a second dialer resource will remove the first from the configuration.

5 . 

dupree(config-vpdn-req-out)#exit

dupree(config-vpdn)#initiate-to ip ip-address [limit 
limit-number] [priority priority-number]

Specifies the IP address that will be dialed out. Optionally, you can configure a maximum number of connections that this VPDN group will support and the priority of this VPDN group.

6 . 

dupree(config-vpdn)#local name hostname

Specifies that the L2TP tunnel will identify itself with this hostname.

7 . 

dupree(config-vpdn)#l2tp ip tos reflect

Preserves the TOS field of the encapsulated IP packets.

Configuration Examples

This section provides the following configuration examples:

LNS Configured for L2TP Dial-in Tunnel Preservation of IP TOS

vpdn-group 1
 accept-dialin 
  protocol l2tp 
  virtual-template 1
 terminate-from hostname althea
 local name bertha
 l2tp ip tos reflect

LNS Configured for L2TP Dialout Tunnel Preservation of IP TOS

vpdn-group 1
 request-dialout
  protocol l2tp
  pool-member 1
 initiate-to ip 172.29.49.94
 l2tp ip tos reflect

Command Reference

This section documents new or modified commands. All other commands used with this feature are documented in the Cisco IOS Release 12.0 command reference publications.

l2tp ip tos reflect

To configure a VPDN group to preserve the TOS field of L2TP-tunneled IP packets, use the l2tp ip tos reflect VPDN group command. To specify a TOS field of zero for tunneled packets, use the no form of this command.

l2tp ip tos reflect

no l2tp ip tos reflect

Syntax Description

This command has no keywords nor arguments.

Defaults

Disabled

Command Modes

VPDN group mode

Command History

Release Modification

12.0(5)T

This command was introduced.

Usage Guidelines

The l2tp ip tos reflect command can only be configured on LNS VPDN groups (VPDN groups that are configured to accept dial-in and/or request dialout sessions).

Examples

The following example shows an LNS configured to preserve IP TOS for L2TP dial-in sessions:

vpdn-group 1
 accept-dialin 
  protocol l2tp 
  virtual-template 1
 terminate-from hostname althea
 local name bertha
 l2tp ip tos reflect
 

The following examples shows an LNS configured to preserve IP TOS for L2TP dialout sessions:

vpdn-group 1
 request-dialout
  protocol l2tp
  pool-member 1
 initiate-to ip 172.29.49.94
 l2tp ip tos reflect

Related Commands

Command Description

request dialin

Enables a LAC to request either L2F or L2TP tunnels for dial-in.

request dialout

Enables an LNS to request L2TP tunnels for dialout calls.


hometocprevnextglossaryfeedbacksearchhelp
Posted: Mon Oct 4 11:08:36 PDT 1999
Copyright 1989-1999©Cisco Systems Inc.