Re: [rancid] Aruba - Wireless Controllers
Fri, Oct 25, 2019 at 09:26:44AM -0700, reza: > I’m using Mike32’s Aruba module which was recommended from the Shrubbery FTP, > https://github.com/miken32/rancid-aruba/. > > When I run rancid in debug mode against one of my device it failed in “End of > run not found”. I manually logged in with clogin to the device and ran “write > term” and verified the last line is end. Which is was is expected on line 546 > of the Aruba.pm file, > https://github.com/miken32/rancid-aruba/blob/master/aruba.pm#L546. > > I’m hoping someone else has had some luck with this module and can provide > some help. I do not have any of these, but note the README in the github repo and the existence of arubalogin in the older version in ftp://ftp.shrubbery.net/pub/rancid/contrib/aruba.tgz maybe its hitting the pager. look at the end of the site2-wc2.raw file left by the -d in your test: > rancid@rancid:~$ rancid -d -t aruba site2-wc2 > loadtype: device type aruba > loadtype: found device type aruba at /etc/rancid/rancid.types.conf:115 > executing clogin -t 90 -c"no paging;show version;show master-redundancy;show > boot;show image version;dir;show interface transceivers;show > packet-capture;show inventory;show vlan;write term" site2-wc2 > In aruba::inloop: PROMPT MATCH: \(site2-wc2\) > > HIT COMMAND:(site2-wc2) >no paging > In RunCommand: (site2-wc2) >no paging > HIT COMMAND:(site2-wc2) >show version > In aruba::ShowVersion: (site2-wc2) >show version > HIT COMMAND:(site2-wc2) >show master-redundancy > In aruba::ShowMasterRedundancy: (site2-wc2) >show master-redundancy > HIT COMMAND:(site2-wc2) >show boot > In aruba::ShowBoot: (site2-wc2) >show boot > HIT COMMAND:(site2-wc2) >show image version > In aruba::ShowImageVersion: (site2-wc2) >show image version > HIT COMMAND:(site2-wc2) >dir > In aruba::Dir: (site2-wc2) >dir > HIT COMMAND:(site2-wc2) >show interface transceivers > In aruba::ShowInterfaceTransceivers: (site2-wc2) >show interface > transceivers > HIT COMMAND:(site2-wc2) >show packet-capture > In aruba::ShowPacketCapture: (site2-wc2) >show packet-capture > HIT COMMAND:(site2-wc2) >show inventory > In aruba::ShowInventory: (site2-wc2) >show inventory > HIT COMMAND:(site2-wc2) >show vlan > In aruba::ShowVLAN: (site2-wc2) >show vlan > HIT COMMAND:(site2-wc2) >write term > In aruba::WriteTerm: (site2-wc2) >write term > site2-wc2: End of run not found > site2-wc2: found_end is false > ! > rancid@rancid:~$ > aruba;script;rancid -t aruba > aruba;login;clogin > aruba;module;aruba > aruba;inloop;aruba::inloop > aruba;command;aruba::RunCommand;no paging > #aruba;command;aruba::RunCommand;encrypt disable > aruba;command;aruba::ShowVersion;show version > aruba;command;aruba::ShowMasterRedundancy;show master-redundancy > aruba;command;aruba::ShowBoot;show boot > aruba;command;aruba::ShowImageVersion;show image version > aruba;command;aruba::Dir;dir > aruba;command;aruba::ShowInterfaceTransceivers;show interface transceivers > aruba;command;aruba::ShowPacketCapture;show packet-capture > aruba;command;aruba::ShowInventory;show inventory > aruba;command;aruba::ShowVLAN;show vlan > aruba;command;aruba::WriteTerm;write term ___ Rancid-discuss mailing list Rancid-discuss@shrubbery.net http://www.shrubbery.net/mailman/listinfo/rancid-discuss
[rancid] Aruba - Wireless Controllers
Hello Rancid Group, I’m trying to get my Rancid setup working with newly acquired Aruba wireless controllers, A650 and A3000s running 6.1, 6.3 and 6.4 AOS versions. I’m using Mike32’s Aruba module which was recommended from the Shrubbery FTP, https://github.com/miken32/rancid-aruba/. When I run rancid in debug mode against one of my device it failed in “End of run not found”. I manually logged in with clogin to the device and ran “write term” and verified the last line is end. Which is was is expected on line 546 of the Aruba.pm file, https://github.com/miken32/rancid-aruba/blob/master/aruba.pm#L546. I’m hoping someone else has had some luck with this module and can provide some help. rancid@rancid:~$ rancid -d -t aruba site2-wc2 loadtype: device type aruba loadtype: found device type aruba at /etc/rancid/rancid.types.conf:115 executing clogin -t 90 -c"no paging;show version;show master-redundancy;show boot;show image version;dir;show interface transceivers;show packet-capture;show inventory;show vlan;write term" site2-wc2 In aruba::inloop: PROMPT MATCH: \(site2-wc2\) > HIT COMMAND:(site2-wc2) >no paging In RunCommand: (site2-wc2) >no paging HIT COMMAND:(site2-wc2) >show version In aruba::ShowVersion: (site2-wc2) >show version HIT COMMAND:(site2-wc2) >show master-redundancy In aruba::ShowMasterRedundancy: (site2-wc2) >show master-redundancy HIT COMMAND:(site2-wc2) >show boot In aruba::ShowBoot: (site2-wc2) >show boot HIT COMMAND:(site2-wc2) >show image version In aruba::ShowImageVersion: (site2-wc2) >show image version HIT COMMAND:(site2-wc2) >dir In aruba::Dir: (site2-wc2) >dir HIT COMMAND:(site2-wc2) >show interface transceivers In aruba::ShowInterfaceTransceivers: (site2-wc2) >show interface transceivers HIT COMMAND:(site2-wc2) >show packet-capture In aruba::ShowPacketCapture: (site2-wc2) >show packet-capture HIT COMMAND:(site2-wc2) >show inventory In aruba::ShowInventory: (site2-wc2) >show inventory HIT COMMAND:(site2-wc2) >show vlan In aruba::ShowVLAN: (site2-wc2) >show vlan HIT COMMAND:(site2-wc2) >write term In aruba::WriteTerm: (site2-wc2) >write term site2-wc2: End of run not found site2-wc2: found_end is false ! rancid@rancid:~$ I’m running Rancid 3.10 (built from source) on Ubuntu 18.04. rancid@rancid:~$ rancid -V rancid 3.10 rancid@rancid:~$ cat /etc/lsb-release DISTRIB_ID=Ubuntu DISTRIB_RELEASE=18.04 DISTRIB_CODENAME=bionic DISTRIB_DESCRIPTION="Ubuntu 18.04.3 LTS" rancid@rancid:~$ grep aruba /etc/rancid/rancid.types.conf aruba;script;rancid -t aruba aruba;login;clogin aruba;module;aruba aruba;inloop;aruba::inloop aruba;command;aruba::RunCommand;no paging #aruba;command;aruba::RunCommand;encrypt disable aruba;command;aruba::ShowVersion;show version aruba;command;aruba::ShowMasterRedundancy;show master-redundancy aruba;command;aruba::ShowBoot;show boot aruba;command;aruba::ShowImageVersion;show image version aruba;command;aruba::Dir;dir aruba;command;aruba::ShowInterfaceTransceivers;show interface transceivers aruba;command;aruba::ShowPacketCapture;show packet-capture aruba;command;aruba::ShowInventory;show inventory aruba;command;aruba::ShowVLAN;show vlan aruba;command;aruba::WriteTerm;write term rancid@rancid:~$ Thanks, Reza___ Rancid-discuss mailing list Rancid-discuss@shrubbery.net http://www.shrubbery.net/mailman/listinfo/rancid-discuss