- Information about the Terminal
- Defining a Terminal Type
- Setting the Screen Length for the Console Terminal
- Setting the Screen Width for the Console Terminal
- Displaying Terminal Settings
- Setting the Timeout for Console Connections
- Setting the Timeout for SSH and Telnet Connections
- Clearing a Line Connection to the Switch
- Setting a Timeout for the Current Session
Configuring the Terminal
This chapter provides information about configuring the terminal in the following topics:
•Information about the Terminal
•Setting the Screen Length for the Console Terminal
•Setting the Screen Width for the Console Terminal
•Setting the Timeout for Console Connections
•Setting the Timeout for SSH and Telnet Connections
•Clearing a Line Connection to the Switch
•Setting a Timeout for the Current Session
Information about the Terminal
You can configure the terminal type, display, timeout, and other settings for the console terminal.
Defining a Terminal Type
You can use this procedure to define the type of terminal to use for the switch.
BEFORE YOU BEGIN
Before beginning this procedure, you must know or do the following:
•You are logged in to a terminal session with the CLI in EXEC mode.
DETAILED STEPS
Setting the Screen Length for the Console Terminal
You can use this procedure to set the number of lines to display on the screen duirng the current console session.
BEFORE YOU BEGIN
Before beginning this procedure, you must know or do the following:
•This procedure only applies to the console port. Telnet and SSH sessions set the terminal length automatically.
•You are logged in to a terminal session with the CLI in EXEC mode.
DETAILED STEPS
Setting the Screen Width for the Console Terminal
You can use this procedure to set the number of characters to display on a screen line during the current console session.
BEFORE YOU BEGIN
Before beginning this procedure, you must know or do the following:
•This procedure only applies to the console port. Telnet and SSH sessions set the terminal width automatically.
•You are logged in to a terminal session with the CLI in EXEC mode.
DETAILED STEPS
Displaying Terminal Settings
You can use this procedure to display the terminal settings for the current session.
BEFORE YOU BEGIN
Before beginning this procedure, you must know or do the following:
•You are logged in to a terminal session with the CLI in any command mode.
DETAILED STEPS
Setting the Timeout for Console Connections
You can use this procedure to specify the duration of time, in minutes, that an inactive console session remains open.
BEFORE YOU BEGIN
Before beginning this procedure, you must know or do the following:
•You are logged in to a terminal session with the CLI in EXEC mode.
DETAILED STEPS
Setting the Timeout for SSH and Telnet Connections
You can use this procedure to specify the duration of time, in minutes, that an inactive SSH or Telnet session remains open.
BEFORE YOU BEGIN
Before beginning this procedure, you must know or do the following:
•You are logged in to a terminal session with the CLI in EXEC mode.
DETAILED STEPS
Clearing a Line Connection to the Switch
You can use this procedure to close a specific line connection to the switch.
BEFORE YOU BEGIN
Before beginning this procedure, you must know or do the following:
•You are logged in to a terminal session with the CLI in EXEC mode.
DETAILED STEPS
|
|
|
---|---|---|
Step 1 |
clear line aux Example:
n1000v# clear line aux n1000v # |
Closes a line connection. |
Setting a Timeout for the Current Session
You can use this procedure to establish a maximum duration of time, in minutes, that the current terminal session can remain open before the switch shuts it down.
BEFORE YOU BEGIN
Before beginning this procedure, you must know or do the following:
•You are logged in to a terminal session with the CLI in EXEC mode.
DETAILED STEPS