Discussion:
[rancid] Backup Extreme switches
Peltokangas Mikko
2018-08-28 14:55:43 UTC
Permalink
Hey, I have Extreme switches from x200 and x460-series. Cant get any backup from those.
Is there anyone who fights with same problem?

Rancid version is 3.7


-mikko
Nick Hilliard
2018-08-28 18:07:46 UTC
Permalink
Peltokangas Mikko wrote on 28/08/2018 15:55:
> Hey, I have Extreme switches from x200 and x460-series. Cant get any
> backup from those.
> Is there anyone who fights with same problem?

make sure the configuration has been saved on the switches first. If
the config hasn't been saved, the collection process will hang.

Nick
heasley
2018-08-28 18:54:30 UTC
Permalink
Tue, Aug 28, 2018 at 07:07:46PM +0100, Nick Hilliard:
> Peltokangas Mikko wrote on 28/08/2018 15:55:
> > Hey, I have Extreme switches from x200 and x460-series. Cant get any
> > backup from those.
> > Is there anyone who fights with same problem?
>
> make sure the configuration has been saved on the switches first. If
> the config hasn't been saved, the collection process will hang.

it shouldnt. please should me xlogin -d -c 'somecommand' output.
Nick Hilliard
2018-08-28 19:58:11 UTC
Permalink
heasley wrote on 28/08/2018 19:54:
> it shouldnt. please should me xlogin -d -c 'somecommand' output.

fake news. This was a bug affecting older versions, but it seems to be
fixed now.

Mikko, make sure you can log in to the switches using ssh from the
rancid account, because the versions of XOS that are supported on these
devices only allows deprecated crypto parameters. You may need this in
your ~rancid/.ssh/config file:

--
Host *
KexAlgorithms +diffie-hellman-group1-sha1
HostkeyAlgorithms +ssh-dss
--

Nick
Peltokangas Mikko
2018-08-31 10:52:03 UTC
Permalink
Well, I'm trying to log in via telnet.

I found this package, what gives some guidance for that:
https://www.dropbox.com/s/tsqclfxg8c8p9n1/rancid-extreme-changes.tgz?dl=0&file_subpath=%2F.
There's only one problem, it tells that I need to add that vendor-to-script -translation to rancid-fe but when I'm looking my
rancid-fe, it look like this: https://pastebin.com/ptb5LZQ8

Do I have some wrong version or something else odd?

Should I add new type to /etc/rancid/rancid.types.base dispite the threat of voodoo doll? ;)

--
-m
________________________________________
Lähettäjä: Nick Hilliard <***@foobar.org>
Lähetetty: 28. elokuuta 2018 22:58
Vastaanottaja: heasley
Kopio: Peltokangas Mikko; rancid-***@shrubbery.net
Aihe: Re: [rancid] Backup Extreme switches

heasley wrote on 28/08/2018 19:54:
> it shouldnt. please should me xlogin -d -c 'somecommand' output.

fake news. This was a bug affecting older versions, but it seems to be
fixed now.

Mikko, make sure you can log in to the switches using ssh from the
rancid account, because the versions of XOS that are supported on these
devices only allows deprecated crypto parameters. You may need this in
your ~rancid/.ssh/config file:

--
Host *
KexAlgorithms +diffie-hellman-group1-sha1
HostkeyAlgorithms +ssh-dss
--

Nick
heasley
2018-08-31 14:23:13 UTC
Permalink
Fri, Aug 31, 2018 at 10:52:03AM +0000, Peltokangas Mikko:
> Well, I'm trying to log in via telnet.
>
> I found this package, what gives some guidance for that:
> https://www.dropbox.com/s/tsqclfxg8c8p9n1/rancid-extreme-changes.tgz?dl=0&file_subpath=%2F.
> There's only one problem, it tells that I need to add that vendor-to-script -translation to rancid-fe but when I'm looking my
> rancid-fe, it look like this: https://pastebin.com/ptb5LZQ8
>
> Do I have some wrong version or something else odd?

that is unsupported in 3.x.

> Should I add new type to /etc/rancid/rancid.types.base dispite the threat of voodoo doll? ;)

you could add one to rancid.types.conf, but it should not be necessary.
please follow the debugging sets in the FAQ S3 Q2 to debug the reason
xlogin is failing or to help us help you by sharing that output.

> --
> -m
> ________________________________________
> Lähettäjä: Nick Hilliard <***@foobar.org>
> Lähetetty: 28. elokuuta 2018 22:58
> Vastaanottaja: heasley
> Kopio: Peltokangas Mikko; rancid-***@shrubbery.net
> Aihe: Re: [rancid] Backup Extreme switches
>
> heasley wrote on 28/08/2018 19:54:
> > it shouldnt. please should me xlogin -d -c 'somecommand' output.
>
> fake news. This was a bug affecting older versions, but it seems to be
> fixed now.
>
> Mikko, make sure you can log in to the switches using ssh from the
> rancid account, because the versions of XOS that are supported on these
> devices only allows deprecated crypto parameters. You may need this in
> your ~rancid/.ssh/config file:
>
> --
> Host *
> KexAlgorithms +diffie-hellman-group1-sha1
> HostkeyAlgorithms +ssh-dss
> --
>
> Nick
Loading...