Network OS Administration Guide

Supporting Network OS 6.0.1a

Part Number: 53-1003768-04

Configuring a switch banner

A banner is a text message that displays on the switch console. It can contain information about the switch that an administrator may want users to know when accessing the switch.

The banner can be up to 2048 characters long. To create a multi-line banner, enter the banner login command followed by the Esc-m keys. Enter Ctrl-D to terminate the input.

If you are in logical chassis cluster mode, the configuration is applied to all nodes in the cluster.

Complete the following steps to set and display a banner.

  1. In privileged EXEC mode, issue the configure terminal command to enter global configuration mode.
  2. Enter the banner login command and a text message enclosed in double quotation marks (" ").
  3. Enter the do show running-config banner command to display the configured banner.
    switch# configure terminal
     
    Entering configuration mode terminal
    switch(config)# banner login "Please do not disturb the setup on this switch"
     
    switch(config)# do show running-config banner
     
    banner login "Please do not disturb the setup on this switch" 

    Use the no banner login command to remove the banner.