Link to home
Start Free TrialLog in
Avatar of Lucas Bruch
Lucas Bruch

asked on

Update Cisco Config on Mulitple Switches

Does anyone know of a way to update multiple cisco configs with a new access-list line?
Avatar of stsonline
stsonline
Flag of United States of America image

Create the new access-list line in Notepad or a similar text editor (which does not embed carraige returns within the text) then cut and paste into each device. Or build a simple script to ssh to each device, run the appropriate commands, then move onto the next device. If you script it, remember to use SSH rather than telnet and don't forget that the script will need to contain your enable password IN CLEAR TEXT... so protect that script like it was gold.
Avatar of Lucas Bruch
Lucas Bruch

ASKER

Can you give me an example of a sample script?

I want to add the line

access-list permit 50 xxx.xxx.xxx.xxx
ASKER CERTIFIED SOLUTION
Avatar of stsonline
stsonline
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial