August 2005
Intermediate to advanced
798 pages
31h 12m
English
disconnect-character — line
disconnect-character ascii-number
no disconnect-characterThe character to use to disconnect a session
None
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.
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 2Router(config-line)#activation-character 13Router(config-line)#disconnect-character 4Router(config-line)#vacant-message #Router(config-line)#***** Welcome to Sphinx *****Router(config-line)#Press the return key to start the connectionRouter(config-line)#Disconnect with a control-D keyRouter(config-line)##