Ethernet Switching
Ethernet Switching

How to add banner in Juniper 2200 switch

‎04-26-2012 06:19 AM

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

3 REPLIES 3
Highlighted
Ethernet Switching
Solution
Accepted by topic author Nilsw
‎08-26-2015 01:27 AM

Re: How to add banner in Juniper 2200 switch

‎04-26-2012 08:56 AM

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

Highlighted
Ethernet Switching

Re: How to add banner in Juniper 2200 switch

‎04-27-2012 05:12 AM

Thanks JTB  Its working

Highlighted
Ethernet Switching

Re: How to add banner in Juniper 2200 switch

‎10-04-2019 05:41 PM

 

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

Feedback