•
The disconnect character is set to 0x59 hexadecimal value (the 0x59 hexadecimal character translates
into the
“
Y
”
character).
•
The session time out for outgoing terminal sessions is set to 100 minutes (1 hour and 40 minutes).
•
The allowed transport protocol for incoming terminal sessions is Telnet.
•
The allowed transport protocol for outgoing terminal sessions is Telnet.
To verify that the terminal attributes for the console line template have been applied to the console, use the
show line
command:
RP/0/RP0/CPU0:router#
show line console location 0/0/CPU0
Tty
Speed
Modem
Uses
Noise Overruns
Acc I/O
*
con0/0/CPU0
9600
-
-
-
0/0
-/-
Line con0_0_CPU0, Location "Unknown", Type "Unknown"
Length: 24 lines, Width: 80 columns
Baud rate (TX/RX) is 9600, 1 parity, 2 stopbits, 8 databits
Template: console
Config:
Allowed transports are telnet.
Modifying the Default Template: Example
This configuration example shows how to override the terminal settings for the default line template:
line default
exec-timeout 0 0
width 512
length 512
In this example, the following terminal attributes override the default line template default terminal attribute
settings:
•
The EXEC timeout for terminal sessions is set to 0 minutes and 0 seconds. Setting the EXEC timeout
to 0 minutes and 0 seconds disables the EXEC timeout function; thus, the EXEC session for the terminal
session will never time out (the default EXEC timeout for the default line template is 10 minutes).
•
The width of the terminal screen for the terminals referencing the default template is set to 512 characters
(the default width for the default line template is 80 characters).
•
The length, the number of lines that will display at one time on the terminal referencing the default
template, is set to 512 lines (the default length for the default line template is 24 lines).
Configuring a User-Defined Template to Reference the Default vty Pool: Example
This configuration example shows how to configure a user-defined line template (named test in this example)
for vtys and to configure the line template test to reference the default vty pool:
line template test
exec-timeout 100 0
width 100
length 100
exit
vty-pool default 0 4 line-template test
System Management Configuration Guide for Cisco NCS 5000 Series Routers, IOS XR Release 6.2.x
15
Implementing Physical and Virtual Terminals
Configuration Examples for Implementing Physical and Virtual Terminals