Cisco Cisco SF302-08PP 8-port 10 100 PoE+ Managed Switch Referencia técnica
User Interface Commands
60
78-21485-01 Command Line Interface Reference Guide
2
Use the no banner exec Line Configuration command to disable the Exec banner
on a particular line or lines.
on a particular line or lines.
Example
The following example sets an EXEC banner that uses tokens. The percent sign
(%) is used as a delimiting character. Note that the $(token) syntax is replaced by
the corresponding configuration variable.
(%) is used as a delimiting character. Note that the $(token) syntax is replaced by
the corresponding configuration variable.
switchxxxxxx(config)# banner exec %
Enter TEXT message. End with the character '%'.
$(bold)Session activated.$(bold) Enter commands at the prompt.
%
When a user logs on to the system, the following output is displayed:
Session activated. Enter commands at the prompt.
2.20
banner login
Use the banner login command in Global Configuration mode to specify a
message to be displayed before the username and password login prompts. This
banner is applied automatically on all the user interfaces: Console, Telnet and SSH
and also on the WEB GUI. Use the no form of this command to delete the existing
login banner.
message to be displayed before the username and password login prompts. This
banner is applied automatically on all the user interfaces: Console, Telnet and SSH
and also on the WEB GUI. Use the no form of this command to delete the existing
login banner.
Syntax
banner login
d message-text d
no banner login
Parameters
•
d—Delimiting character of user’s choice—a pound sign (#), for example.
You cannot use the delimiting character in the banner message.
You cannot use the delimiting character in the banner message.
•
message-text—Message text. The message must start on a new line. You
can enter multi-line messages. You can include tokens in the form of
$(token) in the message text. Tokens are replaced with the corresponding
can enter multi-line messages. You can include tokens in the form of
$(token) in the message text. Tokens are replaced with the corresponding
$(mac-address)
Displays the base MAC address of the device.
Token
Information Displayed in the Banner