l2tp (Profile)
Syntax
l2tp { interface-id interface-id; lcp-renegotiation; local-chap; maximum-sessions number; maximum-sessions-per-tunnel number; multilink { drop-timeout milliseconds; fragment-threshold bytes; } override-result-code session-out-of-resource; ppp-authentication (chap | pap); ppp-profile profile-name; sessions-limit-group; service-profile profile-name(parameter)&profile-name; shared-secret shared-secret; }
Hierarchy Level
[edit access profile profile-name client client-name]
Description
Configure the L2TP properties for a profile.
Only the interface-id
, lcp-renegotiation
, maximum-sessions
, maximum-sessions-per-tunnel
, sessions-limit-group
and shared-secret
statements
are supported for L2TP LNS on MX Series routers.
Options
interface-id | Configure the interface identifier.
|
lcp-renegotiation | Configure the L2TP network server (LNS) so it renegotiates the link control protocol (LCP) with the PPP client. When LCP renegotiation is disabled, LNS uses the pre-negotiated LCP parameters between the L2TP access concentrator (LAC) and PPP client to set up the session. When LCP renegotiation is enabled, authentication is also renegotiated. Note:
This statement is not supported at the |
local-chap | Configure the Junos OS so that the LNS ignores proxy authentication attribute-value pairs (AVPs) from the L2TP access concentrator (LAC) and reauthenticates the PPP client using a Challenge Handshake Authentication Protocol (CHAP) challenge. When you do this, the LNS directly authenticates the PPP client. Note:
This statement is not supported for L2TP LNS on MX Series routers. |
maximum-sessions | Specify the maximum number of L2TP sessions for the chassis, all tunnels, a tunnel group, a session limit group, or a client.
|
maximum-sessions-per-tunnel | Configure the maximum sessions for a Layer 2 tunnel. Note:
This statement is not supported at the
|
multilink | Configure Multilink PPP for Layer 2 Tunneling Protocol (L2TP). The options for this statement are explained separately. Click the linked statement for details. |
override-result-code | Configure the LNS to override result codes in Call-Disconnect-Notify (CDN) messages.
|
ppp-authentication | (T Series only) Configure PPP authentication. Note:
This statement is not supported for L2TP LNS on MX Series routers.
|
ppp-profile | (M Series, T Series only) Specify the profile used to validate PPP session requests through L2TP tunnels. Note:
This statement is not supported for L2TP LNS on MX Series routers.
|
sessions-limit-group | (MX Series only) Starting in Junos OS Release 16.1, specify in an L2TP access profile the session limit group to which a client is assigned by the profile.
|
service-profile | Configure one or more dynamic service profiles to be applied to subscriber sessions at activation for all subscribers in the specified tunnel group or on the specified LAC. Services are typically applied to L2TP sessions with RADIUS VSAs or CoA requests. In multivendor environments, you might use only standard attributes to simplify management of multiple vendor VSAs. This statement enables you to apply services without using an external authority such as RADIUS. The locally configured list of services (service profiles) serves as local authorization that is applied by authd during client session activation. This list of services is subject to the same validation and processing as services originating from an external authority, such as RADIUS. You can optionally specify parameters that are passed to the corresponding service when it is activated for the session. The parameter might override values configured in the profile itself, such as a downstream shaping rate for a CoS service. This enables you to use the same service profile for multiple situations with different requirements, or to modify a previously applied value for a service. You can still use RADIUS VSAs or CoA requests together with the service profiles. If services are sourced from an external authority as authorization during authentication or during subscriber session provisioning (activation), the services from the external authority take strict priority over those in the local configuration. If a service applied with RADIUS is the same as a service applied with a service profile in the CLI, but with different parameters, the RADIUS service is applied with a new session ID and takes precedence over the earlier service profile. When service profiles are configured on a LAC client and on a tunnel group that uses that LAC client, the LAC configuration overrides the tunnel group configuration. Only the service profile configured on the LAC client is applied to subscribers in the tunnel group.
|
shared-secret | Configure the shared secret.
|
Required Privilege Level
admin—To view this statement in the configuration.
admin-control—To add this statement to the configuration.
Release Information
Statement introduced before Junos OS Release 7.4.