Re: [rancid] Unable to Conduct Cisco Wireless Controller Backup

2018-07-27 Thread Piegorsch, Weylin William
Ah; thanks, I see it there.  Something is amiss with that.  "eval... ; cat -v" 
output below.
Weylin




[rancid@nsgv-prod-59 ~]$ eval `rancid -t cisco-wlc5 -C 
cumm111-wism-aca05.bu.edu` &> output
[rancid@nsgv-prod-59 ~]$ cat -v output 
cumm111-wism-aca05.bu.edu
spawn ssh -2 -c 
aes128-ctr,aes192-ctr,aes256-ctr,aes128-cbc,3des-cbc,aes192-cbc,aes256-cbc -x 
-l rancid cumm111-wism-aca05.bu.edu^M
^M
Access to this system is permitted for authorized persons only.  All 
connections are logged and monitored.  By accessing this system, you 
acknowledge that use of this and any other technology at Boston University is 
subject to the terms of the Boston University Conditions of Use and Policy on 
Computing Ethics; please see: http://www.bu.edu/computing/ethics for details.^M
(cumm111-wism-aca05) ^M
User: rancid^M
Password:***^M
(cumm111-wism-aca05) >^M
(cumm111-wism-aca05) >config paging disable^M
^M
Incorrect usage.  Use the '?' or  key to list commands.^M
^M
(cumm111-wism-aca05) >show udi^M

^MNAME: "Chassis"    , DESCR: "Cisco Wireless Services Module 2"
^MPID: WS-SVC-WISM2-K9,  VID: V01,  SN: SAL172893FZ^M
^M
(cumm111-wism-aca05) >show sysinfo^M
^M
Manufacturer's Name.. Cisco Systems Inc.^M
Product Name. Cisco Controller^M
Product Version.. 8.2.166.0^M
Bootloader Version... 1.0.20^M
Field Recovery Image Version. 7.6.101.1^M
Firmware Version. FPGA 1.7, Env 0.0, USB 
console 2.2^M
Build Type... DATA + WPS
^M
System Name.. cumm111-wism-aca05^M
System Location.. 111 Cummington St., Room B05^M
System Contact... Network Operations Center^M
System ObjectID.. 1.3.6.1.4.1.9.1.1293^M
Redundancy Mode.. SSO^M
IP Address... 10.123.18.234^M
IPv6 Address. ::^M
Last Reset... Software reset^M
System Up Time... 98 days 3 hrs 47 mins 5 secs^M
System Timezone Location. (GMT -5:00) Eastern Time (US 
and Canada)^M
System Stats Realtime Interval... 5^M
System Stats Normal Interval. 180
^M
^M

Error: TIMEOUT reached
[rancid@nsgv-prod-59 ~]$





On 7/27/18, 11:16 AM, "heasley"  wrote:

Fri, Jul 27, 2018 at 12:08:37PM +, Piegorsch, Weylin William:
> I did some experimenting, issuing the "config paging disable" CLI command 
on initial login seems to eliminate the paging issue, similar to the ASA 
"terminal pager 0" or the IOS "terminal length 0".
> weylin

wlogin should have sent this command at the beginning.  please look at
the beginning of the transcript with the device.

> On 7/27/18, 8:01 AM, "Piegorsch, Weylin William"  wrote:
> 
> When I login as myself and run the "show sysinfo" command, I get the 
below output.  I notice that rancid (wlogin) gets stuck on the prompt at the 
end there.  When expect sees the prompt, a  would be the appropriate 
response.  I'm not sure how to disable paging, unfortunately. 
> 
> Weylin
> 
> (cumm111-wism-aca05) >show sysinfo
> 
> Manufacturer's Name.. Cisco Systems Inc.
> Product Name. Cisco Controller
> Product Version.. 8.2.166.0
> Bootloader Version... 1.0.20
> Field Recovery Image Version. 7.6.101.1
> Firmware Version. FPGA 1.7, Env 0.0, 
USB console 2.2
> Build Type... DATA + WPS
> 
> System Name.. cumm111-wism-aca05
> System Location.. 111 Cummington St., 
Room B05
> System Contact... Network Operations 
Center
> System ObjectID.. 1.3.6.1.4.1.9.1.1293
> Redundancy Mode.. SSO
> IP Address... 10.123.18.234
> IPv6 Address. ::
> Last Reset... Software reset
> System Up Time... 97 days 17 hrs 26 
mins 34 secs
> System Timezone Location. (GMT -5:00) Eastern 
Time (US and Canada)
> System Stats Realtime Interval... 5
> System Stats Normal Interval. 180
> 
> 
> --More-- or (q)uit
> 

