1# RANCiD base device type configuration. 2# 3# DO NOT alter the base device types, they WILL be over-written by future RANCiD 4# release installations. Customize them by creating clones in rancid.types.conf 5# with a different type name. If you override existing types, it will be harder 6# to provide support to you and I will make a voodoo doll in your likeness. 7# 8a10;script;rancid -t a10 9a10;login;a10login 10a10;module;acos 11a10;inloop;acos::inloop 12a10;command;acos::ShowVersion;show version 13a10;command;acos::ShowLicense;show license 14a10;command;acos::ShowBootimage;show bootimage 15a10;command;acos::ShowAdmin;show admin 16a10;command;acos::ShowVlan;show vlan 17a10;command;acos::ShowVlan;show vlans 18a10;command;acos::ShowAflex;show aflex all-partitions 19a10;command;acos::ShowRunningConfig;show running-config all-partitions 20a10;command;acos::ShowRunningConfig;show partition-config all 21# 22agm;script;agmrancid 23# 24# XXX This was the start of support for adtran, but it is incomplete. 25#adtran;script;rancid -t adtran 26#adtran;module;adtran 27#adtran;inloop;adtran::inloop 28#adtran;login;clogin 29# TA5000 30#adtran;command;adtran::ShowVersion;show version 31#adtran;command;adtran::ShowSystemInventory;show system inventory 32#adtran;command;adtran::ShowTableInterfaces;show table interfaces 33#adtran;command;adtran::ShowEvc;show evc 34#adtran;command;adtran::ShowEvcmap;show evc-map 35#adtran;command;adtran::ShowEfmgroup;show efm-group 1 36#adtran;command;adtran::ShowInterfacesShdsl;show interfaces shdsl 37#adtran;command;adtran::ShowInterfacesAdsl;show interfaces adsl 38# EFM NTU 39#adtran;command;adtran::ShowInterfaces;show interfaces 40#adtran;command;adtran::WriteTerm;show running-config 41# 42alteon;script;arancid 43alteon;login;alogin 44# 45arbor;script;rancid -t arbor 46arbor;login;anlogin 47arbor;module;arbor 48arbor;inloop;arbor::inloop 49arbor;command;arbor::ShowVersion;system version 50arbor;command;arbor::ShowVersion;system file show 51arbor;command;arbor::ShowHardware;system hardware 52arbor;command;arbor::ShowHardware;system show 53arbor;command;arbor::ShowFlash;system disk show 54arbor;command;arbor::ShowConfig;config show 55# 56# Arrcus 57arcos;script;rancid -t arcos 58arcos;login;xilogin 59arcos;module;arcos 60arcos;inloop;arcos::inloop 61arcos:command;rancid::RunCommand;timestamp disable 62arcos;command;arcos::ShowVersion;show version 63arcos;command;arcos::ShowHardware;show hardware | notab 64# perhaps replace/augment show hardware with show component <thing> 65#XXX arcos;command;arcos::ShowHardware;show component host* 66#XXX arcos;command;arcos::ShowHardware;show component fan* 67#XXX arcos;command;arcos::ShowHardware;show component psu* 68#XXX arcos;command;arcos::ShowHardware;show component sfp* 69arcos;command;arcos::WriteTerm;show running-config 70# 71arista;script;rancid -t arista 72arista;login;clogin 73arista;module;aeos 74arista;inloop;aeos::inloop 75arista;command;aeos::ShowVersion;show version 76arista;command;aeos::ShowBoot;show boot-config 77arista;command;aeos::ShowEnv;show env all 78arista;command;aeos::ShowFlash;dir flash: 79arista;command;aeos::ShowInventory;show inventory 80arista;command;aeos::ShowBootExt;show boot-extensions 81arista;command;aeos::ShowExt;show extensions 82arista;command;aeos::DiffConfig;diff startup-config running-config 83#arista;command;aeos::WriteRibd;show tech ribd running 84arista;command;aeos::WriteTerm;show running-config 85# 86# AXIS T8504R switch 87# This reportedly resembles Cisco IOS sufficiently that this works. 88axis;script;rancid -t axis 89axis;login;clogin 90axis;module;ios 91axis;inloop;ios::inloop 92axis;command;ios::ShowVersion;show version 93axis;command;ios::ShowVLAN;show vlan 94axis;command;ios::WriteTerm;show running-config 95# 96baynet;script;brancid 97baynet;login;blogin 98# 99# Brocade 100#XXX brocade;script;rancid -t brocade 101brocade;login;brlogin 102#XXX brocade;module; XXX 103#XXX brocade;inloop; XXX 104#XXX brocade;command;XXX::ChassisShow;chassisShow 105#XXX brocade;command;XXX::FirmwareShow;firmwareShow 106#XXX brocade;command;XXX::FirmwareShow;version 107#XXX brocade;command;XXX::FirmwareShow;zoneshow 108#XXX brocade;command;XXX::FirmwareShow;portcfgshow 109#XXX brocade;command;XXX::Fosconfig;fosConfig --show 110#XXX brocade;command;XXX::IpAddrShow;ipAddrShow 111#XXX brocade;command;XXX::LicenseShow;licenseShow 112#XXX brocade;command;XXX::DomainsShow;domainsShow 113#XXX brocade;command;XXX::ConfigShow;configShow 114# 115# Ciena Waveserver 116ciena-ws;script;rancid -t ciena-ws 117ciena-ws;login;hlogin 118ciena-ws;timeout;120 119ciena-ws;module;wavesvros 120ciena-ws;inloop;wavesvros::inloop 121ciena-ws;command;wavesvros::ShowVersion;software show 122ciena-ws;command;wavesvros::GenericCmd;license file list 123ciena-ws;command;wavesvros::ShowChassis;chassis show 124ciena-ws;command;wavesvros::GenericCmd;blade show 125ciena-ws;command;wavesvros::GenericCmd;alarm show 126ciena-ws;command;wavesvros::WriteTerm;configuration show 127# 128# Cisco Catalyst 5k (all catalyst o/s switches) 129cat5;script;cat5rancid 130cat5;login;clogin 131# 132# Cisco IOS device & Allied Telesis AW+ 133ios;alias;cisco 134cisco;script;rancid -t cisco 135cisco;login;clogin 136cisco;module;ios 137cisco;inloop;ios::inloop 138cisco;command;ios::ShowVersion;show version 139cisco;command;ios::ShowRedundancy;show redundancy secondary 140cisco;command;ios::ShowIDprom;show idprom backplane 141cisco;command;ios::ShowInstallActive;show install active 142cisco;command;ios::ShowEnv;show env all 143cisco;command;ios::ShowRSP;show rsp chassis-info 144cisco;command;ios::ShowGSR;show gsr chassis 145cisco;command;ios::ShowGSR;show diag chassis-info 146cisco;command;ios::ShowBoot;show boot 147cisco;command;ios::ShowBoot;show bootvar 148cisco;command;ios::ShowBoot;show variables boot 149cisco;command;ios::ShowLicense;show license udi 150cisco;command;ios::ShowLicense;show license feature 151cisco;command;ios::ShowLicense;show license 152cisco;command;ios::ShowLicense;show license summary 153cisco;command;ios::ShowActivationKey;show activation-key;ASA/PIX 154cisco;command;ios::ShowFlash;show flash: 155cisco;command;ios::DirSlotN;dir /all nvram: 156cisco;command;ios::DirSlotN;dir /all bootflash: 157cisco;command;ios::DirSlotN;dir /all slot0: 158cisco;command;ios::DirSlotN;dir /all disk0: 159cisco;command;ios::DirSlotN;dir /all slot1: 160cisco;command;ios::DirSlotN;dir /all disk1: 161cisco;command;ios::DirSlotN;dir /all slot2: 162cisco;command;ios::DirSlotN;dir /all disk2: 163cisco;command;ios::DirSlotN;dir /all harddisk: 164cisco;command;ios::DirSlotN;dir /all harddiska: 165cisco;command;ios::DirSlotN;dir /all harddiskb: 166cisco;command;ios::DirSlotN;dir /all sup-bootdisk:;c6500 sup32 167cisco;command;ios::DirSlotN;dir /all sup-bootflash:;c6500 ios 168cisco;command;ios::DirSlotN;dir /all sup-microcode:;c6500 ios 169cisco;command;ios::DirSlotN;dir /all slavenvram: 170cisco;command;ios::DirSlotN;dir /all slavebootflash: 171cisco;command;ios::DirSlotN;dir /all slaveslot0: 172cisco;command;ios::DirSlotN;dir /all slavedisk0: 173cisco;command;ios::DirSlotN;dir /all slaveslot1: 174cisco;command;ios::DirSlotN;dir /all slavedisk1: 175cisco;command;ios::DirSlotN;dir /all slaveslot2: 176cisco;command;ios::DirSlotN;dir /all slavedisk2: 177cisco;command;ios::DirSlotN;dir /all slavesup-bootflash:;c7600 178cisco;command;ios::DirSlotN;dir /all sec-nvram: 179cisco;command;ios::DirSlotN;dir /all sec-bootflash: 180cisco;command;ios::DirSlotN;dir /all sec-slot0: 181cisco;command;ios::DirSlotN;dir /all sec-disk0: 182cisco;command;ios::DirSlotN;dir /all sec-slot1: 183cisco;command;ios::DirSlotN;dir /all sec-disk1: 184cisco;command;ios::DirSlotN;dir /all sec-slot2: 185cisco;command;ios::DirSlotN;dir /all sec-disk2: 186cisco;command;ios::ShowContAll;show controllers 187cisco;command;ios::ShowContCbus;show controllers cbus 188cisco;command;ios::ShowDiagbus;show diagbus 189cisco;command;ios::ShowDiag;show diag 190cisco;command;ios::ShowCapture;show capture;ASA/PIX 191cisco;command;ios::ShowModule;show module switch;c6500 ios vss 192cisco;command;ios::ShowModule;show module;c6500 ios 193cisco;command;ios::ShowSpeVersion;show spe version 194cisco;command;ios::ShowC7200;show c7200 195cisco;command;ios::ShowCellular;show cellular 0 profile;Cellular modem 196cisco;command;ios::ShowHWProgrammable;show hw-programmable all 197cisco;command;ios::ShowInventory;show inventory raw 198cisco;command;ios::ShowInventory;show inventory;ASA/PIX 199cisco;command;ios::ShowVTP;show vtp status 200cisco;command;ios::ShowDot1x;show dot1x 201cisco;command;ios::ShowVLAN;show vlan 202cisco;command;ios::ShowVLAN;show vlan-switch 203cisco;command;ios::ShowDetail;show switch detail 204cisco;command;ios::ShowSDM;show sdm prefer 205cisco;command;ios::ShowMTU;show system mtu 206cisco;command;ios::ShowDebug;show debug 207cisco;command;ios::ShowShun;show shun;ASA/PIX 208cisco;command;ios::WriteTerm;more system:running-config;ASA/PIX 209cisco;command;ios::WriteTerm;show running-config view full;workaround for role-based CLI 210cisco;command;ios::WriteTerm;show running-config 211cisco;command;ios::WriteTerm;write term 212# 213ios-nx;alias;cisco-nx 214cisco-nx;script;rancid -t cisco-nx 215cisco-nx;login;clogin 216cisco-nx;module;nxos 217cisco-nx;inloop;nxos::inloop 218cisco-nx;command;rancid::RunCommand;term no monitor-force 219cisco-nx;command;nxos::ShowVersion;show version 220cisco-nx;command;nxos::ShowVersionBuild;show version build-info all 221cisco-nx;command;nxos::ShowLicense;show license 222cisco-nx;command;nxos::ShowLicense;show license usage 223cisco-nx;command;nxos::ShowLicense;show license host-id 224cisco-nx;command;nxos::ShowRedundancy;show system redundancy status 225cisco-nx;command;nxos::ShowEnv;show environment clock 226cisco-nx;command;nxos::ShowEnv;show environment fan 227cisco-nx;command;nxos::ShowEnv;show environment fex all fan 228cisco-nx;command;nxos::ShowEnvTemp;show environment temperature 229cisco-nx;command;nxos::ShowEnvPower;show environment power 230cisco-nx;command;nxos::ShowBoot;show boot 231cisco-nx;command;nxos::DirSlotN;dir bootflash: 232cisco-nx;command;nxos::DirSlotN;dir debug: 233cisco-nx;command;nxos::DirSlotN;dir logflash: 234cisco-nx;command;nxos::DirSlotN;dir slot0: 235cisco-nx;command;nxos::DirSlotN;dir usb1: 236cisco-nx;command;nxos::DirSlotN;dir usb2: 237cisco-nx;command;nxos::DirSlotN;dir volatile: 238cisco-nx;command;nxos::ShowModule;show module 239cisco-nx;command;nxos::ShowModule;show module xbar 240#cisco-nx;command;nxos::ShowModule;show module X;add, but wait for show all 241#cisco-nx;command;nxos::ShowModule;show module X epld;add, but wait for show all 242cisco-nx;command;nxos::ShowInventory;show inventory 243cisco-nx;command;nxos::ShowIntTransceiver;show interface transceiver 244cisco-nx;command;nxos::ShowVTP;show vtp status;drop? 245cisco-nx;command;nxos::ShowVLAN;show vlan 246cisco-nx;command;nxos::ShowDebug;show debug 247cisco-nx;command;nxos::ShowCores;show cores vdc-all 248cisco-nx;command;nxos::ShowProcLog;show processes log vdc-all 249cisco-nx;command;nxos::ShowFex;show module fex 250cisco-nx;command;nxos::ShowFex;show fex 251cisco-nx;command;nxos::WriteTerm;show running-config 252# 253# Cisco small business devices. These are peculiar; most likely this will not 254# work with all of them, but is also reported to work with other Marvell OEMs, 255# including PowerConnect 5448 256ios-sb;alias;cisco-sb 257cisco-sb;script;rancid -t cisco-sb 258cisco-sb;login;csblogin 259cisco-sb;module;iossb 260cisco-sb;inloop;iossb::inloop 261cisco-sb;command;iossb::ShowVersion;show version 262cisco-sb;command;iossb::ShowSystem;show system 263cisco-sb;command;iossb::WriteTerm;show running-config 264# 265# IOS-XR or IOS-cXR (Classic XR) 266ios-xr;alias;cisco-xr 267cisco-xr;script;rancid -t cisco-xr 268cisco-xr;login;clogin 269cisco-xr;module;iosxr 270cisco-xr;inloop;iosxr::inloop 271cisco-xr;command;rancid::RunCommand;terminal no-timestamp;Disable timestamps XR 3.6 272cisco-xr;command;rancid::RunCommand;terminal exec prompt no-timestamp;Disable timestamps XR 3.8 273cisco-xr;command;iosxr::ShowVersion;admin show version 274cisco-xr;command;iosxr::ShowInstallSummary;admin show install active 275cisco-xr;command;iosxr::ShowLicense;admin show license udi;XR image 276cisco-xr;command;iosxr::ShowLicense;admin show license;XR image 277cisco-xr;command;iosxr::ShowBootVar;admin show variables boot;XR image 278cisco-xr;command;iosxr::ShowHWfpd;admin show hw-module fpd location all;XR LC images 279cisco-xr;command;iosxr::ShowRedundancy;show redundancy 280cisco-xr;command;iosxr::ShowInstallActive;show install active 281cisco-xr;command;iosxr::ShowEnv;admin show env all 282cisco-xr;command;iosxr::DirSlotN;dir /all nvram: 283cisco-xr;command;iosxr::DirSlotN;dir /all bootflash: 284cisco-xr;command;iosxr::DirSlotN;dir /all compactflash: 285cisco-xr;command;iosxr::DirSlotN;dir /all compactflasha: 286cisco-xr;command;iosxr::DirSlotN;dir /all slot0: 287cisco-xr;command;iosxr::DirSlotN;dir /all disk0: 288cisco-xr;command;iosxr::DirSlotN;dir /all disk0a: 289cisco-xr;command;iosxr::DirSlotN;dir /all slot1: 290cisco-xr;command;iosxr::DirSlotN;dir /all disk1: 291cisco-xr;command;iosxr::DirSlotN;dir /all disk1a: 292cisco-xr;command;iosxr::DirSlotN;dir /all slot2: 293cisco-xr;command;iosxr::DirSlotN;dir /all disk2: 294cisco-xr;command;iosxr::DirSlotN;dir /all harddisk: 295cisco-xr;command;iosxr::DirSlotN;dir /all harddiska: 296cisco-xr;command;iosxr::DirSlotN;dir /all harddiskb: 297cisco-xr;command;iosxr::ShowContAll;show controllers 298cisco-xr;command;iosxr::AdminShowDiag;admin show diag 299cisco-xr;command;iosxr::ShowInventory;admin show inventory raw 300cisco-xr;command;iosxr::ShowVLAN;show vlan 301cisco-xr;command;iosxr::ShowDebug;show debug 302cisco-xr;command;iosxr::ShowRPL;show rpl maximum 303cisco-xr;command;iosxr::AdminShowRunning;admin show running 304cisco-xr;command;iosxr::WriteTerm;show running-config 305# 306# Variant cisco-xr/ios-xr commands for IOS-XR 7.x on NCS. Presumably, this 307# and ios-exr will eventually merge. 308cisco-xr7;alias;ios-xr7 309ios-xr7;script;rancid -t ios-xr7 310ios-xr7;login;clogin 311ios-xr7;module;iosxr 312ios-xr7;inloop;iosxr::inloop 313ios-xr7;command;rancid::RunCommand;terminal exec prompt no-timestamp 314ios-xr7;command;iosxr::ShowVersion;show version 315ios-xr7;command;iosxr::ShowMemorySum;show memory summary 316ios-xr7;command;iosxr::ShowInstallActive;show install active 317ios-xr7;command;iosxr::ShowLicense;show license udi 318ios-xr7;command;iosxr::ShowLicense;show license summary 319ios-xr7;command;iosxr::ShowHWfpd;show hw-module fpd 320ios-xr7;command;iosxr::ShowRedundancy;show redundancy 321ios-xr7;command;iosxr::ShowEnv;show env all 322ios-xr7;command;iosxr::DirSlotN;dir /all config: 323ios-xr7;command;iosxr::DirSlotN;dir /all disk0: 324ios-xr7;command;iosxr::DirSlotN;dir /all harddisk: 325ios-xr7;command;iosxr::ShowContAll;show controllers description 326ios-xr7;command;iosxr::AdminShowDiag;show diag 327ios-xr7;command;iosxr::ShowInventory;show inventory raw 328ios-xr7;command;iosxr::ShowDebug;show debug 329ios-xr7;command;iosxr::ShowRPL;show rpl maximum 330ios-xr7;command;iosxr::WriteTerm;show running-config 331# 332# IOS-eXR (enhanced XR, aka 64bit). IOS-eXR (>= 6.0) and ios-exr-lite (>=7.0); 333# not all versions >= 6.0 are eXR(-lite), some are cXR! 334cisco-exr;alias;ios-exr 335ios-exr;script;rancid -t ios-exr 336ios-exr;login;clogin 337ios-exr;module;iosxr 338ios-exr;inloop;iosxr::inloop 339ios-exr;command;rancid::RunCommand;terminal exec prompt no-timestamp;Disable timestamps 340ios-exr;command;iosxr::ShowVersion;show version 341ios-exr;command;iosxr::ShowMemorySum;show memory summary;XXX does this display secondary RP info? 342ios-exr;command;iosxr::ShowInstallSummary;admin show install active 343ios-exr;command;iosxr::ShowLicense;show license all 344# ios-exr;command;iosxr::ShowBootVar;show variables boot;XXX this command is broken 345ios-exr;command;iosxr::ShowHWfpd;show hw-module fpd;eXR LC images 346ios-exr;command;iosxr::ShowRedundancy;show redundancy 347ios-exr;command;iosxr::ShowInstallActive;show install active 348ios-exr;command;iosxr::ShowEnv;admin show env all 349ios-exr;command;iosxr::DirSlotN;dir /all nvram: 350ios-exr;command;iosxr::DirSlotN;dir /all bootflash: 351ios-exr;command;iosxr::DirSlotN;dir /all compactflash: 352ios-exr;command;iosxr::DirSlotN;dir /all compactflasha: 353ios-exr;command;iosxr::DirSlotN;dir /all slot0: 354ios-exr;command;iosxr::DirSlotN;dir /all disk0: 355ios-exr;command;iosxr::DirSlotN;dir /all disk0a: 356ios-exr;command;iosxr::DirSlotN;dir /all slot1: 357ios-exr;command;iosxr::DirSlotN;dir /all disk1: 358ios-exr;command;iosxr::DirSlotN;dir /all disk1a: 359ios-exr;command;iosxr::DirSlotN;dir /all slot2: 360ios-exr;command;iosxr::DirSlotN;dir /all disk2: 361ios-exr;command;iosxr::DirSlotN;dir /all harddisk: 362ios-exr;command;iosxr::DirSlotN;dir /all harddiska: 363ios-exr;command;iosxr::DirSlotN;dir /all harddiskb: 364ios-exr;command;iosxr::ShowDiag;show diag 365ios-exr;command;iosxr::ShowInventory;show inventory raw 366ios-exr;command;iosxr::ShowDebug;show debug 367ios-exr;command;iosxr::ShowRPL;show rpl maximum 368ios-exr;command;iosxr::AdminShowRunning;admin show running 369ios-exr;command;iosxr::WriteTerm;show running-config 370# 371# Cisco Wireless Lan Controller (WLC) 372# The WLC login/user that RANCiD uses on the WLC must NOT use the MONITOR role, 373# lacks sufficient privileges to run all of the commands. 374# In addition to these commands, wlogin uses "config paging disable". 375cisco-wlc4;script;rancid -t cisco-wlc4 376cisco-wlc4;login;wlogin 377cisco-wlc4;module;ciscowlc 378cisco-wlc4;inloop;ciscowlc::inloop 379cisco-wlc4;command;ciscowlc::ShowUdi;show udi 380cisco-wlc4;command;ciscowlc::ShowSysinfo;show sysinfo 381cisco-wlc4;command;ciscowlc::ShowConfig;show runnning-config 382# 383cisco-wlc5;script;rancid -t cisco-wlc5 384cisco-wlc5;login;wlogin 385cisco-wlc5;module;ciscowlc 386cisco-wlc5;inloop;ciscowlc::inloop 387cisco-wlc5;command;ciscowlc::ShowUdi;show udi 388cisco-wlc5;command;ciscowlc::ShowSysinfo;show sysinfo 389cisco-wlc5;command;ciscowlc::ShowConfig;show run-config commands 390# 391cisco-wlc8;script;rancid -t cisco-wlc8 392cisco-wlc8;login;wlogin 393cisco-wlc8;timeout;120 394cisco-wlc8;module;ciscowlc 395cisco-wlc8;inloop;ciscowlc::inloop 396cisco-wlc8;command;ciscowlc::ShowUdi;show udi 397cisco-wlc8;command;ciscowlc::ShowSysinfo;show sysinfo 398cisco-wlc8;command;ciscowlc::ShowConfig;show run-config commands 399# 400css;script;cssrancid 401css;login;clogin 402# 403# Dell DES-3010F, DES-3052P, DES-3526, DES-3550 404# Some of these devices are remarkably slow to read config, so the timeout is 405# rather long. 406dell;script;rancid -t dell 407dell;login;dllogin 408dell;timeout;300 409dell;module;dell 410dell;inloop;dell::inloop 411dell;command;dell::GetSystem;show switch 412dell;command;dell::GetConf;show config current_config 413# 414# Dell NOS9 (aka Force 10 and Dell Force10) 415dnos9;script;rancid -t dnos9 416dnos9;login;clogin 417dnos9;module;dnos9 418dnos9;inloop;dnos9::inloop 419dnos9;command;dnos9::ShowVersion;show version 420dnos9;command;dnos9::ShowBoot;show bootvar 421dnos9;command;dnos9::DirSlotN;dir flash: 422dnos9;command;dnos9::DirSlotN;dir slot0: 423dnos9;command;dnos9::ShowChassis;show chassis 424dnos9;command;dnos9::ShowChassis;show system 425dnos9;command;dnos9::ShowInventory;show inventory 426dnos9;command;dnos9::ShowVLAN;show vlan 427dnos9;command;dnos9::WriteTerm;show running 428# 429# Dell NOS10 device (*NOT* Force 10) 430# Dell EMC S5200-ON 431# Dell S3048-ON 432dnos10;script;rancid -t dnos10 433dnos10;login;hlogin 434dnos10;module;dnos10 435dnos10;inloop;dnos10::inloop 436dnos10;command;rancid::RunCommand;terminal length 0 437dnos10;command;dnos10::ShowSys;show system 438dnos10;command;dnos10::ShowVer;show version 439dnos10;command;dnos10::ShowInventory;show inventory 440dnos10;command;dnos10::ShowInventoryMedia;show inventory media 441dnos10;command;dnos10::ShowVlan;show vlan 442dnos10;command;dnos10::WriteTerm;show running-configuration 443# 444# UBNT EdgeMAX 445edgemax;script;rancid -t edgemax 446edgemax;login;clogin 447edgemax;module;edgemax 448edgemax;inloop;edgemax::inloop 449edgemax;command;edgemax::ShowVersion;show version 450edgemax;command;edgemax::ShowHardware;show hardware 451edgemax;command;edgemax::ShowBootvar;show bootvar 452edgemax;command;edgemax::ShowEnvironment;show environment 453edgemax;command;edgemax::ShowDebug;show debug 454edgemax;command;edgemax::WriteTerm;show running-config 455# 456# UBNT EdgeRouter 457edgerouter;script;rancid -t edgerouter 458edgerouter;login;ulogin -noenable 459edgerouter;module;edgerouter 460edgerouter;inloop;edgerouter::inloop 461edgerouter;command;rancid::RunCommand;terminal length 0 462edgerouter;command;edgerouter::ShowVersion;show version 463edgerouter;command;edgerouter::ShowHardware;show hardware cpu 464edgerouter;command;edgerouter::ShowOffload;show ubnt offload 465edgerouter;command;edgerouter::WriteTerm;cli-shell-api showConfig --show-active-only 466# XXX show configuration | no-more 467# 468# UBNT EdgeRouter - according to Clemens, ie: with bird. 469edgerouterbird;script;rancid -t edgerouterbird 470edgerouterbird;login;ulogin -noenable 471edgerouterbird;module;edgerouter 472edgerouterbird;inloop;edgerouter::inloop 473edgerouterbird;command;rancid::RunCommand;terminal length 0 474edgerouterbird;command;edgerouter::ShowVersion;show version 475edgerouterbird;command;edgerouter::ShowHardware;show hardware cpu 476edgerouterbird;command;edgerouter::ShowOffload;show ubnt offload 477#edgerouterbird;command;edgerouter::WriteTerm;cat /config/config.boot 478edgerouterbird;command;edgerouter::WriteTerm;cli-shell-api showConfig --show-active-only 479edgerouterbird;command;edgerouter::WriteTerm;cat /config/opt/bird/etc/bird.conf 480edgerouterbird;command;edgerouter::WriteTerm;cat /config/opt/bird/etc/bird6.conf 481# 482enterasys;script;rivrancid 483enterasys;login;rivlogin 484# 485erx;script;jerancid 486erx;login;clogin 487# 488extreme;script;rancid -t extreme 489extreme;login;xlogin 490extreme;module;exos 491extreme;inloop;exos::inloop 492extreme;command;exos::ShowVersion;show version 493extreme;command;exos::ShowMemory;show memory 494extreme;command;exos::ShowDiag;show diag 495extreme;command;exos::ShowSwitch;show switch 496extreme;command;exos::ShowSlot;show slot 497extreme;command;exos::ShowPolicy;show policy detail 498extreme;command;exos::WriteTerm;show configuration detail 499extreme;command;exos::WriteTerm;show configuration 500# 501ezt3;script;erancid 502ezt3;login;elogin 503# 504# f5 big-ip <=v10 505f5;script;f5rancid 506f5;login;clogin 507# 508# f5 big-ip v11 509bigip;script;rancid -t bigip 510bigip;login;clogin 511bigip;module;bigip 512bigip;inloop;bigip::inloop 513bigip;command;bigip::ShowVersion;tmsh show /sys version 514bigip;command;bigip::ShowHardware;tmsh show /sys hardware 515bigip;command;bigip::ShowLicense;tmsh show /sys license 516bigip;command;bigip::ShowZebOSconf;cat /config/ZebOS.conf 517bigip;command;bigip::ShowZebOSsockets;lsof -i :179 518bigip;command;bigip::ShowRouteStatic;tmsh show /net route static 519bigip;command;bigip::WriteTerm;tmsh -q list 520# 521# f5 big-ip v13 522bigip13;script;rancid -t bigip13 523bigip13;login;clogin 524bigip13;module;bigip 525bigip13;inloop;bigip::inloop 526bigip13;command;rancid::RunCommand;modify cli preference pager disabled display-threshold 0 527bigip13;command;bigip::ShowVersion;show sys version 528bigip13;command;bigip::ShowHardware;show sys hardware 529bigip13;command;bigip::ShowLicense;show sys license 530bigip13;command;bigip::RunCommandTMSH;cd / 531bigip13;command;bigip::ShowRouteStatic;show /net recursive route static 532bigip13;command;bigip::WriteTerm;list all-properties recursive 533# 534# Force 10 and Dell Force10 (aka Dell NOS9). 535force10;alias;dnos9 536# 537# Fortinet Fortigate firewall 538# Normal or FULL (with defaults) configuration 539fortigate;script;rancid -t fortigate 540fortigate;login;fnlogin 541fortigate;timeout;90 542fortigate;module;fortigate 543fortigate;inloop;fortigate::inloop 544fortigate;command;fortigate::GetSystem;get system status 545fortigate;command;fortigate::GetConf;show 546# 547fortigate-full;script;rancid -t fortigate-full 548fortigate-full;login;fnlogin 549fortigate-full;timeout;90 550fortigate-full;module;fortigate 551fortigate-full;inloop;fortigate::inloop 552fortigate-full;command;fortigate::GetSystem;get system status 553fortigate-full;command;fortigate::GetConf;show full-configuration 554# 555# Foundry and HP procurve OEMs of Foundry. 556# Reportedly functional on: 557# J4899[BC] 2650, 558# J4899C 2650, 559# J4900[AB] 2626, 560# J4903A 2824, 561# J9019A 2510-24, 562# J9019B 2510B-24, 563# J9020A 2510-48, 564# J9021A 2810-24G, 565# J9022A 2810-48G, 566# J9145A 2910al-24G, 567# J9279A 2510G-24, 568# J9280A 2510G-48, 569# J9772A 2530-48G-PoEP, 570# J9775A 2530-48G, 571# J9778A 2530-48-PoEP, 572# J9779A 2530-24-PoEP, 573# J9780A 2530-8-PoEP 574# 29[12]0 575# Brocade HP9304M 576# ICX-6450s 577# Ruckus ICX 7250 578foundry;script;rancid -t foundry 579foundry;login;flogin 580foundry;module;foundry 581foundry;inloop;foundry::inloop 582foundry;command;foundry::ShowVersion;show version 583foundry;command;foundry::ShowChassis;show chassis 584foundry;command;foundry::ShowModule;show module 585foundry;command;foundry::ShowMedia;show media 586foundry;command;foundry::ShowMedia;show media validation 587foundry;command;foundry::ShowFlash;show flash 588foundry;command;foundry::WriteTerm;write term 589foundry;command;foundry::WriteTerm;show running-config 590# 591# Fujitsu T100 FSS2/1finity 592fss2;script;rancid -t fss2 593fss2;login;jlogin 594fss2;module;fss2 595fss2;inloop;fss2::inloop 596fss2;command;rancid::RunCommand;set complete-on-space false 597fss2;command;rancid::RunCommand;set screen width 132 598fss2;command;rancid::RunCommand;set paginate false 599fss2;command;fss2::ShowSystem;show system 600fss2;command;fss2::ShowInventory;show inventory 601fss2;command;fss2::ShowFWinfo;show fw-info 602fss2;command;fss2::WriteTerm;show configuration 603# 604# Cisco FirePower / FX-OS 605fxos;script;rancid -t fxos 606fxos;login;fxlogin 607fxos;module;fxos 608fxos;inloop;fxos::inloop 609fxos;command;fxos::ShowModel;show model 610fxos;command;fxos::ShowInventory;show inventory 611fxos;command;fxos::DirSlotN;dir /all 612fxos;command;fxos::ShowMode;show mode 613fxos;command;fxos::ShowManagers;show managers 614fxos;command;fxos::ShowNetwork;show network 615fxos;command;fxos::ShowNetwork;show network-static-routes 616fxos;command;fxos::ShowNetwork;show network-dhcp-server 617fxos;command;fxos::WriteTermFTD;show running-config 618fxos;command;fxos::RunCommand;connect fxos; prompt changes 619fxos;command;fxos::RunCommand;term len 0 620fxos;command;fxos::ShowFirmware;show system firmware detail 621fxos;command;fxos::ShowChassis;show chassis detail 622fxos;command;fxos::ShowChassis;show chassis inventory detail 623fxos;command;fxos::ShowChassis;show chassis environment expand detail 624fxos;command;fxos::WriteTerm;show configuration 625# 626hitachi;script;htrancid 627hitachi;login;htlogin 628# 629# HP Procurve switch such as the 2524, 4108 or J9086A (aka. 2610) procurve 630# switches, J9091A, and J8698A. 631# Aruba 2530-48G & 5400R series. 632hp;script;hrancid -t hp 633hp;login;hlogin 634# 635juniper;alias;junos 636junos;script;rancid -t junos 637junos;login;jlogin 638junos;timeout;120 639junos;module;junos 640junos;inloop;junos::inloop 641junos;command;junos::ShowChassisClocks;show chassis clocks 642junos;command;junos::ShowChassisEnvironment;show chassis environment 643junos;command;junos::ShowChassisFirmware;show chassis firmware local 644junos;command;junos::ShowChassisFirmware;show chassis firmware 645junos;command;junos::ShowChassisFpcDetail;show chassis fpc detail 646junos;command;junos::ShowChassisHardware;show chassis hardware detail 647junos;command;junos::ShowChassisHardware;show chassis hardware models 648junos;command;junos::ShowChassisRoutingEngine;show chassis routing-engine 649junos;command;junos::ShowChassisSCB;show chassis scb 650junos;command;junos::ShowChassisSCB;show chassis sfm detail 651junos;command;junos::ShowChassisSCB;show chassis ssb 652junos;command;junos::ShowChassisSCB;show chassis feb detail 653junos;command;junos::ShowChassisSCB;show chassis feb 654junos;command;junos::ShowChassisSCB;show chassis cfeb 655junos;command;junos::ShowChassisAlarms;show chassis alarms 656junos;command;junos::ShowSystemLicense;show system license 657junos;command;junos::ShowSystemBootMessages;show system boot-messages 658junos;command;junos::ShowSystemCoreDumps;show system core-dumps 659junos;command;junos::ShowVersion;show version detail 660junos;command;junos::ShowVersion;show version invoke-on other-routing-engine 661junos;command;junos::ShowConfiguration;show configuration 662# 663junos-evo;script;rancid -t junos-evo 664junos-evo;login;jlogin 665junos-evo;timeout;120 666junos-evo;module;junos 667junos-evo;inloop;junos::inloop 668# XXX broken in 19.1R2.1-EVO on some platforms 669#junos-evo;command;junos::ShowChassisClocks;show chassis clocks 670junos-evo;command;junos::ShowChassisEnvironment;show chassis environment 671junos-evo;command;junos::ShowChassisFirmware;show chassis firmware local 672junos-evo;command;junos::ShowChassisFirmware;show chassis firmware 673junos-evo;command;junos::ShowChassisFpcDetail;show chassis fpc detail 674junos-evo;command;junos::ShowChassisHardware;show chassis hardware detail 675junos-evo;command;junos::ShowChassisHardware;show chassis hardware models 676junos-evo;command;junos::ShowChassisRoutingEngine;show chassis routing-engine 677junos-evo;command;junos::ShowChassisSCB;show chassis scb 678junos-evo;command;junos::ShowChassisSCB;show chassis sfm detail 679junos-evo;command;junos::ShowChassisSCB;show chassis ssb 680junos-evo;command;junos::ShowChassisSCB;show chassis feb detail 681junos-evo;command;junos::ShowChassisSCB;show chassis feb 682junos-evo;command;junos::ShowChassisSCB;show chassis cfeb 683junos-evo;command;junos::ShowChassisAlarms;show chassis alarms 684junos-evo;command;junos::ShowSystemLicense;show system license 685# XXX this command does not work properly 686#junos-evo;command;junos::ShowSystemBootMessages;show system boot-messages 687junos-evo;command;junos::ShowSystemCoreDumps;show system core-dumps 688junos-evo;command;junos::ShowVersion;show version node all 689junos-evo;command;junos::ShowConfiguration;show configuration 690# 691# juniper-srx type is for SRX with ThreatSTOP; it displays the configuration 692# by section, omitting policy-options, which changes frequently. 693juniper-srx;script;rancid -t juniper-srx 694juniper-srx;login;jlogin 695juniper-srx;module;junos 696juniper-srx;inloop;junos::inloop 697juniper-srx;command;junos::ShowChassisClocks;show chassis clocks 698juniper-srx;command;junos::ShowChassisEnvironment;show chassis environment 699juniper-srx;command;junos::ShowChassisFirmware;show chassis firmware 700juniper-srx;command;junos::ShowChassisFpcDetail;show chassis fpc detail 701juniper-srx;command;junos::ShowChassisHardware;show chassis hardware detail 702juniper-srx;command;junos::ShowChassisHardware;show chassis hardware models 703juniper-srx;command;junos::ShowChassisRoutingEngine;show chassis routing-engine 704juniper-srx;command;junos::ShowChassisSCB;show chassis scb 705juniper-srx;command;junos::ShowChassisSCB;show chassis sfm detail 706juniper-srx;command;junos::ShowChassisSCB;show chassis ssb 707juniper-srx;command;junos::ShowChassisSCB;show chassis feb detail 708juniper-srx;command;junos::ShowChassisSCB;show chassis feb 709juniper-srx;command;junos::ShowChassisSCB;show chassis cfeb 710juniper-srx;command;junos::ShowChassisAlarms;show chassis alarms 711juniper-srx;command;junos::ShowSystemLicense;show system license 712juniper-srx;command;junos::ShowSystemLicense;show system license keys 713juniper-srx;command;junos::ShowSystemBootMessages;show system boot-messages 714juniper-srx;command;junos::ShowSystemCoreDumps;show system core-dumps 715juniper-srx;command;junos::ShowVersion;show version detail 716juniper-srx;command;junos::ShowConfiguration;show configuration groups 717juniper-srx;command;junos::ShowConfiguration;show configuration apply-groups 718juniper-srx;command;junos::ShowConfiguration;show configuration access 719juniper-srx;command;junos::ShowConfiguration;show configuration applications 720juniper-srx;command;junos::ShowConfiguration;show configuration bridge-domains 721juniper-srx;command;junos::ShowConfiguration;show configuration chassis 722juniper-srx;command;junos::ShowConfiguration;show configuration class-of-service 723juniper-srx;command;junos::ShowConfiguration;show configuration ethernet-switching-options 724juniper-srx;command;junos::ShowConfiguration;show configuration event-options 725juniper-srx;command;junos::ShowConfiguration;show configuration firewall 726juniper-srx;command;junos::ShowConfiguration;show configuration forwarding-options 727juniper-srx;command;junos::ShowConfiguration;show configuration interfaces 728juniper-srx;command;junos::ShowConfiguration;show configuration protocols 729juniper-srx;command;junos::ShowConfiguration;show configuration routing-instances 730juniper-srx;command;junos::ShowConfiguration;show configuration routing-options 731juniper-srx;command;junos::ShowConfiguration;show configuration security 732juniper-srx;command;junos::ShowConfiguration;show configuration services 733juniper-srx;command;junos::ShowConfiguration;show configuration smtp 734juniper-srx;command;junos::ShowConfiguration;show configuration snmp 735juniper-srx;command;junos::ShowConfiguration;show configuration switch-options 736juniper-srx;command;junos::ShowConfiguration;show configuration system 737juniper-srx;command;junos::ShowConfiguration;show configuration vlans 738# 739mikrotik;alias;routeros 740routeros;script;rancid -t routeros 741routeros;login;mtlogin 742routeros;module;routeros 743routeros;inloop;routeros::inloop 744routeros;command;routeros::SystemPackagePrintDetail;system package print detail without-paging 745routeros;command;routeros::SystemRouterboardPrint;system routerboard print 746routeros;command;routeros::SystemLicensePrint;system license print 747routeros;command;routeros::Export;export 748# 749mrtd;script;mrancid 750mrtd;login;clogin 751# 752# MRV optical switches (NC316, OptiSwitch 904, OptiSwitch 906G, OptiSwitch 912C, 753# OptiSwitch 940) 754mrv;script;rancid -t mrv 755mrv;login;mrvlogin 756mrv;module;mrv 757mrv;inloop;mrv::inloop 758mrv;command;mrv::ShowVersion;show version 759mrv;command;mrv::ShowChassis;show chassis 760mrv;command;mrv::ShowSlots;show slots 761mrv;command;mrv::ShowInventory;show inventory 762mrv;command;mrv::WriteTerm;show running-config 763# 764netopia;script;trancid 765netopia;login;tlogin 766# 767netscaler;script;nsrancid 768netscaler;login;nslogin 769# 770netscreen;script;nrancid 771netscreen;login;nlogin 772# 773paloalto;script;rancid -t paloalto 774paloalto;login;panlogin 775paloalto;module;panos 776paloalto;inloop;panos::inloop 777paloalto;command;panos::ShowInfo;show system info 778paloalto;command;panos::ShowInventory;show chassis inventory 779paloalto;command;panos::ShowConfig;show config running 780# 781redback;script;rrancid 782redback;login;clogin 783# 784riverbed;script;rancid -t riverbed 785riverbed;login;rblogin 786riverbed;module;rbt 787riverbed;inloop;rbt::inloop 788riverbed;command;rbt::ShowVersion;show version 789riverbed;command;rbt::ShowLicenses;show licenses 790riverbed;command;rbt::ShowHardware;show hardware all 791riverbed;command;rbt::ShowInfo;show info 792riverbed;command;rbt::ShowPeers;show peers 793riverbed;command;rbt::WriteTerm;show configuration 794# 795riverstone;script;rivrancid 796riverstone;login;rivlogin 797# 798# SMC and Dell PowerConnect N2048, 34xx (config is incomplete), 35xx (3524, 799# 3524P, 3548, 3548P), N4032F, N4064, 62xxx, M6348, 64xx (6428), 7048, 800# M8024(-k), and R1-2401. 801smc;script;rancid -t smc 802smc;login;hlogin 803smc;timeout;90 804smc;module;smc 805smc;inloop;smc::inloop 806smc;command;rancid::RunCommand;terminal datadump 807smc;command;smc::ShowSys;show system 808smc;command;smc::ShowVer;show version 809smc;command;smc::Dir;dir 810smc;command;smc::ShowVlan;show vlan 811smc;command;smc::WriteTerm;show running-config 812# 813# Nokia (Alcatel-Lucent) SR OS Classic CLI (TiMOS) 814# 7210 SAS, 7250 IXR, 7450 ESS, 7705 SAR, 7750 SR, 7950 XRS, CMG and VSR routers 815sros;script;rancid -t sros 816sros;login;noklogin 817sros;module;sros 818sros;inloop;sros::inloop 819sros;command;sros::ShowSystemInfo;show system information 820sros;command;sros::BootLog;file type bootlog.txt 821sros;command;sros::ShowRedundancy;show redundancy synchronization 822sros;command;sros::ShowChassis;show chassis 823sros;command;sros::ShowChassisEnv;show chassis environment 824sros;command;sros::ShowChassisPS;show chassis power-supply 825sros;command;sros::ShowChassisPM;show chassis power-management 826sros;command;sros::ShowCardState;show card state 827sros;command;sros::ShowCardDetail;show card detail 828sros;command;sros::ShowDebug;show debug 829sros;command;sros::ShowBOF;show bof 830sros;command;sros::WriteTermIndex;admin display-config index 831sros;command;sros::WriteTerm;admin display-config 832# 833# Nokia (Alcatel-Lucent) SR OS MD-CLI (TiMOS) 834# 7750 SR and 7950 XRS routers 835sros-md;script;rancid -t sros-md 836sros-md;login;noklogin 837sros-md;module;sros 838sros-md;inloop;sros::inloop 839sros-md;command;sros::ShowSystemInfo;show system information 840sros-md;command;sros::BootLog;//file type bootlog.txt 841sros-md;command;sros::ShowRedundancy;show redundancy synchronization 842sros-md;command;sros::ShowChassis;show chassis 843sros-md;command;sros::ShowChassisEnv;show chassis environment 844sros-md;command;sros::ShowChassisPS;show chassis power-supply 845sros-md;command;sros::ShowChassisPM;show chassis power-management 846sros-md;command;sros::ShowCardState;show card state 847sros-md;command;sros::ShowCardDetail;show card detail 848sros-md;command;sros::ShowDebug;//show debug 849sros-md;command;sros::ShowBOF;//show bof 850sros-md;command;sros::WriteTermMD;admin show configuration 851# 852# Avocent ACS (Advanced Console Server) (formerly Cyclades) 853avocent;script;rancid -t avocent 854avocent;login;avologin 855avocent;module;avocent 856avocent;inloop;avocent::inloop 857avocent;command;avocent::CatFileComment;config show version 858avocent;command;avocent::Meminfo;cat /proc/meminfo 859avocent;command;avocent::CatFileComment;cat /proc/version 860avocent;command;avocent::CatFile;cat /etc/hostname 861avocent;command;avocent::CatFile;cat /etc/domainname.conf 862avocent;command;avocent::CatFile;cat /etc/resolv.conf 863avocent;command;avocent::CatFile;cat /etc/syslog-ng/syslog-ng.conf 864avocent;command;avocent::CatFile;cat /etc/portslave/pslave.conf 865avocent;command;avocent::CatFile;cat /etc/passwd 866avocent;command;avocent::CatFile;cat /etc/snmp/snmpd.conf 867avocent;command;avocent::CatFile;cat /etc/network/ifcfg_eth0 868avocent;command;avocent::CatFile;cat /etc/network/st_routes 869avocent;command;avocent::CatFile;cat /etc/security.opts 870avocent;command;avocent::CatFile;cat /etc/pmdgrp.conf 871# 872# Hauwei VRP (S5720) 873vrp;script;rancid -t vrp 874vrp;login;xilogin 875vrp;module;vrp 876vrp;inloop;vrp::inloop 877vrp;command;vrp::DispVersion;display version 878vrp;command;vrp::DispStartup;display startup 879vrp;command;vrp::DispDevice;display device 880vrp;command;vrp::DispDeviceMfg;display device manufacture-info 881vrp;command;vrp::DispTransciever;display transceiver verbose 882vrp;command;vrp::DispDebug;display debugging 883vrp;command;vrp::DirSlotN;dir /all /all-filesystems 884vrp;command;vrp::WriteTerm;display current-configuration 885# 886xirrus;script;xirancid 887xirrus;login;xilogin 888# 889zebra;alias;frr 890frr;script;rancid -t frr 891frr;login;clogin 892frr;module;frr 893frr;inloop;frr::inloop 894frr;command;frr::ShowVersion;show version 895frr;command;frr::WriteTerm;write term 896