Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?


session-expiry (MX Series in Enhanced LAN Mode)


Hierarchy Level


Configure the maximum duration in seconds of a session.


seconds—Duration of session.

  • Range: 1 through 65535

  • Default: 3600

Required Privilege Level

routing—To view this statement in the configuration.

routing–control—To add this statement to the configuration.

Release Information

Statement introduced in Junos OS Release 14.2.