Physical Terminals
The physical terminal lines for the console port is identified by its location, expressed in the format of rack/slot/module, on the active or standby route processor (RP) where the respective console port resides.
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.
You can access and manage the configuration and settings of a router using Physical and Virtual Terminals.
Physical terminals on routers are the physical ports or interfaces that provide connectivity for devices. Ethernet Ports, Serial Ports, Console Ports and USB ports are few examples of physical terminal. The physical terminal lines for the console port is identified by its location, expressed in the format of rack/slot/module, on the active or standby route processor (RP) where the respective console port resides.
Virtual terminals or vty lines are virtual lines that allow connecting to the device using telnet or Secure Shell (SSH). These virtual terminals can be accessed remotely over a network. The Cisco IOS XR software assigns a vty identifier to vtys according to the order in which the vty connection has been established.
The physical terminal lines for the console port is identified by its location, expressed in the format of rack/slot/module, on the active or standby route processor (RP) where the respective console port resides.
Virtual terminal lines are used to allow remote access to the router. The virtual terminal or vty lines are virtual lines that allow connecting to the device using telnet or Secure Shell (SSH).
Physical location is not applicable for virtual terminals. The Cisco IOS XR software assigns a vty identifier to vtys according to the order in which the vty connection has been established.
Each virtual line is a member of a pool of connections using a common line template configuration. Multiple vty pools may exist, each containing a defined number of vtys as configured in the vty pool.
The Cisco IOS XR software supports the following vty pools by default:
The default vty pool consists of five vtys (vtys 0 through 4) that each reference the default line template.
The default fault manager pool consists of six vtys (vtys 100 through 105) that each reference the default line template.
In addition to the default vty pool and default fault manager pool, you can also configure a user-defined vty pool that can reference the default template or a user-defined template.
The vty range for the default vty pool must start at vty 0 and must contain a minimum of five vtys.
The vty range from 0 through 99 can reference the default vty pool.
You can resize the default vty pool by increasing the range of vtys that compose the default vty pool.
The vty range from 5 through 99 can reference a user-defined vty pool.
If the range of vtys for the default vty pool has been resized, use the first range value free from the default line template. For example, if the range of vtys for the default vty pool has been configured to include 10 vtys (vty 0 through 9), the range value for the user-defined vty pool must start with vty 10.
The vty range from 100 is reserved for the fault manager vty pool.
The vty range for fault manager vty pools must start at vty 100 and must contain a minimum of six vtys.
A vty can be a member of only one vty pool. A vty pool configuration will fail if the vty pool includes a vty that is already in another pool.
If you attempt to remove an active vty from the active vty pool when configuring a vty pool, the configuration for that vty pool will fail
Configuration templates allow you to create a name that represents a group of configuration commands. Likewise, line templates represent a set of attributes that can be applied to multiple terminal lines. It greatly reduces the time and simplifies the process of configuring multiple terminal lines.
Line templates define standard attribute settings for incoming and outgoing transport over physical and virtual terminal lines (vtys). Vty pools are used to apply template settings to ranges of vtys.
The following line templates are available in the Cisco IOS XR software.
The default line template that applies to a physical and virtual terminal lines.
The line template that applies to the console line.
User-defined line templates that can be applied to a range of virtual terminal lines.
Modify the templates for the physical terminal lines on the router (the console port) from line template configuration mode. Use the line console command from Global Configuration mode to enter line template configuration mode for the console template.
Modify the template for virtual lines by configuring a user-defined template with the line template-name command, configuring the terminal attributes for the user-defined template from line template configuration, and applying the template to a range of virtual terminal lines using the vty pool command.
The default EXEC timeout for the default line template is 10 minutes.
The default width for the default line template is 80 characters.
The default length for the default line template is 24 lines.
Attributes not defined in the console template, or any virtual template, are taken from the default template.
The default session-limit for line template is applicable to Telnet sessions only. It is not applicable for SSH sessions.
To modify the terminal attributes for the console and default line templates, follow these steps in Global configuration mode
You can use the console or default options while configuring the line templates
This configuration example shows how to modify the terminal attribute settings for the console line template:
Step 1 |
Example:
|
Step 2 |
To verify that the terminal attributes for the console line template have been applied to the console, use the show line command: Example:
|
This configuration example shows how to override the terminal settings for the default line template:
Example:
|
The two primary steps in working with templates are creating templates and applying templates.
Before creating or modifying the vty pools, enable the telnet server using the telnet server command in Global Configuration mode. See IP Addresses and Services Configuration Guide for Cisco ASR 9000 Series Routers and IP Addresses and Services Command Reference for Cisco ASR 9000 Series Routers for more information.
Step 1 |
Configure number of allowable telnet servers, upto a maximum of 100 telnet servers. Example:
|
Step 2 |
Example:
|
The optional tasks in this module describes how to monitor terminals and terminal sessions on your router.
Step 1 |
Display the terminal parameters of terminal lines. Example:
|
Step 2 |
Display the terminal attribute settings for the current terminal line Example:
|
Step 3 |
Displays information about the active lines on the router. Example:
|