Hi Antonio,
So I ran this against two junipers, one that has super-user (10.50.1.1) and
one that has specific allow-commands. Below are the results.
My logs still don't show anything in them, nor are there configurations
recorded.
One thing I've noticed in my setup, is that I have these two folder
structures, which seems like its duplicating something...confusing the
application, I'm not sure.
***@FP-RANCID:/usr/local/rancid/var$ ls -al
total 20
drwxr-xr-x 5 rancid rancid 4096 Feb 13 11:26 .
drwxr-xr-x 7 rancid rancid 4096 Feb 9 13:15 ..
drwxrwxr-x 4 rancid rancid 4096 Feb 13 11:26 CVS
drwxr-x--- 4 rancid rancid 4096 Feb 14 13:00 fareportal
drwxr-x--- 2 rancid rancid 4096 Feb 14 13:00 logs
***@FP-RANCID:/usr/local/rancid/var$ cd fareportal/
***@FP-RANCID:/usr/local/rancid/var/fareportal$ ls -al
total 32
drwxr-x--- 4 rancid rancid 4096 Feb 14 13:00 .
drwxr-xr-x 5 rancid rancid 4096 Feb 13 11:26 ..
drwxr-x--- 3 rancid rancid 4096 Feb 13 11:26 configs
drwxr-x--- 2 rancid rancid 4096 Feb 13 11:53 CVS
-rw-r----- 1 rancid rancid 47 Feb 13 11:53 .cvsignore
-rw-r----- 1 rancid rancid 88 Feb 13 11:45 router.db
-rw-r----- 1 rancid rancid 86 Feb 14 13:00 routers.all
-rw-r----- 1 rancid rancid 86 Feb 14 13:00 routers.down
-rw-r----- 1 rancid rancid 0 Feb 14 13:00 routers.up
***@FP-RANCID:/usr/local/rancid/var/CVS$ ls
CVSROOT fareportal
***@FP-RANCID:/usr/local/rancid/var/CVS$ ls -al
total 16
drwxrwxr-x 4 rancid rancid 4096 Feb 13 11:26 .
drwxr-xr-x 5 rancid rancid 4096 Feb 13 11:26 ..
drwxrwxr-x 3 rancid rancid 4096 Feb 13 11:53 CVSROOT
drwxrwxr-x 3 rancid rancid 4096 Feb 14 13:00 fareportal
***@FP-RANCID:/usr/local/rancid/var/CVS$ cd fareportal/
***@FP-RANCID:/usr/local/rancid/var/CVS/fareportal$ ls
configs router.db,v
***@FP-RANCID:/usr/local/rancid/var/CVS/fareportal$ cd configs/
***@FP-RANCID:/usr/local/rancid/var/CVS/fareportal/configs$ ls -al
total 8
drwxrwxr-x 2 rancid rancid 4096 Feb 13 18:30 .
drwxrwxr-x 3 rancid rancid 4096 Feb 14 13:00 ..
***@FP-RANCID:~$ rancid -t juniper -d 10.50.1.1
loadtype: device type juniper
loadtype: found device type juniper in
/usr/local/rancid/etc/rancid.types.base
executing 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 configuration" 10.50.1.1
PROMPT MATCH: ***@EX-NYCorp-Core>
HIT COMMAND:***@EX-NYCorp-Core> show chassis clocks
In ShowChassisClocks: ***@EX-NYCorp-Core> show chassis clocks
HIT COMMAND:***@EX-NYCorp-Core> show chassis environment
In ShowChassisEnvironment: ***@EX-NYCorp-Core> show chassis
environment
HIT COMMAND:***@EX-NYCorp-Core> show chassis firmware
In ShowChassisFirmware: ***@EX-NYCorp-Core> show chassis firmware
HIT COMMAND:***@EX-NYCorp-Core> show chassis fpc detail
In ShowChassisFpcDetail: ***@EX-NYCorp-Core> show chassis fpc detail
HIT COMMAND:***@EX-NYCorp-Core> show chassis hardware detail
In ShowChassisHardware: ***@EX-NYCorp-Core> show chassis hardware
detail
HIT COMMAND:***@EX-NYCorp-Core> show chassis hardware models
In ShowChassisHardware: ***@EX-NYCorp-Core> show chassis hardware
models
HIT COMMAND:***@EX-NYCorp-Core> show chassis routing-engine
In ShowChassisRoutingEngine: ***@EX-NYCorp-Core> show chassis
routing-engine
HIT COMMAND:***@EX-NYCorp-Core> show chassis scb
In ShowChassisSCB: ***@EX-NYCorp-Core> show chassis scb
HIT COMMAND:***@EX-NYCorp-Core> show chassis sfm detail
In ShowChassisSCB: ***@EX-NYCorp-Core> show chassis sfm detail
HIT COMMAND:***@EX-NYCorp-Core> show chassis ssb
In ShowChassisSCB: ***@EX-NYCorp-Core> show chassis ssb
HIT COMMAND:***@EX-NYCorp-Core> show chassis feb detail
In ShowChassisSCB: ***@EX-NYCorp-Core> show chassis feb detail
HIT COMMAND:***@EX-NYCorp-Core> show chassis feb
In ShowChassisSCB: ***@EX-NYCorp-Core> show chassis feb
HIT COMMAND:***@EX-NYCorp-Core> show chassis cfeb
In ShowChassisSCB: ***@EX-NYCorp-Core> show chassis cfeb
HIT COMMAND:***@EX-NYCorp-Core> show chassis alarms
In ShowChassisAlarms: ***@EX-NYCorp-Core> show chassis alarms
HIT COMMAND:***@EX-NYCorp-Core> show system license
In ShowSystemLicense: ***@EX-NYCorp-Core> show system license
HIT COMMAND:***@EX-NYCorp-Core> show system boot-messages
In ShowSystemBootMessages: ***@EX-NYCorp-Core> show system
boot-messages
HIT COMMAND:***@EX-NYCorp-Core> show system core-dumps
In ShowSystemCoreDumps: ***@EX-NYCorp-Core> show system core-dumps
HIT COMMAND:***@EX-NYCorp-Core> show version detail
In ShowVersion: ***@EX-NYCorp-Core> show version detail
HIT COMMAND:***@EX-NYCorp-Core> show configuration
In ShowConfiguration: ***@EX-NYCorp-Core> show configuration
***@FP-RANCID:~$ rancid -t juniper -d 10.50.1.3
loadtype: device type juniper
loadtype: found device type juniper in
/usr/local/rancid/etc/rancid.types.base
executing 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 configuration" 10.50.1.3
PROMPT MATCH: ***@Distribution_North>
HIT COMMAND:***@Distribution_North> show chassis clocks
In ShowChassisClocks: ***@Distribution_North> show chassis clocks
HIT COMMAND:***@Distribution_North> show chassis environment
In ShowChassisEnvironment: ***@Distribution_North> show chassis
environment
HIT COMMAND:***@Distribution_North> show chassis firmware
In ShowChassisFirmware: ***@Distribution_North> show chassis firmware
HIT COMMAND:***@Distribution_North> show chassis fpc detail
In ShowChassisFpcDetail: ***@Distribution_North> show chassis fpc
detail
HIT COMMAND:***@Distribution_North> show chassis hardware detail
In ShowChassisHardware: ***@Distribution_North> show chassis
hardware detail
HIT COMMAND:***@Distribution_North> show chassis hardware models
In ShowChassisHardware: ***@Distribution_North> show chassis
hardware models
HIT COMMAND:***@Distribution_North> show chassis routing-engine
In ShowChassisRoutingEngine: ***@Distribution_North> show chassis
routing-engine
HIT COMMAND:***@Distribution_North> show chassis scb
In ShowChassisSCB: ***@Distribution_North> show chassis scb
HIT COMMAND:***@Distribution_North> show chassis sfm detail
In ShowChassisSCB: ***@Distribution_North> show chassis sfm detail
HIT COMMAND:***@Distribution_North> show chassis ssb
In ShowChassisSCB: ***@Distribution_North> show chassis ssb
HIT COMMAND:***@Distribution_North> show chassis feb detail
In ShowChassisSCB: ***@Distribution_North> show chassis feb detail
HIT COMMAND:***@Distribution_North> show chassis feb
In ShowChassisSCB: ***@Distribution_North> show chassis feb
HIT COMMAND:***@Distribution_North> show chassis cfeb
In ShowChassisSCB: ***@Distribution_North> show chassis cfeb
HIT COMMAND:***@Distribution_North> show chassis alarms
In ShowChassisAlarms: ***@Distribution_North> show chassis alarms
HIT COMMAND:***@Distribution_North> show system license
In ShowSystemLicense: ***@Distribution_North> show system license
HIT COMMAND:***@Distribution_North> show system boot-messages
In ShowSystemBootMessages: ***@Distribution_North> show system
boot-messages
HIT COMMAND:***@Distribution_North> show system core-dumps
In ShowSystemCoreDumps: ***@Distribution_North> show system
core-dumps
HIT COMMAND:***@Distribution_North> show version detail
In ShowVersion: ***@Distribution_North> show version detail
HIT COMMAND:***@Distribution_North> show configuration
In ShowConfiguration: ***@Distribution_North> show configuration
ERROR: 10.50.1.3 configuration appears truncated.
10.50.1.3: End of run not found
10.50.1.3: End of run not found
Ryan Douglass Milton
Post by Antonio QuerubinPost by Ryan Miltonloadtype(): device_type is empty
Couldn't load device type spec for
Try 'rancid -t juniper -d 10.50.1.1'
Antonio Querubin
_______________________________________________
Rancid-discuss mailing list
http://www.shrubbery.net/mailman/listinfo/rancid-discuss