[Contents] [Prev] [Next] [Index] [Report an Error] [No Frames]


Configuring the Receive Window Size

You can configure the L2TP receive window size (RWS) for an L2TP tunnel. L2TP uses the RWS to implement a sliding window mechanism for the transmission of control messages.

When you configure the RWS, you specify the number of packets that the L2TP peer can transmit without receiving an acknowledgment from the router. If the RWS is not configured, the router determines the RWS and uses this value for all new tunnels on both the LAC and the LNS.

You can configure the L2TP RWS in the following ways:

The following sections describe each of these methods for configuring the RWS.

Configuring the Default RWS

To configure the default RWS setting:

  1. From Global Configuration mode, set the L2TP default RWS. The only value supported for the default RWS is 4.
  2. host1(config)#l2tp tunnel default-receive-window 4
    
    
    

The router uses this RWS value for all new tunnels on both the LAC and the LNS.

  1. (Optional) Use the show l2tp command to verify the default RWS configuration.
  2. host1#show l2tp
    
    Configuration
    
      L2TP administrative state is enabled
    
      Dynamic interface destruct timeout is 600 seconds
    
      Data packet checksums are disabled
    
      Receive data sequencing is not ignored
    
      Tunnel switching is disabled
    
      Retransmission retries for established tunnels is 5
    
      Retransmission retries for not-established tunnels is 5
    
      Tunnel idle timeout is 60 seconds
    
      Failover within a preference level is disabled
    
      Weighted load balancing is disabled
    
      Tunnel authentication challenge is enabled
    
      Calling number avp is enabled
    
      Ignore remote transmit address change is disabled
    
      Disconnect cause avp is disabled
    
      Default receive window size is 4
    
    Sub-interfaces      total      active     failed     auth-errors
    
      Destinations      0          0          0          n/a
    
      Tunnels           0          0          0          0
    
      Sessions          0          0          0          n/a
    
      Switched-sessions 0          0          0          n/a
    

l2tp tunnel default-receive-window

Configuring the RWS on the LAC

To configure the RWS for a tunnel on the LAC:

  1. Access Domain Map Tunnel Configuration mode as described in Mapping a User Domain Name to an L2TP Tunnel. For example:
  2. host1(config)#aaa domain-map fms.com
    
    host1(config-domain-map)#router-name westford
    
    host1(config-domain-map)#tunnel 3
    
    host1(config-domain-map-tunnel)#
    
    
    
  3. From Domain Map Tunnel Configuration mode, set the tunnel RWS. The only value supported for the tunnel RWS is 4, and it must be the same for all users of the same tunnel.
  4. host1(config-domain-map-tunnel)#receive-window 4
    
    
    
  5. (Optional) Use the show aaa domain-map command to verify the RWS configuration.
  6. host1#show aaa domain-map
    
     
    
    Domain: fms.com; router-name: westford; ipv6-router-name: default
    
                                                                     Tunnel
    
    Tunnel   Tunnel   Tunnel   Tunnel   Tunnel    Tunnel    Tunnel   Client
    
     Tag      Peer    Source    Type    Medium   Password     Id      Name
    
    ------   ------   ------   ------   ------   --------   ------   ------
    
    3        <null>   <null>   l2tp     ipv4     <null>     <null>   <null>
    
             Tunnel                 Tunnel
    
    Tunnel   Server     Tunnel       Max      Tunnel
    
     Tag      Name    Preference   Sessions    RWS
    
    ------   ------   ----------   --------   ------
    
    3        <null>   2000         0          4
    

You can also configure the RWS for a tunnel on the LAC by including the Tunnel-Receive-Window-Size RADIUS attribute (VSA 26-54) in RADIUS Access-Accept messages. For more information about RADIUS Access-Accept messages, see Chapter 2, Configuring RADIUS Attributes. For more information about the Tunnel-Receive-Window-Size attribute, see Appendix A, RADIUS Attribute Descriptions.

receive-window

Configuring the RWS on the LNS

To configure the RWS for a tunnel on the LNS:

  1. Access L2TP Destination Profile Host Configuration mode as described in Configuring the LNS. For example:
  2. host1(config)#virtual-router fms02
    
    host1:fms02(config)#l2tp destination profile fms02 ip address 192.168.5.61
    
    host1:fms02(config-l2tp-dest-profile)#remote host fms03
    
    host1:fms02(config-l2tp-dest-profile-host)#
    
    
    
  3. From Destination Profile Host Configuration mode, set the tunnel RWS. The only value supported for the tunnel RWS is 4.
  4. host1:fms02(config-l2tp-dest-profile-host)#receive-window 4
    
    
    
  5. (Optional) Use the show l2tp destination profile command to verify the RWS configuration.
  6. host1:fms02#show l2tp destination profile fms02
    
    L2TP destination profile fms02
    
    Destination address
    
      Transport ipUdp
    
      Virtual router fms02
    
      Peer address 192.168.5.61
    
    Host profile attributes
    
      Remote host is fms03
    
        Receive window size is 4
    
    1 L2TP host profile found
    

receive-window


[Contents] [Prev] [Next] [Index] [Report an Error] [No Frames]