[rancid] Adding Junos show configuration | display set in rancid 3.5.1

heasley heas at shrubbery.net
Sat Sep 17 15:12:26 UTC 2016

Sat, Sep 17, 2016 at 03:05:52PM +0000, Yuval Ben Ari:
> I am trying to add Junos "show configuration | display set" to juniper devicetype in 3.5.1 like I had before.
> Based on suggestions here: http://www.shrubbery.net/pipermail/rancid-discuss/2009-October/004320.html
> But getting the following:
> $ ./bin/rancid -t myjuniper -d myswitch
> loadtype: device type myjuniper
> loadtype: found device type myjuniper in /usr/local/rancid/etc/rancid.types.conf
> executing jlogin -t 120 -c"show chassis environment;show chassis firmware;show chassis fpc detail;show chassis hardware detail;show chassis hardware models;show chassis routing-engine;show chassis alarms;show system license;show system core-dumps;show version detail;show version invoke-on other-routing-engine;show configuration;show configuration | display set" myswitch
> [...output trimmed...]
> HIT COMMAND:rancid at MYSWITCH> show configuration | display set
>     In ShowConfigurationDisplaySet: rancid@ MYSWITCH > show configuration | display set
> readline() on unopened filehandle INPUT at /usr/local/rancid/lib/rancid/myjunos.pm line 640.


> Use of uninitialized value $_ in pattern match (m//) at /usr/local/rancid/lib/rancid/myjunos.pm line 136.
> Use of uninitialized value $_ in pattern match (m//) at /usr/local/rancid/lib/rancid/myjunos.pm line 141.
> Can someone help?

More information about the Rancid-discuss mailing list