Re: [rancid] Juniper CLI prompts out of sync causing frequent changes

2018-07-27 Thread Chris Wopat
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 (
https://www.juniper.net/documentation/en_US/junos/topics/reference/configuration-statement/login-tip-edit-system.html/)
which is almost certainly putting something random in a banner-ish area
upon each login.

Here are 3 random examples from the same device:


Password:
--- JUNOS 14.1X53-D47.3 built 2018-05-10 21:38:01 UTC
JUNOS tip:
Use the 'no-more' CLI pipe to disable the CLI's more capability and
let the multiple pages of output scroll without stopping.


--- JUNOS 14.1X53-D47.3 built 2018-05-10 21:38:01 UTC
JUNOS tip:
Use ESC-/ in the CLI to expand strings into matching words from the
command line history.

Password:
--- JUNOS 14.1X53-D47.3 built 2018-05-10 21:38:01 UTC
JUNOS tip:
Use the TAB key to autocomplete interface names in operational mode.


Since they liberally use dashes, single quotes, forward slashes and so on-
this seems to be the likely culprit?

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?


--Chris



On Fri, Jul 27, 2018 at 12:00 PM, heasley  wrote:

> Fri, Jul 27, 2018 at 08:18:08AM -0500, Chris Wopat:
> > Hi folks,
> >
> > Last year I commented on an issue we're seeing across many Juniper
> devices.
> > I neglected to follow up on Heasley's response then but are seeing it a
> lot
> > more frequently now, perhaps related to some OS upgrades or something
> else.
> >
> >
> > Thread was here:
> >
> > http://www.shrubbery.net/pipermail/rancid-discuss/2017-
> October/009916.html
> > http://www.shrubbery.net/pipermail/rancid-discuss/2017-
> October/009922.html
> >
> > Looking at the last week or so of these we've had, they're on devices
> > running 14.1X53-D4*, which is primaraily QFX5100 but also a few EX4200.
> >
> > Here's output from a single diff, its like this on various commands
> nearly
> > every run:
> >
> >
> >
> > Index: configs/r-kettlemoraine-hub
> > ===
> > retrieving revision 1.144
> > diff -u -4 -r1.144 r-kettlemoraine-hub
> > @@ -1,7 +1,8 @@
> >   #RANCID-CONTENT-TYPE: juniper
> >   #
> >   # r-kettlemoraine-hub> show chassis clocks
> > + # show chassis environment
> >   # r-kettlemoraine-hub> show chassis environment
> >   # Class Item   Status
> >   # Power FPC 0 Power Supply 0   OK
> >   #   FPC 0 Power Supply 1   OK
> > Index: configs/r-lacrossecity-hub
> > ===
> > retrieving revision 1.108
> > diff -u -4 -r1.108 r-lacrossecity-hub
> > @@ -15,9 +15,8 @@
> >   #   FPC 0 Fan 2OK
> >   #   FPC 0 Fan 3OK
> >   #
> >   # r-lacrossecity-hub> show chassis firmware
> > - # show chassis fpc detail
> >   # Part Type   Version
> >   # FPC 0uboot  U-Boot 1.1.6 (Jun  5 2012 -
> > 02:24:53) 1.0.0
> >   #  loader FreeBSD/PowerPC U-Boot bootstrap
> > loader 2.4
> >   #
> > Index: configs/r-platteville-hub
> > ===
> > retrieving revision 1.274
> > diff -u -4 -r1.274 r-platteville-hub
> > @@ -1,7 +1,8 @@
> >   #RANCID-CONTENT-TYPE: juniper
> >   #
> >   # r-platteville-hub> show chassis clocks
> > + # show chassis environment
> >   # r-platteville-hub> show chassis environment
> >   # Class Item   Status
> >   # Power FPC 0 Power Supply 0   OK
> >   #   FPC 0 Power Supply 1   OK
> >
> > Heasley, you chimed in saying the prompt may be out of sync. While I
> don't
> > quite know what that means, you suggested sending output of:
> >
> > eval `rancid -Ct juniper device`
> >
> > Here that is, finally:
> >
> > jlogin -t 120 -c 'show chassis clocks;show chassis environment;show
> chassis
> > firmware;show chassis fpc detail;show chassis hardware detail;show
> chassis
> > hardware models;show chassis routing-engine;show chassis scb;show chassis
> > sfm detail;show chassis ssb;show chassis feb detail;show chassis feb;show
> > chassis cfeb;show chassis alarms;show system license;show system
> > boot-messages;show system core-dumps;show version detail;show version
> > invoke-on other-routing-engine;show configuration;file checksum md5
> > /var/db/scripts/*/*;file list recursive /var/db/scripts/'
> r-platteville-hub
> >
> > You may notice some additions at the end which help us track some slax
> > scripts:
> >
> > file checksum md5 /var/db/scripts/*/*;file list recursive
> /var/db/scripts/'
> >
> > we've had those in place for quite some time (before this) so I'm unsure
> if
> > those are related.
>
> not likely.  I presume you have a banner with something that 

