8-110 C122-E003-02EN
GSWB
CHAPTER 8 CLI Operations
8.2.16 Console
8.2.16.1 line
This command specifies a line for a connection.
(1) Synopsis
• Specifies a line for a connection
(2) Options
z vty: Specifies the virtual terminal for remote console access.
(3) Command mode
Global
(4) See also
None
(5) Examples
• Enters line configuration mode
(6) Error Messages
• % Incomplete command.
Cause: Incomplete command input
Action: Enter the command string correctly.
• % Invalid input detected at '^' marker.
Cause: Invalid character detected at '^' marker in the entered command string
Action: Enter the command string correctly.
line vty
Switch(config)# line vty
Switch(config-line)#