|
|
This chapter explains the function and syntax of the connection, menu, and system banner commands. For more information about defaults and usage guidelines, see the corresponding chapter of the
Cisco IOS Configuration Fundamentals Command Reference, Release 12.1.
To display a banner 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). Use the no form of this command to delete the EXEC banner.
banner exec d message d
Syntax Description
d 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 banner used when you have an incoming connection to a line from a host on the network, use the banner incoming global configuration command. Use the no form of this command to delete the incoming connection banner.
banner incoming d message d
Syntax Description
d Delimiting character of your choice---a pound sign (#), for example. You cannot use the delimiting character in the banner message. message Message text.
To display a login banner, use the banner login global configuration command. This command specifies a message to be displayed before the username and password login prompts. The no form of this command deletes the login banner.
banner login d message d
Syntax Description
d 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 deletes the MOTD banner.
banner motd d message d
Syntax Description
d Delimiting character of your choice---a pound sign (#), for example. You cannot use the delimiting character in the banner 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}
Syntax Description
line line-number TTY line number of the TCP connection to clear. local host-name port Host name of the local router and port and host name of the remote router 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.
remote host-name port
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.
execSyntax Description
This command has no arguments or keywords.
To display EXEC and message-of-the-day banners, use the exec-banner line configuration command. Use the no form of this command to suppress the banners.
exec-bannerSyntax Description
This command has no arguments or keywords.
To 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]
Syntax Description
minutes Integer that specifies the number of minutes. seconds (Optional) Additional time intervals in seconds.
To clear the terminal screen before displaying a menu, use the menu clear-screen global configuration command.
menu name clear-screen
Syntax Description
name The configuration name of the menu.
To specify underlying commands for user interface menus, use the menu command global configuration command.
menu name command item {command | menu-exit}
Syntax Description
name The configuration name of the menu. You can specify a maximum of 20 characters. item Number, character, or string used as the key for the item. The key is displayed to the left of the menu item text. You can specify a maximum of 18 menu entries. When the tenth item is added to the menu, the line-mode and single-space options are activated automatically. command Command to issue when the user selects an item. Provides a way for menu users to return to a higher-level menu or exit the menu system
To specify the menu item to use as the default, use the menu default global configuration command.
menu name default item
Syntax Description
name The name of the menu. You can specify a maximum of 20 characters. item Number, character, or string key of the item to use as the default.
To specify the menu item to use as the default, use the menu line-mode global configuration command to require the user to specify the menu item to use as the default.
menu name line-mode
Syntax Description
name The configuration name of the menu.
To set options for items in user interface menus,use the menu options global configuration command.
menu name options item {login | pause}
Syntax Description
name The name of the menu. You can specify a maximum of 20 characters. item Number, character, or string key of the item affected by the option. login Requires a login before issuing the command. pause Pauses after the command is entered before redrawing the menu.
To specify the prompt for a user interface menu, use the menu prompt global configuration command.
menu name prompt d prompt d
Syntax Description
name The name of the menu. You can specify a maximum of 20 characters. d Delimiting characters that mark the beginning and end of the prompt. Text delimiters are characters that do not ordinarily appear within the text of a title, such as slash (/), double quote ("), and tilde (~). Ctrl-C is reserved for special use and should not be used in the text of the title. prompt Prompt string for the menu.
To display menu items single-spaced rather than double-spaced, use the menu single-space global configuration command.
menu name single-space
Syntax Description
name The configuration name of the menu.
To display a line of status information about the current user at the top of a menu, use the menu status-line global configuration command.
menu name status-line
Syntax Description
name The configuration name of the menu.
To specify the text of a menu item in a user interface menu, use the menu text global configuration command.
menu name text item text
Syntax Description
name The configuration name of the menu. You can specify a maximum of 20 characters. item Number, character, or string used as the key for the item. The key is displayed to the left of the menu item text. You can specify a maximum of 18 menu items. When the tenth item is added to the menu, the menu line-mode and menu single-space commands are activated automatically. text Text of the menu item.
To create a title, or banner, for a user menu, use the menu title global configuration command.
menu name title d title d
Syntax Description
name The configuration name of the menu. You can specify a maximum of 20 characters. d A delimiting character that marks the beginning and end of a title. Text delimiters are characters that do not ordinarily appear within the text of a title, such as slash ( / ), double quote ("), and tilde (~). Ctrl-C is reserved for special use and should not be used in the text of the title. title The lines of text to appear at the top of the menu.
To delete the specified menu from the configuration, use the no menu global configuration command.
no menu name
Syntax Description
name The configuration name of the menu.
To display message-of-the-day (MOTD) banners, use the motd-banner line configuration command. Use the no form of this command to suppress the MOTD banners.
motd-bannerSyntax Description
This command has no arguments or keywords.
To assign a logical name to a connection, use the name-connection user EXEC command.
name-connectionSyntax Description
This command has no arguments or keywords.
To 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 d
Syntax Description
d 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}
Syntax Description
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.
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 linenumberSyntax Description
This command has no arguments or keywords.
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]
Syntax Description
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.
![]()
![]()
![]()
![]()
![]()
![]()
![]()
Posted: Wed Jul 26 14:43:16 PDT 2000
Copyright 1989-2000©Cisco Systems Inc.