Re: [rancid] Juniper CLI prompts out of sync causing frequent changes

2018-07-27 Thread heasley
Fri, Jul 27, 2018 at 08:18:08AM -0500, Chris Wopat:
> Hi folks,
> 
> Last year I commented on an issue we're seeing across many Juniper devices.
> I neglected to follow up on Heasley's response then but are seeing it a lot
> more frequently now, perhaps related to some OS upgrades or something else.
> 
> 
> Thread was here:
> 
> http://www.shrubbery.net/pipermail/rancid-discuss/2017-October/009916.html
> http://www.shrubbery.net/pipermail/rancid-discuss/2017-October/009922.html
> 
> Looking at the last week or so of these we've had, they're on devices
> running 14.1X53-D4*, which is primaraily QFX5100 but also a few EX4200.
> 
> Here's output from a single diff, its like this on various commands nearly
> every run:
> 
> 
> 
> Index: configs/r-kettlemoraine-hub
> ===
> retrieving revision 1.144
> diff -u -4 -r1.144 r-kettlemoraine-hub
> @@ -1,7 +1,8 @@
>   #RANCID-CONTENT-TYPE: juniper
>   #
>   # r-kettlemoraine-hub> show chassis clocks
> + # show chassis environment
>   # r-kettlemoraine-hub> show chassis environment
>   # Class Item   Status
>   # Power FPC 0 Power Supply 0   OK
>   #   FPC 0 Power Supply 1   OK
> Index: configs/r-lacrossecity-hub
> ===
> retrieving revision 1.108
> diff -u -4 -r1.108 r-lacrossecity-hub
> @@ -15,9 +15,8 @@
>   #   FPC 0 Fan 2OK
>   #   FPC 0 Fan 3OK
>   #
>   # r-lacrossecity-hub> show chassis firmware
> - # show chassis fpc detail
>   # Part Type   Version
>   # FPC 0uboot  U-Boot 1.1.6 (Jun  5 2012 -
> 02:24:53) 1.0.0
>   #  loader FreeBSD/PowerPC U-Boot bootstrap
> loader 2.4
>   #
> Index: configs/r-platteville-hub
> ===
> retrieving revision 1.274
> diff -u -4 -r1.274 r-platteville-hub
> @@ -1,7 +1,8 @@
>   #RANCID-CONTENT-TYPE: juniper
>   #
>   # r-platteville-hub> show chassis clocks
> + # show chassis environment
>   # r-platteville-hub> show chassis environment
>   # Class Item   Status
>   # Power FPC 0 Power Supply 0   OK
>   #   FPC 0 Power Supply 1   OK
> 
> Heasley, you chimed in saying the prompt may be out of sync. While I don't
> quite know what that means, you suggested sending output of:
> 
> eval `rancid -Ct juniper device`
> 
> Here that is, finally:
> 
> jlogin -t 120 -c 'show chassis clocks;show chassis environment;show chassis
> firmware;show chassis fpc detail;show chassis hardware detail;show chassis
> hardware models;show chassis routing-engine;show chassis scb;show chassis
> sfm detail;show chassis ssb;show chassis feb detail;show chassis feb;show
> chassis cfeb;show chassis alarms;show system license;show system
> boot-messages;show system core-dumps;show version detail;show version
> invoke-on other-routing-engine;show configuration;file checksum md5
> /var/db/scripts/*/*;file list recursive /var/db/scripts/' r-platteville-hub
> 
> You may notice some additions at the end which help us track some slax
> scripts:
> 
> file checksum md5 /var/db/scripts/*/*;file list recursive /var/db/scripts/'
> 
> we've had those in place for quite some time (before this) so I'm unsure if
> those are related.

