[c-nsp] scp running/startup config

Tim Durack tdurack at gmail.com
Sat Nov 22 21:55:47 EST 2008


On Sat, Nov 22, 2008 at 9:46 PM, ghostonthewire
<ghostonthewire at gmail.com> wrote:
> Tim Durack wrote:
>>
>> Amazing:
>>
>> usziplab001:~/config/Core# !scp
>> scp acl.txt tdurack at router:running-config
>> Password:
>> acl.txt                                  100% 1694     1.7KB/s   00:01
>>
>> I can dump a bunch dumb expect scripts now.
>>
>
> Expect scripts can handle exceptions caused by erroneus input, and perform
> rollback action or just warn you that something went wrong, but copying just
> performs unpredictable merge. Or it discards entire acl.txt on syntax error?

Not if the acl scripts are of the form:

no ip access list extended acl_name
ip access list extended acl_name
...
end

>> If Cisco supported ssh keys life would be even better...
>>
>
> Holy truth. I wonder cisco guys ignoring such crucial feature.
>


More information about the cisco-nsp mailing list