Network Management

 View Only
last person joined: yesterday 

Keep an informative eye on your network with HPE Aruba Networking network management solutions

IMC configure multiple line headers/banners

This thread has been viewed 6 times
  • 1.  IMC configure multiple line headers/banners

    Posted Aug 08, 2022 11:50 PM

    Hello everyone,

    I'm having a hard time configuring a configuration template to add a banner to our Cisco switches. The CLI script fails because the SSH communication closes.

    Here is the output of the deployment task:

    Task is finished, following is the executing result.
     Device Name:[REDACTED]--Running Result:SSH connection closed
    <Command> conf t
    <Response Prompt> Enter configuration commands, one per line.  End with CNTL/Z.
    [REDACTED](config)#
    <Command> banner login *
    <Response Prompt>
    [REDACTED](config)#
    <Command> ############################################################################
    <Error> SSH connection closed
    <Response Prompt>
    [REDACTED](config)#


    My googlefu failed to produce results showing the proper method of deplying a banner similar to this one

    ######################################################################
    #                                                                    #
    # YOU ARE ACCESSING A SYSTEM UNDER THE RESPONSIBILITY OF [REDACTED]  #
    #                                                                    #
    # NO NOTION OF CONFIDENTIALITY - USE OF THE SYSTEM INDICATES         #
    # CONSENT TO MONITORING, RECORDING, AND AUDITING OF                  #
    # ACTIVITY; AND UNAUTHORIZED USE IS PROHIBITED AND SUBJECT TO        #
    # UNAUTHORIZED USE IS PROHIBITED AND SUBJECT TO CRIMINAL, CIVIL, OR  #
    # ADMINISTRATIVE PROCEEDINGS AND/OR SANCTIONS.                       #
    ######################################################################


    Thank you for your help

    ​​