Technical Documentation

Setting J-Web Session Limits

By default, an unlimited number of users can log in to the J-Web interface on a routing platform, and each session remains open for 24 hours (1440 minutes). Using CLI commands, you can limit the maximum number of simultaneous J-Web user sessions and set a default session timeout for all users.

  • To limit the number of simultaneous J-Web user sessions, enter the following commands:
    user@host# edit system services web-management session user@host# set session-limit session-limit

    Range: 1 through 1024. Default: Unlimited

  • To change the J-Web session idle time limit, enter the following commands:
    user@host# edit system services web-management session user@host# set idle-timeout minutes

    Range: 1 through 1440. Default: 1440

You can also configure the maximum number of simultaneous subordinate HTTP processes that the routing platform creates in response to user requests.

To configure the maximum number of subordinate httpd processes, enter the following commands:

user@host# edit system services web-management limits

user@host# active-child-process process-limit

The default is 5, and the range is 0 through 32.

For more information about system services statements, see the JUNOS System Basics Configuration Guide.


Published: 2010-04-29