not likely.  I presume you have a banner with something that looks like a
prompt; like 
https://www.juniper.net/documentation/software/junos/junos93/swconfig-system-basics/configuring-a-system-login-message.html.
if not, you'll have to share output with me.

eval `rancid -t juniper -C hostname` &> output

___
Rancid-discuss mailing list
Rancid-discuss@shrubbery.net
http://www.shrubbery.net/mailman/listinfo/rancid-discuss


Re: [rancid] xilogin, stuck on system-view

2018-07-27 Thread heasley
Thu, Jul 26, 2018 at 01:34:06AM +, james Di Trapani:
> Hi All,
> 
> 
> Using latest version of Rancid and xilogin to connect to Huawei AR169's, when 
> trying to pass the command 'system-view' it appears that xilogin gets stuck 
> and cannot interpret the prompt changing from '>' to ']', has anyone else 
> experienced this?
> 

is this a device that runs VRP?  it was developed against VRP v5.170, which
does not change the prompt as you describe; or at least not that I
discovered.

if it is not VRP, I likely can not help.  if it does, I need a full
transcript.

eval `rancid -t vrp -C hostname` &> output

___
Rancid-discuss mailing list
Rancid-discuss@shrubbery.net
http://www.shrubbery.net/mailman/listinfo/rancid-discuss


Re: [rancid] is there scripts for 3com router

2018-07-27 Thread heasley
Thu, Jul 26, 2018 at 09:25:54PM +, Piegorsch, Weylin William:
> Hello,
> 
> I tried the SMC script and, well...
> 
> Weylin
> 
> 
> [rancid@nsgv-prod-59 ~]$ NOPIPE=yes rancid -d -t smc babc273-1032es02.bu.edu
> loadtype: device type smc
> loadtype: found device type smc in /usr/local/rancid/etc/rancid.types.base
> executing hlogin -t 90 -c"" babc273-1032es02.bu.edu
> inloop is not configured for device type smc at /usr/local/rancid/bin/rancid 
> line 126.

have you altered the smc definition?  It should be as follows:
smc;script;srancid
smc;login;hlogin

and that works properly.  you would add a definition similar this to
etc/rancid.type.conf for your own v2-like (or v3) script.  see the manpage.

