cisco — Configuring a Login Banner

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. Follow these steps to configure a login banner: Procedure Administering the Device Configuring a Login Banner Command or Action Purpose Step 4 end Example: Device(config)# end Returns to privileged EXEC mode. Step 5 show running-config Example: Device# show running-config Verifies your entries. Step 6 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 login c message c Example: Device(config)# banner login $ Access for authorized users only. Please enter your username and Specifies the login message. 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 Administering the Device 24