8-19
Catalyst2950 and Catalyst2955 Switch Software Configuration Guide
78-11380-10
Chapter8 Administering the Swi tc h Creating a Banner
domain name is the value set by the ip domain-name global configuration command. If ther e is a
period (.) in the hostname, the software looks up the IP address without appending any default domain
name to the hostname.
To remove a domain name, use the no ip domain-name name global configuration command. To remove
a name server address, use the no ip name-server server-address global configuration command. To
disable DNS on the switch, use the no ip domain-lookup global configuration command.

Displaying the DNS Configuration

To display the DNS configuration information, use the show running-config privileged EXEC
command.
Creating a Banner
You can configure a message-of-the-day (MOTD) and a login banner. The MOTD banner displays on all
connected terminals at login and is useful for sending messages that affect all network users (such as
impending system shutdowns).
The login banner also displays on all connected terminals. It ap pears after the MOTD banner and before
the login prompts.
Note For complete syntax and usage information for the commands used in this section, refer to the Cisco IOS
Configuration Fundamentals Command Reference for Cisco IOS Release 12.1.
This section contains this configuration information:
Default Banner Configuration, page 8-19
Configuring a Message-of-the-Day Login Banner, page 8-20
Configuring a Login Banner, page 8-21

Default Banner Configuration

The MOTD and login banners are not configured.