Configuring banners and messages using CLI

Prev Next

Use the CLI commands to configure the messages users see when they log in to the appliance.

Prerequisites

Operator or Admin access

To configure banner messages:

  1. Go to CLI configuration mode:

    npadmin@hostname > enable
    npadmin@hostname # configure system

    The prompt changes to npadmin@hostname(config)# on the terminal indicating that configuration mode is enabled. You can now proceed with the configuration task.

  2. Display the current banner text:

    npadmin@hostname (config) # show banners
  3. To configure banners:

    npadmin@hostname(config)# banners 
  4. Type 1 to configure the message for the local login message that appears in the CLI login. The Configure local login banner page is displayed.

    1. Type T to toggle the status of the banner.

    2. Type M to enter/edit the banner message and then press Enter.

    3. Type the text/ message to be displayed on the banner and then press Enter.

    4. Press Ctrl+D to save the message on the banner.

    5. Type X to save and exit from the Configure local login banner page.

    6. Type C to cancel and exit from the page.

  5. Type 2 to configure the message for the remote login message that appears in the CLI login page.

    1. Type T to toggle the status of the banner.

    2. Type M to enter/edit the banner message and then press Enter.

    3. Type the text/ message to be displayed on the banner and then press Enter.

    4. Press Ctrl+D to save the message on the banner.

    5. Type X to save and exit from the Configure local login banner page.

    6. Type C to cancel and exit from the page.

  6. Type 3 to configure the message of the day displayed when the local logins open NDR console from vlab.

    1. Type T to toggle the status of the banner.

    2. Type M to enter/edit the banner message and then press Enter.

    3. Type the text/ message to be displayed on the banner and then press Enter.

    4. Press Ctrl+D to save the message on the banner.

    5. Type X to save and exit from the Configure local login banner page.

    6. Type C to cancel and exit from the page.

  7. Type X to exit the menu.

To delete the banner message:

  1. Go to CLI configuration mode:

    npadmin@hostname > enable
    npadmin@hostname # configure system

    The prompt changes to npadmin@hostname(config)# on the terminal indicating that configuration mode is enabled. You can now proceed with the configuration task.

  2. To configure banners:

  3. npadmin@hostname(config)# banners 
  4. Type 1 to configure the message for the local login message that appears in the CLI login. The Configure local login banner page is displayed.

  5. Type D to delete the banner message and then press Enter.

  6. Type X to save and exit from the Configure local login banner page.