> [rancid@nsgv-prod-59 ~]$
> 
> 
> -Original Message-
> From: heasley  
> Sent: Wednesday, December 27, 2017 2:02 PM
> To: Piegorsch, Weylin William 
> Cc: heasley ; Adrian Dimitrov 
> ; rancid-discuss@shrubbery.net
> Subject: Re: [rancid] is there scripts for 3com router
> 
> Tue, Dec 26, 2017 at 04:39:09AM +, Piegorsch, Weylin William:
> > Would a script from v1 work in v3?  That’s what we upgraded from; the old 
> > server was circa 2002 or so.
> 
> it should, if the login script hasn't changed in an incompatible way with the 
> device.  to use a v1 or v2 script in v3, the device type must be added to 
> your rancid.types.conf; see an existing v2 entry in rancid.types.base, such 
> as smc.
> 
> > Anyway, thanks for the SMC info; I’ll check that out.  Our 3COMs are so old 
> > I doubt it (the oldest we have running were installed around 1990 I think, 
> > with further installations until sometime 1999 - 2002).  But, it can’t hurt 
> > to check, maybe we can restore rancid’s service to some of them at least.
> > 
> > weylin
> > 
> > -Original Message-
> > From: heasley 
> > Date: Monday, October 30, 2017 at 04:32
> > To: Weylin Piegorsch 
> > Cc: Adrian Dimitrov , 
> > "rancid-discuss@shrubbery.net" 
> > Subject: Re: [rancid] is there scripts for 3com router
> > 
> > Thu, Oct 26, 2017 at 08:13:10PM +, Piegorsch, Weylin William:
> > > There are no 3com scripts.  My predecessor had configured an SNMP 
> > thing, but that stopped working when we upgraded to rancid v3.  If you find 
> > one, let me know because I would love to use it.
> > 
> > theres no reason that i can think of that a script from v2 would not 
> > work in
> > v3.
> > 
> > anyway, some SMC swtiches were marketed under a 3com name, so the smc 
> > device
> > type may support it.
> > 
> > > From: Adrian Dimitrov 
> > > Date: Thursday, October 26, 2017 at 06:57
> > > To: "rancid-discuss@shrubbery.net" 
> > > Subject: [rancid] is there scripts for 3com router
> > > 
> > > Hello team ,
> > > 
> > > Hope all of you guys are doing well. I have my rancid set up working 
> > perfectly fine for a long time now. I am backing up a lot of different 
> > devices successfully, but now I have to back up “3COM” router and I can’t 
> > find scripts for this type of device.
> > > Is there someone who can help with this?
> > > 
> > > Best Regards,
> > > Adrian Dimitrov
> > > System Administrator
> > > [Fellows-Mark-RGB_Sign]
> > > Direct line:  ; Mobile: +359 876 7744 41; SIP URI (Telepresence): 
> > adrian.dimit...@efellows.bg ; Website: 
> > http://www.efellows.bg;
> > >
> > 
> > 
> > 
> > > ___
> > > Rancid-discuss mailing list
> > > Rancid-discuss@shrubbery.net
> > > http://www.shrubbery.net/mailman/listinfo/rancid-discuss
> > 
> > 
> > 

___
Rancid-discuss mailing list
Rancid-discuss@shrubbery.net
http://www.shrubbery.net/mailman/listinfo/rancid-discuss


Re: [rancid] Unable to Conduct Cisco Wireless Controller Backup

2018-07-27 Thread heasley
Fri, Jul 27, 2018 at 12:08:37PM +, Piegorsch, Weylin William:
> I did some experimenting, issuing the "config paging disable" CLI command on 
> initial login seems to eliminate the paging issue, similar to the ASA 
> "terminal pager 0" or the IOS "terminal length 0".
> weylin

wlogin should have sent this command at the beginning.  please look at
the beginning of the transcript with the device.

> On 7/27/18, 8:01 AM, "Piegorsch, Weylin William"  wrote:
> 
> When I login as myself and run the "show sysinfo" command, I get the 
> below output.  I notice that rancid (wlogin) gets stuck on the prompt at the 
> end there.  When expect sees the prompt, a  would be the appropriate 
> response.  I'm not sure how to disable paging, unfortunately. 
> 
> Weylin
> 
> (cumm111-wism-aca05) >show sysinfo
> 
> Manufacturer's Name.. Cisco Systems Inc.
> Product Name. Cisco Controller
> Product Version.. 8.2.166.0
> Bootloader Version... 1.0.20
> Field Recovery Image Version. 7.6.101.1
> Firmware Version. FPGA 1.7, Env 0.0, USB 
> console 2.2
> Build Type... DATA + WPS
> 
> System Name.. cumm111-wism-aca05
> System Location.. 111 Cummington St., 
> Room B05
> System Contact... Network Operations 
> Center
> System ObjectID.. 1.3.6.1.4.1.9.1.1293
> Redundancy Mode.. SSO
> IP Address... 10.123.18.234
> IPv6 Address. ::
> Last Reset... Software reset
> System Up Time... 97 days 17 hrs 26 mins 
> 34 secs
> System Timezone Location. (GMT -5:00) Eastern 
> Time (US and Canada)
> System Stats Realtime Interval... 5
> System Stats Normal Interval. 180
> 
> 
> --More-- or (q)uit
> 
> 
> 
> 
> 
> On 7/26/18, 6:43 PM, "heasley"  wrote:
> 
> Thu, Jul 26, 2018 at 09:20:42PM +, Piegorsch, Weylin William:
> > I should note that using the NOPIPE=yes thing causes the 
> "controller wlogin error: Error: Connection closed (ssh): controller" message 
> that I show below.  If I omit the NOPIPE environment variable on the CLI, I 
> get the output I showed in the other email, where it hangs in the middle of 
> output.
> > 
> > weylin
> 
> i dont see the problem in what you've provided; you'll have to share 
> more
> output with me.
> 
> eval `rancid -t cisco-wlc8 -C hostname` &> output
> 
> 
> 
> 

