Line configuration commands modify the operation of a terminal line. Line configuration commands always follow a line command, which defines a line number. Use these commands to change terminal parameter settings line-by-line or for a range of lines.
Use theÂ line vty line_number [ending_line_number] command to enter line configuration mode. The new prompt means line configuration mode. The following example shows how to enter line configuration mode for virtual terminal lineÂ 7:
Switch(config)# line vty 0 7
The supported commands can vary depending on the version of software in use. To display a comprehensive list of commands, enter a question mark (?) at the prompt.
To exit line configuration mode and to return to global configuration mode, use theÂ exit command. To exit line configuration mode and to return to privileged EXEC mode, enter theÂ end command, or pressÂ Ctrl-Z.