Switching

 View Only
last person joined: 18 hours ago 

Ask questions and share experiences about EX and QFX portfolios and all switching solutions across your data center, campus, and branch locations.
  • 1.  login message banner

    Posted 06-27-2016 12:04

    hello guys-

     

     

    i am trying to copy a login banner i was using in cisco for some reason i am not able to use this banner in juniper maybe i am doing something wrong i am kinda new to juniper. how can get this banner to work in juniper

     


    #########################################################################
    ##                                                                                                                                         ##
    ##                                 {}                                                                                                      ##
    ## ,           A                  {}                                                                          ############# ##
    ##         / \, | , .--.                                                                                     ## !!WARNING!! ## ##
    ## | =|= > /.--.\                                                                                        ################# ##
    ## \ /` | ` |====| ##
    ## ` | |`::`| ##
    ## | .-;`\..../`;_.-^-._ You have accessed a restricted ##
    ## /\\/ / |...::..|` : : `| device. It is for official and ##
    ## |:'\ | /'''::''| .:.:. | authorized use only. You have ##
    ## \ /\;-,/\ :: |.:::.:::.| no expectation of privacy in ##
    ## |\ <` > >._::_.| '::.::' | its use. To ensure that the ##
    ## | `""` / ^^ | ':.:' | device is functioning properly ##
    ## | | \ :.: / individuals using this system ##
    ## | | \ : : / are subject to having all of ##
    ## | |___/\___|`-.:.-` their activities monitored and ##
    ## | \_ || _/ recorded. ##
    ## | <_ >< _> ##
    ## | | || | Last Updated September 22 2014 ##
    ## | | || | ##
    ## | _\.:||:./_ ##
    ## | /____/\____\ ##
    ## ##
    #########################################################################


    #EX4300


  • 2.  RE: login message banner
    Best Answer

     
    Posted 06-27-2016 12:47

    Hi,

     

    Unlike Cisco, I believe its not possible to use any chosen delimiter for the banner message.

    On Junos, a new line requires "\n":

    http://www.juniper.net/techpubs/en_US/junos15.1/topics/task/configuration/authentication-router-login-message-qfx-series.html

     

    Your message would be like:

    Spoiler
    message "#########################################################################\n## ##\n## {} ##\n## , A {} ############# ##\n## / \, | , .--. ## !!WARNING!! ## ##\n## | =|= > /.--.\ ################# ##\n## \ /` | ` |====| ##\n## ` | |`::`| ##\n## | .-;`\..../`;_.-^-._ You have accessed a restricted ##\n## /\\/ / |...::..|` : : `| device. It is for official and ##\n## |:'\ | /'''::''| .:.:. | authorized use only. You have ##\n## \ /\;-,/\ :: |.:::.:::.| no expectation of privacy in ##\n## |\ <` > >._::_.| '::.::' | its use. To ensure that the ##\n## | `^^` / ^^ | ':.:' | device is functioning properly ##\n## | | \ :.: / individuals using this system ##\n## | | \ : : / are subject to having all of ##\n## | |___/\___|`-.:.-` their activities monitored and ##\n## | \_ || _/ recorded. ##\n## | <_ >< _> ##\n## | | || | Last Updated September 22 2014 ##\n## | | || | ##\n## | _\.Smiley Indifferent|:./_ ##\n## | /____/\____\ ##\n## ##\n#########################################################################"

    All the text should be one the same line.

    Example banner:

    Spoiler
    telnet 192.168.1.1
    Trying 192.168.1.1...
    Connected to 192.168.1.1.
    Escape character is '^]'.
    #########################################################################
    ## ##
    ## {} ##
    ## , A {} ############# ##
    ## / , | , .--. ## !!WARNING!! ## ##
    ## | =|= > /.--. ################# ##
    ## /` | ` |====| ##
    ## ` | |`::`| ##
    ## | .-;`..../`;_.-^-._ You have accessed a restricted ##
    ## /\/ / |...::..|` : : `| device. It is for official and ##
    ## |:' | /'''::''| .:.:. | authorized use only. You have ##
    ## /;-,/ :: |.:::.:::.| no expectation of privacy in ##
    ## | <` > >._::_.| '::.::' | its use. To ensure that the ##
    ## | `^^` / ^^ | ':.:' | device is functioning properly ##
    ## | | :.: / individuals using this system ##
    ## | | : : / are subject to having all of ##
    ## | |___/___|`-.:.-` their activities monitored and ##
    ## | _ || _/ recorded. ##
    ## | <_ >< _> ##
    ## | | || | Last Updated September 22 2014 ##
    ## | | || | ##
    ## | _.Smiley Indifferent|:./_ ##
    ## | /____/____ ##
    ## ##
    #########################################################################

    Cheers,

    Ashvin



  • 3.  RE: login message banner

    Posted 06-29-2016 07:04

    thanks ashvin