Switching

Expand all | Collapse all

How to add banner in Juniper 2200 switch

Jump to Best Answer
  • 1.  How to add banner in Juniper 2200 switch

    Posted 04-26-2012 06:19

    Hi,

     

    How to add banner in Juniper 2200 switch.

     

    I have tried below commands but it is not working.

     

    set system login messege < messege>

     

    but after adding banner only one word is displayed .

     

    Regrads,

    Nilesh



  • 2.  RE: How to add banner in Juniper 2200 switch
    Best Answer

     
    Posted 04-26-2012 08:56

    hi,

     

    can you show full command and the banner displayed ?

    Just tested on EX2200 running 10.4.R9.2, no problem seen:

     

    [edit]
    admin@EX2200# set system login message "----------\nIt's a banner\n2nd line\n----------\n"
    
    Result:
    
    ----------
    It's a banner
    2nd line
    ----------
    
    EX2200 (ttyu0)
    login: 

     

    Another example at  http://www.dummies.com/how-to/content/how-to-configure-a-login-banner-on-junos-devices.html

    jtb



  • 3.  RE: How to add banner in Juniper 2200 switch

    Posted 04-27-2012 05:12

    Thanks JTB  Its working



  • 4.  RE: How to add banner in Juniper 2200 switch

    Posted 10-04-2019 17:41

     

    Why does the example in this link not use the backslash as shown in Juniper's documentation?

    • \n New line

    I ask because my SRX is ignoring the new lines I'm specifying.

     

    Another example at  http://www.dummies.com/how-to/content/how-to-configure-a-login-banner-on-junos-devices.html