07-11-2002 06:09 AM - edited 02-20-2020 09:18 PM
I am trying to add an outbound access list rule to permit ftp from a specific host. No matter what I try the rule in being appended to the list of rules such that it comes after the default deny all policy.
Any ideas? Your help is greatly appreciated.
07-11-2002 11:57 AM
Access lists are checked in the order the statements were added. You can't just add a line.
Try a show running-config. Highlight the access list. Copy it to the clipboard. Paste it into a notepad type application. Arrange the lines in the access list to the order you want them. Highlight and copy. On the router, delete the original access-list and paste the modified one back in.
07-12-2002 11:06 AM
In order for this to be the case you would have to be logging your denied traffic, otherwise there would be no way the new line could append before the deny all line, correct? At any rate, if you use named access-lists instead of numbered you can remove any line in the list...
take care
todd
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide