These are the last lines of the .raw file:
More: <space>, Quit: q or CTRL+Z, One line: <return> ^M ^Mflow-control off^M
mdix auto^M
no back-pressure^M
^M
interface vlan 1^M
interface port-channel 1 - 12^M
^M
spanning-tree^M
spanning-tree mode RSTP^M
^M
qos basic^M
qos trust cos^M
eee enable^M
d4012-01.domain...#exit^M
^MConnection to 10.100.55.251 closed.^M^M
So to me it looks as if the pagination doesnât really work, as you can see in the first line of this output.
But besides that, âeee enableâ is really the last line of the config and it also managed to âexitâ the interface properly.
Best,
Alexander Griesser
Head of Systems Operations
ANEXIA Internetdienstleistungs GmbH
E-Mail: ***@anexia-it.com<mailto:***@anexia-it.com>
Web: http://www.anexia-it.com<http://www.anexia-it.com/>
Anschrift Hauptsitz Klagenfurt: FeldkirchnerstraÃe 140, 9020 Klagenfurt
GeschÀftsfÌhrer: Alexander Windbichler
Firmenbuch: FN 289918a | Gerichtsstand: Klagenfurt | UID-Nummer: AT U63216601
Von: Gauthier, Chris [mailto:***@comscore.com]
Gesendet: Dienstag, 22. August 2017 23:30
An: Alexander Griesser <***@anexia-it.com>; rancid-***@shrubbery.net
Betreff: Re: [rancid] Dell D4012 Switches anyone?
Take a look at the .raw file. Itâs very useful.
Chris Gauthier, CCNP R&S, CCNA Security, BACP
Senior Network Engineer
comScore, Inc.
(503) 331-2704 (Single # Reach)
***@comscore.com<mailto:***@comscore.com>
âTo invent an airplane is nothing. To build one is something. To fly is everything.â
â Ferdinand Ferber, 1908
Chris Gauthier
Senior Network Engineer
|
comScore, Inc.
o +1
503-331-2704<tel:503-331-2704>
***@comscore.com<mailto:***@comscore.com>
317 SW Alder St, Suite 500 | Portland | OR 97204
............................................................................................................................................................................................................................
From: Alexander Griesser <***@anexia-it.com<mailto:***@anexia-it.com>>
Date: Tuesday, August 22, 2017 at 2:23 PM
To: "Gauthier, Chris" <***@comscore.com<mailto:***@comscore.com>>, "rancid-***@shrubbery.net<mailto:rancid-***@shrubbery.net>" <rancid-***@shrubbery.net<mailto:rancid-***@shrubbery.net>>
Subject: AW: [rancid] Dell D4012 Switches anyone?
Ah damnâŠ
Thanks for pointing that out.
I donât use them normally too, but this customer has them running and Iâm trying to at least store the config in an automated wayâŠ
Output looks different now:
$ export NOPIPE=yes;rancid -d -t dellglump 10.100.55.251
loadtype: device type dellglump
loadtype: found device type dellglump in /etc/rancid/rancid.types.conf
executing dlogin -t 300 -c"show system;show running-config" 10.100.55.251
HIT COMMAND:d4012-01.domain...#show system
In GetSystem: d4012-01.domain...#show system
HIT COMMAND:d4012-01.domain...#show running-config
In GetConf: d4012-01.domain...#show running-config
10.100.55.251: End of run not found
eee enable
Does that help?
Alexander Griesser
Head of Systems Operations
ANEXIA Internetdienstleistungs GmbH
E-Mail: ***@anexia-it.com<mailto:***@anexia-it.com>
Web: http://www.anexia-it.com<http://www.anexia-it.com/>
Anschrift Hauptsitz Klagenfurt: FeldkirchnerstraÃe 140, 9020 Klagenfurt
GeschÀftsfÌhrer: Alexander Windbichler
Firmenbuch: FN 289918a | Gerichtsstand: Klagenfurt | UID-Nummer: AT U63216601
Von: Gauthier, Chris [mailto:***@comscore.com]
Gesendet: Dienstag, 22. August 2017 23:19
An: Alexander Griesser <***@anexia-it.com<mailto:***@anexia-it.com>>; rancid-***@shrubbery.net<mailto:rancid-***@shrubbery.net>
Betreff: Re: [rancid] Dell D4012 Switches anyone?
There is a typo in there between âdellgLumpâ and âdellgumpâ ⺠May be my error in typing earlier. I donât use dell normally.
Chris Gauthier, CCNP R&S, CCNA Security, BACP
Senior Network Engineer
comScore, Inc.
(503) 331-2704 (Single # Reach)
***@comscore.com<mailto:***@comscore.com>
âTo invent an airplane is nothing. To build one is something. To fly is everything.â
â Ferdinand Ferber, 1908
Chris Gauthier
Senior Network Engineer
|
comScore, Inc.
o +1
503-331-2704<tel:503-331-2704>
***@comscore.com<mailto:***@comscore.com>
317 SW Alder St, Suite 500 | Portland | OR 97204
............................................................................................................................................................................................................................
From: Alexander Griesser <***@anexia-it.com<mailto:***@anexia-it.com>>
Date: Tuesday, August 22, 2017 at 2:08 PM
To: "Gauthier, Chris" <***@comscore.com<mailto:***@comscore.com>>, "rancid-***@shrubbery.net<mailto:rancid-***@shrubbery.net>" <rancid-***@shrubbery.net<mailto:rancid-***@shrubbery.net>>
Subject: AW: [rancid] Dell D4012 Switches anyone?
Thanks, Chris.
Doesnât work though and maybe thatâs also the reason why the collection doesnât work:
$ export NOPIPE=YES;rancid -d -t dellgump 10.100.55.251
loadtype: device type dellgump
login script not defined for device type dellgump
Although this has been defined as far as I can seeâŠ
$ grep dellglump /etc/rancid/rancid.types.conf
dellglump;script;rancid -t dellglump
dellglump;login;dlogin
dellglump;module;dell
dellglump;inloop;dell::inloop
dellglump;command;dell::GetSystem;show system
dellglump;command;dell::GetConf;show running-config
Alexander Griesser
Head of Systems Operations
ANEXIA Internetdienstleistungs GmbH
E-Mail: ***@anexia-it.com<mailto:***@anexia-it.com>
Web: http://www.anexia-it.com<http://www.anexia-it.com/>
Anschrift Hauptsitz Klagenfurt: FeldkirchnerstraÃe 140, 9020 Klagenfurt
GeschÀftsfÌhrer: Alexander Windbichler
Firmenbuch: FN 289918a | Gerichtsstand: Klagenfurt | UID-Nummer: AT U63216601
Von: Gauthier, Chris [mailto:***@comscore.com]
Gesendet: Dienstag, 22. August 2017 23:04
An: Alexander Griesser <***@anexia-it.com<mailto:***@anexia-it.com>>; rancid-***@shrubbery.net<mailto:rancid-***@shrubbery.net>
Betreff: Re: [rancid] Dell D4012 Switches anyone?
I would set up the debug environment:
(on CentOS 7):
***@host ~# export NOPIPE=YES; /usr/local/rancid/bin/rancid -d -t dellglump switch.fqdn.example.com
Look for the switch.fqdn.example.com.raw file. That will help. There will also be a switch.fqdn.example.com.new file that will contain info.
Since you know the login works, above is where I would start.
Cheers,
Chris Gauthier, CCNP R&S, CCNA Security, BACP
Senior Network Engineer
comScore, Inc.
(503) 331-2704 (Single # Reach)
***@comscore.com<mailto:***@comscore.com>
âTo invent an airplane is nothing. To build one is something. To fly is everything.â
â Ferdinand Ferber, 1908
Chris Gauthier
Senior Network Engineer
|
comScore, Inc.
o +1
503-331-2704<tel:503-331-2704>
***@comscore.com<mailto:***@comscore.com>
317 SW Alder St, Suite 500 | Portland | OR 97204
............................................................................................................................................................................................................................
From: Rancid-discuss <rancid-discuss-***@shrubbery.net<mailto:rancid-discuss-***@shrubbery.net>> on behalf of Alexander Griesser <***@anexia-it.com<mailto:***@anexia-it.com>>
Date: Tuesday, August 22, 2017 at 1:22 PM
To: "rancid-***@shrubbery.net<mailto:rancid-***@shrubbery.net>" <rancid-***@shrubbery.net<mailto:rancid-***@shrubbery.net>>
Subject: [rancid] Dell D4012 Switches anyone?
Hey there,
has anyone ever succeeded in monitoring Dell D4012 switches?
They are a somewhat crippled version of the more feature-rich Dell PowerConnect Switches and do only offer limited capabilities on the GUI, but rancid is able do `dloginÂŽ into those switches and Iâve created a new device template in rancid.types.conf for them with commands that are definitely working after `dlogin` to the switches:
dellglump;script;rancid -t dellglump
dellglump;login;dlogin
dellglump;module;dell
dellglump;inloop;dell::inloop
dellglump;command;dell::GetSystem;show system
dellglump;command;dell::GetConf;show running-config
But still, rancid seems to time out when trying to fetch data from them.
This is what gets printed to the logs:
Trying to get all of the configs.
10.100.55.251: End of run not found
eee enable
10.100.55.252: End of run not found
eee enable
=====================================
Getting missed routers: round 1.
10.100.55.252: End of run not found
eee enable
10.100.55.251: End of run not found
eee enable
=====================================
Getting missed routers: round 2.
10.100.55.251: End of run not found
eee enable
10.100.55.252: End of run not found
eee enable
=====================================
Getting missed routers: round 3.
10.100.55.252: End of run not found
eee enable
10.100.55.251: End of run not found
eee enable
=====================================
Getting missed routers: round 4.
10.100.55.251: End of run not found
eee enable
10.100.55.252: End of run not found
eee enable
Any idea where to start my investigation?
Best,
Alexander Griesser
Head of Systems Operations
ANEXIA Internetdienstleistungs GmbH
E-Mail: ***@anexia-it.com<mailto:***@anexia-it.com>
Web: http://www.anexia-it.com<http://www.anexia-it.com/>
Anschrift Hauptsitz Klagenfurt: FeldkirchnerstraÃe 140, 9020 Klagenfurt
GeschÀftsfÌhrer: Alexander Windbichler
Firmenbuch: FN 289918a | Gerichtsstand: Klagenfurt | UID-Nummer: AT U63216601