Help us improve your experience.

Let us know what you think.

Do you have time for a two-minute survey?


console (Physical Port)



Hierarchy Level

Release Information

Statement introduced in Junos OS Release 11.1 for the QFX Series.

Statement introduced in Junos OS Release 14.1X53-D20 for the OCX Series.


Configure the characteristics of the console port.


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


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.

type terminal-type—Type of terminal that is connected to the port: ansi, vt100, small-xterm, or xterm.

Required Privilege Level

system—To view this statement in the configuration.

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