O'Reilly logo

Cisco IOS in a Nutshell, 2nd Edition by James Boney

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Name

escape-character — line

Synopsis

escape-character ascii-number
no escape-character

Configures

The system escape character

Default

Ctrl-^

Description

This command defines the character that terminates a running command. The default, as specified in the hot-key listing, is Ctrl-^ (Control+Shift+6 on most keyboards). ascii-number must be the decimal value of the character you want to use. The Break key cannot be used as an escape character.

The no form of the instruction returns the escape character to the default.

Example

The following commands set the disconnect character to Ctrl-C, which has a decimal value of 3:

Router(config)# line 2
Router(config-line)# escape-characer 3
Router(config-line)# vacant-message #
Router(config-line)#               ***** Welcome to Sphinx *****
Router(config-line)#            Escape key is Ctrl-C
Router(config-line)# #

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required