Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?

Navigation
Guide That Contains This Content
[+] Expand All
[-] Collapse All

    console (System Ports)

    Syntax

    console {disable;insecure;log-out-on-disconnect;type terminal-type;}

    Hierarchy Level

    [edit system ports]

    Release Information

    Statement introduced before Junos OS Release 7.4.

    disable option added in Junos OS Release 7.6.

    Statement introduced in Junos OS Release 9.0 for EX Series switches.

    Description

    Configure the characteristics of the console port.

    Default

    The console port is enabled and its speed is 9600 baud.

    Options

    disable—Disable console login connections.

    insecure—Disable root login connections to the console and auxiliary ports. Configuring the console port as insecure also prevents superusers and anyone with a user identifier (UID) of 0 from establishing terminal connections in multiuser mode. This option can be used to prevent a user from attempting password recovery by booting into single-user mode, if the user does not know the root password.

    log-out-on-disconnect—Log out the session when the data carrier on the console port is lost.

    Note: The log-out-on-disconnect option is not operational on MX80 routers. On MX80 routers you must manually log out from the console with the request system logout u0 command.

    type terminal-type—Type of terminal that is connected to the port.

    Range: ansi, vt100, small-xterm, xterm

    Default: The terminal type is unknown, and the user is prompted for the terminal type.

    Required Privilege Level

    system—To view this statement in the configuration.

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

    Published: 2012-12-07