RANCID bulk changes

First I created a file in this case filename with the commands I wanted to run inside it. I changed to the rancid user first and then created the file and ran the commands as rancid.
su rancid -s /bin/bash
cat filename

 access-list 01 permit host xxx.xxx.xxx.xxx
snmp-server community STRING rw 01
Save the file as filename. 
Then run clogin using this file and a hostname.

clogin -x filename hostname
Give the full path to clogin if needed, and if there is more than one host being changed use a space between each hostname.

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

%d bloggers like this: