[Contents] [Prev] [Next] [Index] [Report an Error]

console

See the following sections:

console (Physical Port)

Syntax

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

Hierarchy Level

[edit system ports]

Release Information

Statement introduced before JUNOS Release 7.4.

disable option added in JUNOS Release 7.6.

Description

Configure the characteristics of the console port, which is on the router’s craft interface.

Default

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

Options

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.

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.

Range: ansi, vt100, small-xterm, xterm
Default: The terminal type is unknown, and the user is prompted for the terminal type.

disable—Disable console login connections.

Usage Guidelines

See Configuring Console and Auxiliary Port Properties.

Required Privilege Level

system—To view this statement in the configuration.

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

console (System Logging)

Syntax

console {
facility severity;
}

Hierarchy Level

[edit system syslog]

Release Information

Statement introduced before JUNOS Release 7.4.

Description

Configure the logging of system messages to the system console.

Options

facility—Class of messages to log. To specify multiple classes, include multiple facility severity statements. For a list of the facilities, see Table 19.

severity—Severity of the messages that belong to the facility specified by the paired facility name. Messages with severities the specified level and higher are logged. For a list of the severities, see Table 20.

Usage Guidelines

See Directing Messages to the Console.

Required Privilege Level

system—To view this statement in the configuration.

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

Related Topics

JUNOS System Log Messages Reference


[Contents] [Prev] [Next] [Index] [Report an Error]