Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?

 

l2tp-maximum-session (Service Interfaces)

 

Syntax

Hierarchy Level

Release Information

Statement introduced in Junos OS Release 16.2.

Description

Specify the maximum number of L2TP sessions allowed on a physical service interface (si) or aggregated service interface (asi).

New session requests on an interface are accepted only when the session count is less than the maximum session limit. If the limit has been reached, subsequent requests are dropped and the LNS responds with a CDN message (Result Code 2, Error Code 4). When a pool of interfaces is configured, interfaces at the maximum limit are ignored in favor of an interface in the pool that has a lower session count. For an asi interface, the configuration applies only to the asi interface. You cannot configure a session limit on the individual member interfaces of an asi bundle.

Configuring the session limit to be less than the current number of sessions on the interface has no effect on existing sessions, but prevents any new sessions from being created until the number of session drops below the new limit.

Options

numberMaximum number of L2TP sessions allowed for the interface. A value of 0 prevents the interface from being considered.

Default: 64,000

Range: 0 through 64,000

Required Privilege Level

interface—To view this statement in the configuration.

interface-control—To add this statement to the configuration.