|
This chapter describes the function and displays the syntax for connection and system banner commands. For more information about defaults and usage guidelines, see the corresponding chapter of the Configuration Fundamentals Command Reference.
To display a message on terminals with an interactive EXEC, use the banner exec global configuration command. This command specifies a message to be displayed when an EXEC process is created (a line is activated, or an incoming connection is made to a VTY). The no form of this command disables the EXEC banner.
banner exec d message dd | Delimiting character of your choice--a pound sign (#) for example. You cannot use the delimiting character in the banner message. |
message | Message text. |
To specify a message used when you have an incoming connection to a line from a host on the network, use the banner incoming global configuration command. The no form of this command disables the incoming connection banner.
banner incoming d message dd | Delimiting character of your choice--a pound sign (#) for example. You cannot use the delimiting character in the banner message. |
message | Message text. |
To specify a message-of-the-day (MOTD) banner, use the banner motd global configuration command. The no form of this command disables the MOTD banner.
banner motd d message dd | Delimiting character of your choice--a pound sign (#) for example. You cannot use the delimiting character in the banner message. |
message | Message text. |
To create a "host failed" message that displays when a connection fails, use the busy-message global configuration command. Use the no form of this command to disable the "host failed" message from displaying on the specified host.
busy-message hostname d message dhostname | Name of the host that cannot be reached. |
d | Delimiting character of your choice--a pound sign (#) for example. You cannot use the delimiting character in the message. |
message | Message text. |
To clear a TCP connection, use the clear tcp privileged EXEC command.
clear tcp {line line-number | local host-name port remote host-name port | tcb address}line line-number | TTY line number of the TCP connection to clear. |
local host-name port remote host-name port | Local router's host name and port and remote router's host name and port of the TCP connection to clear. |
tcb address | Transmission Control Block (TCB) address of the TCP connection to clear. The TCB address is an internal identifier for the end point. |
To allow an EXEC process on a line, use the exec line configuration command. Use the no form of this command to turn off the EXEC process for the specified line.
execTo control whether banners are displayed or suppressed, use the exec-banner line configuration command. Use the no form of this command to suppress the banner messages.
exec-bannerTo set the interval that the EXEC command interpreter waits until user input is detected, use the exec-timeout line configuration command. Use the no form of this command to remove the timeout definition.
exec-timeout minutes [seconds]minutes | Integer that specifies the number of minutes. |
seconds | (Optional) Additional time intervals in seconds. |
To assign a logical name to a connection, use the name-connection user EXEC command.
name-connectionTo define a line-in-use message, use the refuse-message line configuration command. Use the no form of this command to disable the message.
refuse-message d message dd | Delimiting character of your choice--a pound sign (#) for example. You cannot use the delimiting character in the message. |
message | Message text. |
To send messages to one or all terminal lines, use the send EXEC command.
send {line-number | * | aux number | console number | tty number | vty number}line-number | Line number to which the message will be sent. |
* | Sends a message to all TTY lines. |
aux number | Sends a message to the AUX port. |
console number | Sends a message to the console port. |
tty number | Sends a message to an asynchronous line. |
vty number | Sends a message to a VTY line. |
To configure the Cisco IOS software to display line number information after the EXEC or incoming banner, use the service linenumber global configuration command. Use the no form of this command to disable this function.
service linenumberTo display the default domain name, the style of name lookup service, a list of name server hosts, and the cached list of host names and addresses on the network to which you can connect, use the show hosts user EXEC command.
show hostsThe show users command replaces the systat command. Refer to the description of the show users command for more information.
To display an idle terminal message, use the vacant-message line configuration command. Use the no form of this command to remove the default vacant message or any other vacant message that may have been set.
vacant-message [d message d]d | (Optional) A delimiting character of your choice--a pound sign (#), for example. You cannot use the delimiting character in the banner message. |
message | (Optional) Vacant terminal message. |
d | (Optional) A delimiting character of your choice. |
|