session-options
Syntax
session-options { client-group [ group-names ]; client-idle-timeout minutes; client-idle-timeout-ingress-only; client-session-timeoutminutes; pcc-context { input-service-filter-name filter-name; input-service-set-name service-set-name; ipv6-input-service-filter-name filter-name; ipv6-input-service-set-name service-set-name; ipv6-output-service-filter-name filter-name; ipv6-output-service-set-name service-set-name; output-service-filter-name filter-name; output-service-set-name service-set-name; profile-name pcef-profile-name; } strip-user-name { delimiter [ delimiter ]; parse-direction (left-to-right | right-to-left); } }
Hierarchy Level
[edit access profile profile-name]
Description
(MX Series and SRX Series Firewalls) Define options to place limits on subscriber access based on how long the session has been up, how long the user has been inactive, or both.
(MX Series) Define options to modify a subscriber username at login based on the subscriber’s access profile.
(MX Series) Specify characteristics related to policy and charging control (PCC) rules, such as the PCEF profile that contains the rules, service sets to process the rules, and service filters for the service sets.
Options
client-idle-timeout | Specify the grace period that begins after an authenticated user terminates all sessions and connections. Authentication is not required if a new connection is initiated during the grace period by the same user. During this period, the router determines whether the subscriber is inactive by monitoring data traffic, both upstream from the user (ingress) and downstream to the user (egress). Control traffic is ignored. The subscriber is not considered idle as long as data traffic is detected in either direction. When no traffic is detected for the duration of the idle time out, non-DHCP subscribers (such as L2TP or PPP) are gracefully logged out, similarly to a RADIUS-initiated disconnect or a CLI-initiated logout; DHCP subscribers are disconnected. When you additionally configure the related Client idle timeouts are most often used for residential services rather than business services. The most practical use case for this timeout is in a PPP access model. It is not practical for DHCP or DHCPv6 subscribers. Although you can use the
|
client-idle-timeout-ingress-only | Specify that only ingress traffic is
monitored for subscriber idle timeout processing for the duration of the
idle timeout period that you specify with the
If you configure |
client-session-timeout | Specify the amount of time after which user sessions are terminated, regardless of user activity (also known as a forced or hard authentication timeout). Alternatively, when you want subscribers to be identified as
inactive before they are terminated, use the related statements, Best Practice:
We recommend that you do not configure a session timeout for subscribers receiving voice services. Because the session timeout is a simple time-based timeout, it is likely to interrupt subscribers actively using a voice service and terminate their calls unexpectedly (from the subscriber viewpoint). This result is a particular concern for emergency services calls. Client session timeouts are most often used for residential services rather than business services. The most practical use case for this timeout is in a PPP access model when no voice services are offered. For DHCP or DHCPv6 subscribers, the session timeout is used as the DHCP lease timer if no other lease time configuration is present. Although you can use the
|
The remaining statements are explained separately. Search for a statement in CLI Explorer or click a linked statement in the Syntax section for details.
Required Privilege Level
access—To view this statement in the configuration.
access-control—To add this statement to the configuration.
Release Information
Statement introduced in Junos OS Release 8.5.