[rancid] run different command for two types of cisco

Iñaki Martinez Diez networking at hostalia.com
Thu Sep 24 13:54:02 UTC 2009


Hi,

 I have cisco routers 8xx that rancid must run "show startup-config" 
because permission for that user only permit that.

 And i have Cisco switches and routers (several models) I want rancid to 
run "show running-config".

 So how can i do that ??

 I know i can change the rancid file, i have this line:

{'show startup-config'          => 'WriteTerm'},

 But how to do one command or other base on type of device ?


 Thanks in advance.





More information about the Rancid-discuss mailing list