- Information About Terminal Settings and Sessions
- Licensing Requirements for Terminal Settings and Sessions
- Configuring the Console Port
- Configuring Virtual Terminals
- Configuring Modem Connections
- Clearing Terminal Sessions
- Displaying Terminal and Session Information
- Default Settings for File System Parameters
- Additional References for Terminal Settings and Sessions
Configuring Terminal Settings and Sessions
This chapter contains the following sections:
- Information About Terminal Settings and Sessions
- Licensing Requirements for Terminal Settings and Sessions
- Configuring the Console Port
- Configuring Virtual Terminals
- Configuring Modem Connections
- Clearing Terminal Sessions
- Displaying Terminal and Session Information
- Default Settings for File System Parameters
- Additional References for Terminal Settings and Sessions
Information About Terminal Settings and Sessions
This section includes information about terminal settings and sessions.
Terminal Session Settings
The Cisco NX-OS software features allow you to manage the following characteristics of terminals:
- Terminal type
- Name used by Telnet when communicating with remote hosts
- Length
- Number of lines of command output displayed before pausing
- Width
- Number of characters displayed before wrapping the line
- Inactive session timeout
- Number of minutes that a session remains inactive before the device terminates it
Console Port
The console port is an asynchronous serial port that allows you to connect to the device for initial configuration through a standard RS-232 port with an RJ-45 connector. Any device connected to this port must be capable of asynchronous transmission. You can configure the following parameters for the console port:
- Data bits
- Specifies the number of bits in an 8-bit byte that is used for data.
- Inactive session timeout
- Specifies the number of minutes a session can be inactive before it is terminated.
- Parity
- Specifies the odd or even parity for error detection.
- Speed
- Specifies the transmission speed for the connection.
- Stop bits
- Specifies the stop bits for an asynchronous line.
Configure your terminal emulator with 9600 baud, 8 data bits, 1 stop bit, and no parity.
Virtual Terminals
You can use virtual terminal lines to connect to your Cisco NX-OS device. Secure Shell (SSH) and Telnet create virtual terminal sessions. You can configure an inactive session timeout and a maximum sessions limit for virtual terminals.
Modem Support
You can connect a modem to the console ports only on the supervisor 1 module. The following modems were tested on devices running the Cisco NX-OS software:
-
MultiTech MT2834BA (http://www.multitech.com/en_us/support/families/multimodemii/)
-
Hayes Accura V.92 (http://www.zoom.com/products/dial_up_external_serial.html#hayes)
![]() Note | Do not connect a modem when the device is booting. Only connect the modem when the device is powered up. |
The Cisco NX-OS software has the default initialization string (ATE0Q1&D2&C1S0=1\015) to detect connected modems. The default string is defined as follows:
- AT
- Attention
- E0 (required)
- No echo
- Q1
- Result code on
- &D2
- Normal data terminal ready (DTR) option
- &C1
- Enable tracking the state of the data carrier
- S0=1
- Pick up after one ring
- \015 (required)
- Carriage return in octal
Licensing Requirements for Terminal Settings and Sessions
The following table shows the licensing requirements for this feature:
Product |
License Requirement |
---|---|
Cisco NX-OS |
Terminal setting configuration requires no license. Any feature not included in a license package is bundled with the Cisco NX-OS system images and is provided at no extra charge to you. For a complete explanation of the Cisco NX-OS licensing scheme, see the . |
Configuring the Console Port
You can set the following characteristics for the console port:
Log in to the console port.
Configuring Virtual Terminals
This section describes how to configure virtual terminals on Cisco NX-OS devices.
Configuring the Inactive Session Timeout
You can configure a timeout for inactive virtual terminal sessions on a Cisco NX-OS device.
Configuring the Session Limit
You can limit the number of virtual terminal sessions on your Cisco NX-OS device.
Configuring Modem Connections
You can connect a modem to the console port.
- Enabling a Modem Connection
- Downloading the Default Initialization String
- Configuring and Downloading a User-Specified Initialization String
- Initializing a Modem for a Powered-Up Cisco NX-OS Device
Enabling a Modem Connection
You must enable the modem connection on the port before you can use the modem.
Log in to the console port.
Downloading the Default Initialization String
The Cisco NX-OS software provides a default initialization string that you can download for connecting with the modem. The default initialization string is ATE0Q1&D2&C1S0=1\015.
Log in to the console port.
Configuring and Downloading a User-Specified Initialization String
You can configure and download your own initialization when the default initialization string is not compatible with your modem.
Log in to the console port.
Initializing a Modem for a Powered-Up Cisco NX-OS Device
If you connect a modem to a powered-up physical device, you must initialize the modem before you can use it.
After waiting until the Cisco NX-OS device has completed the boot sequence and the system image is running, connect the modem to either the console port on the device.
Enable the modem connection on the port.
Command or Action | Purpose |
---|
Clearing Terminal Sessions
You can clear terminal sessions on the Cisco NX-OS device.
Command or Action | Purpose |
---|
Displaying Terminal and Session Information
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.
Default Settings for File System Parameters
Parameters |
Default |
---|---|
Default filesystem |
bootflash: |
Additional References for Terminal Settings and Sessions
Related Documents for Terminal Settings and Sessions
Related Topic |
Document Title |
---|---|
Licensing |
Cisco NX-OS Licensing Guide |
Command reference |
Cisco Nexus 3000 Command Reference |