Information About Terminal Settings and Sessions
This section includes information about terminal settings and sessions.
The documentation set for this product strives to use bias-free language. For the purposes of this documentation set, bias-free is defined as language that does not imply discrimination based on age, disability, gender, racial identity, ethnic identity, sexual orientation, socioeconomic status, and intersectionality. Exceptions may be present in the documentation due to language that is hardcoded in the user interfaces of the product software, language used based on RFP documentation, or language that is used by a referenced third-party product. Learn more about how Cisco is using Inclusive Language.
This section includes information about terminal settings and sessions.
You can set the following characteristics for the console port:
Data bits
Inactive session timeout
Parity
Speed
Stop bits
Log in to the console port.
Command or Action | Purpose | |
---|---|---|
Step 1 |
configure terminal Example:
|
Enters global configuration mode. |
Step 2 |
line console Example:
|
Enters console configuration mode. |
Step 3 |
databits bits Example:
|
Configures the number of data bits per byte. The range is from 5 to 8. The default is 8. |
Step 4 |
exec-timeout minutes Example:
|
Configures the timeout for an inactive session. The range is from 0 to 525600 minutes (8760 hours). A value of 0 minutes disables the session timeout. The default is 30 minutes. |
Step 5 |
parity {even | none | odd} Example:
|
Configures the parity. The default is none . |
Step 6 |
speed {300 | 1200 | 2400 | 4800 | 9600 | 38400 | 57600 | 115200} Example:
|
Configures the transmit and receive speed. The default is 115200 . |
Step 7 |
stopbits {1 | 2} Example:
|
Configures the stop bits. The default is 1 . |
Step 8 |
exit Example:
|
Exits console configuration mode. |
Step 9 |
(Optional) show line console Example:
|
(Optional)
Displays the console settings. |
Step 10 |
(Optional) copy running-config startup-config Example:
|
(Optional)
Copies the running configuration to the startup configuration. |
This section describes how to configure virtual terminals on Cisco NX-OS devices.
You can connect a modem to the console port.
You can clear terminal sessions on the Cisco NX-OS device.
Command or Action | Purpose | |
---|---|---|
Step 1 |
(Optional) show users Example:
|
(Optional)
Displays the user sessions on the device. |
Step 2 |
clear line name Example:
|
Clears a terminal session on a specific line. The line name is case sensitive. |
To display terminal and session information, perform one of the following tasks:
Command |
Purpose |
---|---|
show terminal |
Displays terminal settings. |
show line |
Displays the console ports settings. |
show users |
Displays virtual terminal sessions. |
show running-config [all] |
Displays the user account configuration in the running configuration. The all keyword displays the default values for the user accounts. |
For detailed information about the fields in the output from these commands, see the Cisco Nexus command reference guide for your device.
This table lists the default settings for the file system parameters.
Parameters |
Default |
---|---|
Default filesystem |
bootflash: |