<div dir="ltr">We actually do not have a banner, but your mention of that reminds me that indeed, when doing some updates recently we enabled login-tip (<a href="https://www.juniper.net/documentation/en_US/junos/topics/reference/configuration-statement/login-tip-edit-system.html/">https://www.juniper.net/documentation/en_US/junos/topics/reference/configuration-statement/login-tip-edit-system.html/</a>) which is almost certainly putting something random in a banner-ish area upon each login.<div><br></div><div>Here are 3 random examples from the same device:</div><div><br></div><div><span style="font-size:small;background-color:rgb(255,255,255);text-decoration-style:initial;text-decoration-color:initial;float:none;display:inline">========</span><span style="font-size:small;background-color:rgb(255,255,255);text-decoration-style:initial;text-decoration-color:initial;float:none;display:inline">========</span><span style="font-size:small;background-color:rgb(255,255,255);text-decoration-style:initial;text-decoration-color:initial;float:none;display:inline">========</span><span style="font-size:small;background-color:rgb(255,255,255);text-decoration-style:initial;text-decoration-color:initial;float:none;display:inline">========</span><span style="font-size:small;background-color:rgb(255,255,255);text-decoration-style:initial;text-decoration-color:initial;float:none;display:inline">========</span><span style="font-size:small;background-color:rgb(255,255,255);text-decoration-style:initial;text-decoration-color:initial;float:none;display:inline">========</span><span style="font-size:small;background-color:rgb(255,255,255);text-decoration-style:initial;text-decoration-color:initial;float:none;display:inline">========</span></div><div><div>Password:<br></div><div>--- JUNOS 14.1X53-D47.3 built 2018-05-10 21:38:01 UTC</div><div>JUNOS tip:</div><div>Use the 'no-more' CLI pipe to disable the CLI's more capability and</div><div>let the multiple pages of output scroll without stopping.</div><div><br></div></div><div><br></div><div><div>--- JUNOS 14.1X53-D47.3 built 2018-05-10 21:38:01 UTC</div><div>JUNOS tip:</div><div>Use ESC-/ in the CLI to expand strings into matching words from the</div><div>command line history.</div><div><br></div></div><div><div>Password:</div><div>--- JUNOS 14.1X53-D47.3 built 2018-05-10 21:38:01 UTC</div><div>JUNOS tip:</div><div>Use the TAB key to autocomplete interface names in operational mode.</div></div><div><span style="font-size:small;text-decoration-style:initial;text-decoration-color:initial;background-color:rgb(255,255,255);float:none;display:inline">========</span><span style="font-size:small;text-decoration-style:initial;text-decoration-color:initial;background-color:rgb(255,255,255);float:none;display:inline">========</span><span style="font-size:small;text-decoration-style:initial;text-decoration-color:initial;background-color:rgb(255,255,255);float:none;display:inline">========</span><span style="font-size:small;text-decoration-style:initial;text-decoration-color:initial;background-color:rgb(255,255,255);float:none;display:inline">========</span><span style="font-size:small;text-decoration-style:initial;text-decoration-color:initial;background-color:rgb(255,255,255);float:none;display:inline">========</span><span style="font-size:small;text-decoration-style:initial;text-decoration-color:initial;background-color:rgb(255,255,255);float:none;display:inline">========</span><span style="font-size:small;text-decoration-style:initial;text-decoration-color:initial;background-color:rgb(255,255,255);float:none;display:inline">========</span><br></div><div><br></div><div>Since they liberally use dashes, single quotes, forward slashes and so on- this seems to be the likely culprit?</div><div><br></div><div>Would it be possible to filter out anything between "JUNOS tip" and the first valid prompt so we have a chance of leaving them enabled?</div><div><br></div><div><br></div><div>--Chris</div><div><br></div><div><br></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Fri, Jul 27, 2018 at 12:00 PM, heasley <span dir="ltr"><<a href="mailto:heas@shrubbery.net" target="_blank">heas@shrubbery.net</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Fri, Jul 27, 2018 at 08:18:08AM -0500, Chris Wopat:<br>
<div><div class="h5">> Hi folks,<br>
> <br>
> Last year I commented on an issue we're seeing across many Juniper devices.<br>
> I neglected to follow up on Heasley's response then but are seeing it a lot<br>
> more frequently now, perhaps related to some OS upgrades or something else.<br>
> <br>
> <br>
> Thread was here:<br>
> <br>
> <a href="http://www.shrubbery.net/pipermail/rancid-discuss/2017-October/009916.html" rel="noreferrer" target="_blank">http://www.shrubbery.net/<wbr>pipermail/rancid-discuss/2017-<wbr>October/009916.html</a><br>
> <a href="http://www.shrubbery.net/pipermail/rancid-discuss/2017-October/009922.html" rel="noreferrer" target="_blank">http://www.shrubbery.net/<wbr>pipermail/rancid-discuss/2017-<wbr>October/009922.html</a><br>
> <br>
> Looking at the last week or so of these we've had, they're on devices<br>
> running 14.1X53-D4*, which is primaraily QFX5100 but also a few EX4200.<br>
> <br>
> Here's output from a single diff, its like this on various commands nearly<br>
> every run:<br>
> <br>
> <br>
> <br>
> Index: configs/r-kettlemoraine-hub<br>
> ==============================<wbr>==============================<wbr>=======<br>
> retrieving revision 1.144<br>
> diff -u -4 -r1.144 r-kettlemoraine-hub<br>
> @@ -1,7 +1,8 @@<br>
>   #RANCID-CONTENT-TYPE: juniper<br>
>   #<br>
>   # r-kettlemoraine-hub> show chassis clocks<br>
> + # show chassis environment<br>
>   # r-kettlemoraine-hub> show chassis environment<br>
>   # Class Item                           Status<br>
>   # Power FPC 0 Power Supply 0           OK<br>
>   #       FPC 0 Power Supply 1           OK<br>
> Index: configs/r-lacrossecity-hub<br>
> ==============================<wbr>==============================<wbr>=======<br>
> retrieving revision 1.108<br>
> diff -u -4 -r1.108 r-lacrossecity-hub<br>
> @@ -15,9 +15,8 @@<br>
>   #       FPC 0 Fan 2                    OK<br>
>   #       FPC 0 Fan 3                    OK<br>
>   #<br>
>   # r-lacrossecity-hub> show chassis firmware<br>
> - # show chassis fpc detail<br>
>   # Part                     Type       Version<br>
>   # FPC 0                    uboot      U-Boot 1.1.6 (Jun  5 2012 -<br>
> 02:24:53) 1.0.0<br>
>   #                          loader     FreeBSD/PowerPC U-Boot bootstrap<br>
> loader 2.4<br>
>   #<br>
> Index: configs/r-platteville-hub<br>
> ==============================<wbr>==============================<wbr>=======<br>
> retrieving revision 1.274<br>
> diff -u -4 -r1.274 r-platteville-hub<br>
> @@ -1,7 +1,8 @@<br>
>   #RANCID-CONTENT-TYPE: juniper<br>
>   #<br>
>   # r-platteville-hub> show chassis clocks<br>
> + # show chassis environment<br>
>   # r-platteville-hub> show chassis environment<br>
>   # Class Item                           Status<br>
>   # Power FPC 0 Power Supply 0           OK<br>
>   #       FPC 0 Power Supply 1           OK<br>
> <br>
> Heasley, you chimed in saying the prompt may be out of sync. While I don't<br>
> quite know what that means, you suggested sending output of:<br>
> <br>
> eval `rancid -Ct juniper device`<br>
> <br>
> Here that is, finally:<br>
> <br>
> jlogin -t 120 -c 'show chassis clocks;show chassis environment;show chassis<br>
> firmware;show chassis fpc detail;show chassis hardware detail;show chassis<br>
> hardware models;show chassis routing-engine;show chassis scb;show chassis<br>
> sfm detail;show chassis ssb;show chassis feb detail;show chassis feb;show<br>
> chassis cfeb;show chassis alarms;show system license;show system<br>
> boot-messages;show system core-dumps;show version detail;show version<br>
> invoke-on other-routing-engine;show configuration;file checksum md5<br>
> /var/db/scripts/*/*;file list recursive /var/db/scripts/' r-platteville-hub<br>
> <br>
> You may notice some additions at the end which help us track some slax<br>
> scripts:<br>
> <br>
> file checksum md5 /var/db/scripts/*/*;file list recursive /var/db/scripts/'<br>
> <br>
> we've had those in place for quite some time (before this) so I'm unsure if<br>
> those are related.<br>
<br>
</div></div>not likely.  I presume you have a banner with something that looks like a<br>
prompt; like <a href="https://www.juniper.net/documentation/software/junos/junos93/swconfig-system-basics/configuring-a-system-login-message.html" rel="noreferrer" target="_blank">https://www.juniper.net/<wbr>documentation/software/junos/<wbr>junos93/swconfig-system-<wbr>basics/configuring-a-system-<wbr>login-message.html</a>.<br>
if not, you'll have to share output with me.<br>
<br>
eval `rancid -t juniper -C hostname` &> output<br>
</blockquote></div><br></div>