2.1.22. line

Syntax

line ( console | telnet | ssh )

Parameter


console Select console line to configure. telnet Select telnet line to configure. ssh Select ssh line to configure.


Default

No default value for this command.

Mode

Global Configuration

Usage

Some configurations are line based. In order to configure these configurations, we need to enter Line Configuration mode to configure them. Use “line” command to enter the Line Configuration mode and select the line to be configured. In Line Configuration mode, the prompt will show as Switch(config-line).

Example

This example shows how to enter Interface Configuration mode

Switch# configure
Switch(config)# line console
Switch(config-line)#