___
Rancid-discuss mailing list
Rancid-discuss@shrubbery.net
http://www.shrubbery.net/mailman/listinfo/rancid-discuss


[rancid] Fortigate additional tweaks and device filters

2018-07-27 Thread Chris Wopat
Hi Heasley and folks,

Sept 2017 i sent a note in with some proposed tweaks to a Fortigate. to
filter out some additional chattiness, see:

http://www.shrubbery.net/pipermail/rancid-discuss/2017-September/009871.html
http://www.shrubbery.net/pipermail/rancid-discuss/2017-June/009643.html

A few people chimed in seeming to be OK with the propsed changes, which are
to filter these things:

next if (/^\s*IPS-ETDB: .*/);
next if (/^\s*APP-DB: .*/);
next if (/^\s*IPS Malicious URL Database: .*/);
next if (/^\s*Botnet DB: .*/);

Mentioning this as 3.8 came out and i didn't notice any of these included.

We have an additional fortigate tweak we make every time we update too,
which to change from 'show full-configuration' to just 'show' in
@commandtable. 'full-configuration' shows default config, just like the
cisco 'full' command. It's really not necessary IMO.

Cheers,
Chris
___
Rancid-discuss mailing list
Rancid-discuss@shrubbery.net
http://www.shrubbery.net/mailman/listinfo/rancid-discuss


[rancid] Juniper CLI prompts out of sync causing frequent changes

2018-07-27 Thread Chris Wopat
Hi folks,

Last year I commented on an issue we're seeing across many Juniper devices.
I neglected to follow up on Heasley's response then but are seeing it a lot
more frequently now, perhaps related to some OS upgrades or something else.


Thread was here:

http://www.shrubbery.net/pipermail/rancid-discuss/2017-October/009916.html
http://www.shrubbery.net/pipermail/rancid-discuss/2017-October/009922.html

Looking at the last week or so of these we've had, they're on devices
running 14.1X53-D4*, which is primaraily QFX5100 but also a few EX4200.

Here's output from a single diff, its like this on various commands nearly
every run:



Index: configs/r-kettlemoraine-hub
===
retrieving revision 1.144
diff -u -4 -r1.144 r-kettlemoraine-hub
@@ -1,7 +1,8 @@
  #RANCID-CONTENT-TYPE: juniper
  #
  # r-kettlemoraine-hub> show chassis clocks
+ # show chassis environment
  # r-kettlemoraine-hub> show chassis environment
  # Class Item   Status
  # Power FPC 0 Power Supply 0   OK
  #   FPC 0 Power Supply 1   OK
Index: configs/r-lacrossecity-hub
===
retrieving revision 1.108
diff -u -4 -r1.108 r-lacrossecity-hub
@@ -15,9 +15,8 @@
  #   FPC 0 Fan 2OK
  #   FPC 0 Fan 3OK
  #
  # r-lacrossecity-hub> show chassis firmware
- # show chassis fpc detail
  # Part Type   Version
  # FPC 0uboot  U-Boot 1.1.6 (Jun  5 2012 -
