Guest

Asynchronous Connections

Suppressing Messages on Async Lines

Document ID: 14969



Contents

Introduction
Prerequisites
      Requirements
      Components Used
      Conventions
busy-message Command
Configure
      Network Diagram
      Configurations
Verify
Troubleshoot
Related Information

Introduction

This document provides a sample configuration for eliminating connection status messages from being sent to the user when a user (or a terminal) connects to TTY lines by doing a reverse telnet to a designated host (or terminal) using the autocommand command.

Prerequisites

Requirements

There are no specific requirements for this document.

Components Used

The information in this document is based on the software and hardware versions:

  • A Cisco router with async TTY lines

  • Cisco IOS® Software Release 10.0 or later

The information in this document was created from the devices in a specific lab environment. All of the devices used in this document started with a cleared (default) configuration. If your network is live, make sure that you understand the potential impact of any command.

Conventions

For more information on document conventions, see the Cisco Technical Tips Conventions.

busy-message Command

In the example below:

access-9#telnet 10.1.1.1 2066 
Trying 10.1.1.1, 2066 ... Open 

!--- This is what we're trying to suppress

The user will not see the above message if the router is configured with a busy-message option with no message in it. Following is the syntax of the busy-message command:

busy-message hostname d message d

  • hostname - The name of the host that cannot be reached

  • d - The delimiting character of your choice; for example, a pound sign (#). You cannot use the delimiting character in the message.

  • message - Message text

Follow the busy-message command with one or more blank spaces and a delimiting character of your choice. Then enter one or more lines of text, terminating the message with the second occurrence of the delimiting character. For example:

router(config)# busy-message foo % [message here] %

Configure

In this section, you are presented with the information to configure the features described in this document.

Note: To find additional information on the commands used in this document, use the Command Lookup Tool (registered customers only) .

Network Diagram

This document uses the network setup shown in the diagram below.

suppress.gif

Configurations

This document uses the configuration shown below.

Router

ip host foo 10.1.1.1
!
interface Loopback1
 ip address 10.1.1.1 255.0.0.0
!
busy-message foo ^C
^C
!
!
line 65
 no motd-banner
 no exec-banner
 exec-timeout 0 0
 no vacant-message
 modem InOut
 autocommand telnet foo 2066
 transport input all
 escape-character NONE
 flowcontrol hardware
line 66
 no exec
 no motd-banner
 no exec-banner
 exec-timeout 0 0
 no vacant-message
 modem InOut
 transport input all
 escape-character NONE
 flowcontrol hardware

Verify

There is currently no verification procedure available for this configuration.

Troubleshoot

There is currently no specific troubleshooting information available for this configuration.


Related Information



Updated: Sep 09, 2005 Document ID: 14969