Here is how to make mass changes to a bunch of network devices using rancid: clogin -c "conf t;interface g0/1;no shut; end; wr mem" router1 router2