02:24:53) 1.0.0
  #  loader FreeBSD/PowerPC U-Boot bootstrap
loader 2.4
  #
Index: configs/r-platteville-hub
===
retrieving revision 1.274
diff -u -4 -r1.274 r-platteville-hub
@@ -1,7 +1,8 @@
  #RANCID-CONTENT-TYPE: juniper
  #
  # r-platteville-hub> show chassis clocks
+ # show chassis environment
  # r-platteville-hub> show chassis environment
  # Class Item   Status
  # Power FPC 0 Power Supply 0   OK
  #   FPC 0 Power Supply 1   OK

Heasley, you chimed in saying the prompt may be out of sync. While I don't
quite know what that means, you suggested sending output of:

eval `rancid -Ct juniper device`

Here that is, finally:

jlogin -t 120 -c 'show chassis clocks;show chassis environment;show chassis
firmware;show chassis fpc detail;show chassis hardware detail;show chassis
hardware models;show chassis routing-engine;show chassis scb;show chassis
sfm detail;show chassis ssb;show chassis feb detail;show chassis feb;show
chassis cfeb;show chassis alarms;show system license;show system
boot-messages;show system core-dumps;show version detail;show version
invoke-on other-routing-engine;show configuration;file checksum md5
/var/db/scripts/*/*;file list recursive /var/db/scripts/' r-platteville-hub

You may notice some additions at the end which help us track some slax
scripts:

file checksum md5 /var/db/scripts/*/*;file list recursive /var/db/scripts/'

we've had those in place for quite some time (before this) so I'm unsure if
those are related.

Cheers,
Chris
___
Rancid-discuss mailing list
Rancid-discuss@shrubbery.net
http://www.shrubbery.net/mailman/listinfo/rancid-discuss


Re: [rancid] Unable to Conduct Cisco Wireless Controller Backup

2018-07-27 Thread Piegorsch, Weylin William
I did some experimenting, issuing the "config paging disable" CLI command on 
initial login seems to eliminate the paging issue, similar to the ASA "terminal 
pager 0" or the IOS "terminal length 0".
weylin

On 7/27/18, 8:01 AM, "Piegorsch, Weylin William"  wrote:

When I login as myself and run the "show sysinfo" command, I get the below 
output.  I notice that rancid (wlogin) gets stuck on the prompt at the end 
there.  When expect sees the prompt, a  would be the appropriate 
response.  I'm not sure how to disable paging, unfortunately. 

Weylin

(cumm111-wism-aca05) >show sysinfo

Manufacturer's Name.. Cisco Systems Inc.
Product Name. Cisco Controller
Product Version.. 8.2.166.0
Bootloader Version... 1.0.20
Field Recovery Image Version. 7.6.101.1
Firmware Version. FPGA 1.7, Env 0.0, USB 
console 2.2
Build Type... DATA + WPS

System Name.. cumm111-wism-aca05
System Location.. 111 Cummington St., Room 
B05
System Contact... Network Operations Center
System ObjectID.. 1.3.6.1.4.1.9.1.1293
Redundancy Mode.. SSO
IP Address... 10.123.18.234
IPv6 Address. ::
Last Reset... Software reset
System Up Time... 97 days 17 hrs 26 mins 34 
secs
System Timezone Location. (GMT -5:00) Eastern Time 
(US and Canada)
System Stats Realtime Interval... 5
System Stats Normal Interval. 180


--More-- or (q)uit





On 7/26/18, 6:43 PM, "heasley"  wrote:

Thu, Jul 26, 2018 at 09:20:42PM +, Piegorsch, Weylin William:
> I should note that using the NOPIPE=yes thing causes the "controller 
wlogin error: Error: Connection closed (ssh): controller" message that I show 
below.  If I omit the NOPIPE environment variable on the CLI, I get the output 
I showed in the other email, where it hangs in the middle of output.
> 
> weylin

i dont see the problem in what you've provided; you'll have to share 
more
output with me.

eval `rancid -t cisco-wlc8 -C hostname` &> output




___
Rancid-discuss mailing list
Rancid-discuss@shrubbery.net
http://www.shrubbery.net/mailman/listinfo/rancid-discuss