Chapter 20
Administering the Switch
Configuring a Login Banner
To configure a login banner, perform this task in privileged mode:
Task
Step 1
Enter the message of the day.
Step 2
Display the login banner by logging out and
logging back into the switch.
This example shows how to configure the login banner on the switch using the # symbol as the beginning
and ending delimiter:
Console> (enable) set banner motd #
Welcome to the Catalyst 6000 Switch!
Unauthorized access prohibited.
Contact sysadmin@corp.com for access.
#
MOTD banner set
Console> (enable)
Clearing the Login Banner
To clear the login banner, perform this task in privileged mode:
Task
Clear the message of the day.
This example shows how to clear the login banner:
Console> (enable) set banner motd ##
MOTD banner cleared
Console> (enable)
Defining Command Aliases
You can use the set alias command to define command aliases (shorthand versions of commands) for
frequently used or long and complex commands. Command aliases can save you time and can help
prevent typing errors when you are configuring or monitoring the switch.
The name argument defines the command alias. The command and parameter arguments define the
command to enter when the command alias is entered at the command line.
To define a command alias on the switch, perform this task in privileged mode:
Task
Step 1
Define a command alias on the switch.
Step 2
Verify the currently defined command aliases.
78-13315-02
Command
set banner motd c message_of_the_day c
Command
set banner motd cc
Command
set alias name command [parameter] [parameter]
show alias [name]
Catalyst 6000 Family Software Configuration Guide—Releases 6.3 and 6.4
Defining Command Aliases
20-5