4-19
Software Configuration Guide—Release 15.0(2)SG
OL-23818-01
Chapter 4 Administering the Switch Managing the MAC Address Table

Configuring a Login Banner

You can configure a login banner to be displayed on all connected terminals. This banner appears after
the MOTD banner and before the login prompt.
To configure a login banner, perform this task:
This example shows how to configure a login banner for the switch by using the dollar sign ($) symbol
as the beginning and ending delimiter:
Switch# configuration terminal
Switch(config)# banner login $
Access for authorized users only. Please enter your username and password.
$
Switch(config)# end
Switch#
Managing the MAC Address Table
The MAC address table contains address information that the switch uses to forward traffic between
ports. All MAC addresses in the address table are associated with one or more ports. The address table
includes these types of addresses:
Dynamic address—A source MAC address that the switch learns and then ages when it is not in use.
Static address—A manually entered unicast address that does not age and that is not lost when the
switch resets.
The address table lists the destination MAC address, the associated VLAN ID, and port number
associated with the address and the type (static or dynamic).
Note For complete syntax and usage information for the commands used in this section, see the command
reference for this release.
Command Purpose
Step 1 configure terminal Enters global configuration mode.
Step 2 banner login c message c Specifies the login message.
To delete the login banner, use the no banner login global configuration
command.
For c, enter the delimiting character of your choice, for example, a pound
sign (#), and press the Return key. The delimiting character signifies the
beginning and end of the banner text. Characters after the ending delimiter
are discarded.
For message, enter a login message up to 255 characters. You cannot use the
delimiting character in the message.
Step 3 end Returns to privileged EXEC mode.
Step 4 show running-config Verifies your entries.
Step 5 copy running-config
startup-config (Optional) Saves your entries in the configuration file.