cisco — Configuring a Message-of-the-Day Login Banner

Configuring a Message-of-the-Day Login Banner You can create a single or multiline message banner that appears on the screen when someone logs in to the device. Follow these steps to configure a MOTD login banner: Procedure Administering the Device Configuring a Message-of-the-Day Login Banner Command or Action Purpose Step 7 show running-config Example: Device# show running-config Verifies your entries. Step 8 copy running-config startup-config Example: Device# copy running-config startup-config (Optional) Saves your entries in the configuration file. Command or Action Purpose Step 1 enable Example: Device> enable Enables privileged EXEC mode. • Enter your password if prompted.

Step 2 configure terminal Example: Device# configure terminal Enters global configuration mode. Step 3 banner motd c message c Example: Device(config)# banner motd # This is a secure site. Only authorized users are allowed. For access, contact technical support. # Specifies the message of the day. c—Enters 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. message—Enters a banner message up to 255 characters. You cannot use the delimiting character in the message. Administering the Device 23