When I update Access Control Lists, I upload the ACL in an ASCII file to the router via TFTP. For some reason when I upload the file it prompts me if I'd like to erase the flash before continuing and defaults to [confirm]. That sounds crazy to me! Why would it assume I want to delete all the files on the flash device just because I'm uploading a small file?
Here is Example Output:
1. First I upload the ACL file:
router#copy tftp://10.10.10.10/some-file.acl flash:some-file.acl
Destination filename [some-file.acl]?
Accessing tftp://10.10.10.10/some-file.acl...
Erase flash: before copying? [confirm]n <==== **** WHY THE CONFIRM TO ERASE? ****
Loading some-file.acl from 10.10.10.10 (via FastEthernet0/1): !!
[OK - 8139 bytes]
2. Then I write the ACL config changes to the running config:
router#copy flash:/some-file.acl system:/running-config
Notice the line "Erase flash: before copying?"
My questions:
1. Why is this happening?
2. How can I prevent it? Or at least default to "No"
3. If there is a better way to upload ACL's I'm all ears. I was under the impression this was a more secure way of updating ACLs - minimizing the window of opportunity for a hacker.
Router Specs: 3640
(C3640-IO3-M), Version 12.2(13a), RELEASE SOFTWARE (fc2)
Thanks in advance!
Hutch
Here is Example Output:
1. First I upload the ACL file:
router#copy tftp://10.10.10.10/some-file.acl flash:some-file.acl
Destination filename [some-file.acl]?
Accessing tftp://10.10.10.10/some-file.acl...
Erase flash: before copying? [confirm]n <==== **** WHY THE CONFIRM TO ERASE? ****
Loading some-file.acl from 10.10.10.10 (via FastEthernet0/1): !!
[OK - 8139 bytes]
2. Then I write the ACL config changes to the running config:
router#copy flash:/some-file.acl system:/running-config
Notice the line "Erase flash: before copying?"
My questions:
1. Why is this happening?
2. How can I prevent it? Or at least default to "No"
3. If there is a better way to upload ACL's I'm all ears. I was under the impression this was a more secure way of updating ACLs - minimizing the window of opportunity for a hacker.
Router Specs: 3640
(C3640-IO3-M), Version 12.2(13a), RELEASE SOFTWARE (fc2)
Thanks in advance!
Hutch