Configuring Persistent Telnet
Command or Action
Step 4
connection wait [allow {interruptible}| none
{disconnect}]
Example:
Router(config-tmap)# connection wait none
Step 5
banner [diagnostic | wait] banner-message
Example:
Router(config-tmap)# banner diagnostic X
Enter TEXT message.
'X'.
--Welcome to Diagnostic Mode--
X
Router(config-tmap)#
Step 6
transport interface gigabitethernet 0
Example:
Router(config-tmap)# transport interface
gigabitethernet 0
Cisco ASR 1000 Series Aggregation Services Routers Software Configuration Guide
6
End with the character
Purpose
Specifies how a persistent Telnet connection will be
handled using this transport map:
•
allow—The Telnet connection waits for an IOS vty line
to become available, and exits the router if interrupted.
allow interruptible—The Telnet connection waits for
•
the IOS vty line to become available, and also allows
user to enter diagnostic mode by interrupting a Telnet
connection waiting for the IOS vty line to become
available. This is the default setting.
Users can interrupt a waiting connection by
Note
entering Ctrl-C or Ctrl-Shift-6.
•
none—The Telnet connection immediately enters
diagnostic mode.
none disconnect—The Telnet connection does not wait
•
for the IOS vty line and does not enter diagnostic mode,
so all Telnet connections are rejected if no vty line is
immediately available in IOS.
(Optional) Creates a banner message that will be seen by
users entering diagnostic mode or waiting for the IOS vty
line as a result of the persistent Telnet configuration.
diagnostic—creates a banner message seen by users
•
directed into diagnostic mode as a result of the
persistent Telnet configuration.
•
wait—creates a banner message seen by users waiting
for the vty line to become available.
banner-message—the banner message, which begins
•
and ends with the same delimiting character.
Applies the transport map settings to the Management
Ethernet interface (interface gigabitethernet 0).
Persistent Telnet can only be applied to the Management
Ethernet interface on the Cisco ASR 1000 Series Routers.
This step must be taken before applying the transport map
to the Management Ethernet interface.
Console Port, Telnet, and SSH Handling