Cisco Support Community
Showing results for 
Search instead for 
Did you mean: 

Welcome to Cisco Support Community. We would love to have your feedback.

For an introduction to the new site, click here. And see here for current known issues.

New Member

Pasting ACL from ssh

I have a situation where if I ssh into a box directly, I can paste a 250 line ACL without issue. If from that router, I ssh to another router and paste the same config, I only can get about 30 lines in. Is there a value I can adjust in IOS to allow a greater buffer? (I'm assuming that's what I'm hit).

FWIW, these are 7609-S with RSP720.


Cisco Employee

Re: Pasting ACL from ssh

Any time I want to paste more than a couple of lines, I put all the commands into a text file. Copy the text file to the flash. Once it is there you can just do something like:

copy flash:config.txt running-config

This will apply all the commands in one shot.

Hall of Fame Super Silver

Re: Pasting ACL from ssh


In my experience of problems such as what you describe the problem really is a mismatch in speed between what your PC generates packets with the ACL update and the speed at which the receiving router can process them and your router is sending at much higher speed than the receiving router can process. I have had good success in resolving this by configuring my SSH client to supply a delay at end of line (and sometimes I also specify some delay between characters being transmitted).

I am not aware of anything that you can do in IOS to resolve this.



CreatePlease to create content