Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?

 
 

console (System Ports)

Syntax

Hierarchy Level

Description

Configure the characteristics of the console port.

Default

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

Options

The following section lists all possible options for the console statement. The options that appear may vary depending on your platform and software release.

authentication-order—Specify the order in which the authentication methods such as password ( for local password authentication), radius (for RADIUS server authentication), or tacplus (for TACACS+ server authentication) should be attempted.

authentication-methods—One or more authentication methods, listed in the order in which they should be tried. The method can be one or more of the following:

  • password—Use the password configured for the user with the authentication statement at the [edit system login user] hierarchy level.

  • radius—Use RADIUS authentication services.

  • tacplus—Use TACACS+ authentication services.

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.

  • The log-out-on-disconnect option is not operational on guest network functions (GNFs), which are managed using Juniper Device Manager (JDM). You must use the exit command to log out from the GNF console. For more information, see Junos Node Slicing user guide.

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.

Release Information

Statement introduced before Junos OS Release 7.4.

disable option added in Junos OS Release 7.6.

authentication-order option added in Junos OS Release 12.2R3.