1# RANCiD device type configuration.
2#
3# DO NOT override the base types.  Copy them from rancid.types.base and rename
4# them.  If you override existing types, it will be harder to provide support
5# to you and we will secretly despise you.
6#
7# The jlocal example device type for Juniper JUNOS is a copy of the normal
8# juniper type, except that it pipes the show configuration output to display
9# set.
10#
11jlocal;script;rancid -t jlocal
12jlocal;login;jlogin
13jlocal;module;junos
14jlocal;inloop;junos::inloop
15jlocal;command;junos::ShowChassisClocks;show chassis clocks
16jlocal;command;junos::ShowChassisEnvironment;show chassis environment
17jlocal;command;junos::ShowChassisFirmware;show chassis firmware
18jlocal;command;junos::ShowChassisFpcDetail;show chassis fpc detail
19jlocal;command;junos::ShowChassisHardware;show chassis hardware detail
20jlocal;command;junos::ShowChassisHardware;show chassis hardware models
21jlocal;command;junos::ShowChassisRoutingEngine;show chassis routing-engine
22jlocal;command;junos::ShowChassisSCB;show chassis scb
23jlocal;command;junos::ShowChassisSCB;show chassis sfm detail
24jlocal;command;junos::ShowChassisSCB;show chassis ssb
25jlocal;command;junos::ShowChassisSCB;show chassis feb detail
26jlocal;command;junos::ShowChassisSCB;show chassis feb
27jlocal;command;junos::ShowChassisSCB;show chassis cfeb
28jlocal;command;junos::ShowChassisAlarms;show chassis alarms
29jlocal;command;junos::ShowSystemLicense;show system license
30jlocal;command;junos::ShowSystemBootMessages;show system boot-messages
31jlocal;command;junos::ShowSystemCoreDumps;show system core-dumps
32jlocal;command;junos::ShowVersion;show version detail
33jlocal;command;junos::ShowConfiguration;show configuration | display set
34#
35# juniper configuration database tracking
36juniper-cdb;script;rancid -t juniper-cdb
37juniper-cdb;login;jlogin
38juniper-cdb;module;junos
39juniper-cdb;inloop;junos::inloop
40juniper-cdb;command;junos::ShowSystemConfDB;show system configuration database usage
41#
42# save copies in rancid of configs from /tftpboot
43tftpcopy;script;rtftpcopy
44#
45# Like type cisco, but uses show tech instead of show running-config, which
46# does not display passwords.  This is a good example of using two modules
47# together to augment the base module.
48ciscoshtech;script;rancid -t ciscoshtech
49ciscoshtech;login;clogin
50ciscoshtech;module;ios
51ciscoshtech;module;iosshtech
52ciscoshtech;inloop;ios::inloop
53ciscoshtech;command;ios::ShowVersion;show version
54ciscoshtech;command;ios::ShowRedundancy;show redundancy secondary
55ciscoshtech;command;ios::ShowIDprom;show idprom backplane
56ciscoshtech;command;ios::ShowInstallActive;show install active
57ciscoshtech;command;ios::ShowEnv;show env all
58ciscoshtech;command;ios::ShowRSP;show rsp chassis-info
59ciscoshtech;command;ios::ShowGSR;show gsr chassis
60ciscoshtech;command;ios::ShowGSR;show diag chassis-info
61ciscoshtech;command;ios::ShowBoot;show boot
62ciscoshtech;command;ios::ShowBoot;show bootvar
63ciscoshtech;command;ios::ShowBoot;show variables boot
64ciscoshtech;command;ios::ShowLicense;show license udi
65ciscoshtech;command;ios::ShowLicense;show license feature
66ciscoshtech;command;ios::ShowLicense;show license
67ciscoshtech;command;ios::ShowLicense;show license summary
68ciscoshtech;command;ios::ShowFlash;show flash:
69ciscoshtech;command;ios::DirSlotN;dir /all nvram:
70ciscoshtech;command;ios::DirSlotN;dir /all bootflash:
71ciscoshtech;command;ios::DirSlotN;dir /all slot0:
72ciscoshtech;command;ios::DirSlotN;dir /all disk0:
73ciscoshtech;command;ios::DirSlotN;dir /all slot1:
74ciscoshtech;command;ios::DirSlotN;dir /all disk1:
75ciscoshtech;command;ios::DirSlotN;dir /all slot2:
76ciscoshtech;command;ios::DirSlotN;dir /all disk2:
77ciscoshtech;command;ios::DirSlotN;dir /all harddisk:
78ciscoshtech;command;ios::DirSlotN;dir /all harddiska:
79ciscoshtech;command;ios::DirSlotN;dir /all harddiskb:
80ciscoshtech;command;ios::DirSlotN;dir /all sup-bootdisk:;c6500 sup32
81ciscoshtech;command;ios::DirSlotN;dir /all sup-bootflash:;c6500 ios
82ciscoshtech;command;ios::DirSlotN;dir /all sup-microcode:;c6500 ios
83ciscoshtech;command;ios::DirSlotN;dir /all slavenvram:
84ciscoshtech;command;ios::DirSlotN;dir /all slavebootflash:
85ciscoshtech;command;ios::DirSlotN;dir /all slaveslot0:
86ciscoshtech;command;ios::DirSlotN;dir /all slavedisk0:
87ciscoshtech;command;ios::DirSlotN;dir /all slaveslot1:
88ciscoshtech;command;ios::DirSlotN;dir /all slavedisk1:
89ciscoshtech;command;ios::DirSlotN;dir /all slaveslot2:
90ciscoshtech;command;ios::DirSlotN;dir /all slavedisk2:
91ciscoshtech;command;ios::DirSlotN;dir /all slavesup-bootflash:;c7600
92ciscoshtech;command;ios::DirSlotN;dir /all sec-nvram:
93ciscoshtech;command;ios::DirSlotN;dir /all sec-bootflash:
94ciscoshtech;command;ios::DirSlotN;dir /all sec-slot0:
95ciscoshtech;command;ios::DirSlotN;dir /all sec-disk0:
96ciscoshtech;command;ios::DirSlotN;dir /all sec-slot1:
97ciscoshtech;command;ios::DirSlotN;dir /all sec-disk1:
98ciscoshtech;command;ios::DirSlotN;dir /all sec-slot2:
99ciscoshtech;command;ios::DirSlotN;dir /all sec-disk2:
100ciscoshtech;command;ios::ShowContAll;show controllers
101ciscoshtech;command;ios::ShowContCbus;show controllers cbus
102ciscoshtech;command;ios::ShowDiagbus;show diagbus
103ciscoshtech;command;ios::ShowDiag;show diag
104ciscoshtech;command;ios::ShowModule;show module;c6500 ios
105ciscoshtech;command;ios::ShowSpeVersion;show spe version
106ciscoshtech;command;ios::ShowC7200;show c7200
107ciscoshtech;command;ios::ShowCellular;show cellular 0 profile;Cellular modem
108ciscoshtech;command;ios::ShowInventory;show inventory raw
109ciscoshtech;command;ios::ShowVTP;show vtp status
110ciscoshtech;command;ios::ShowVLAN;show vlan
111ciscoshtech;command;ios::ShowVLAN;show vlan-switch
112ciscoshtech;command;ios::ShowDetail;show switch detail
113ciscoshtech;command;ios::ShowSDM;show sdm prefer
114ciscoshtech;command;ios::ShowMTU;show system mtu
115ciscoshtech;command;ios::ShowDebug;show debug
116ciscoshtech;command;iosshtech::WriteTerm;show tech-support
117#
118