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

disconnect-character — line

Synopsis

disconnect-character ascii-number
no disconnect-character

Configures

The character to use to disconnect a session

Default

None

Description

This command defines the character that a user types to end an interactive session. As with the activation-character command, the ascii-number is the decimal value of the desired character.

Example

In this example, we set the disconnect character to control-D, which is ASCII number 4, and we inform the users with a banner message.

Router(config)# line 2

Router(config-line)# activation-character 13
Router(config-line)# disconnect-character 4
Router(config-line)# vacant-message #
Router(config-line)#               ***** Welcome to Sphinx *****
Router(config-line)#    Press the return key to start the connection
Router(config-line)#    Disconnect with a control-D key
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