Sort order from NAT rules via CLI

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-04-2014 05:32 AM - edited 03-11-2019 09:17 PM
Hi all,
im a newbie here and i have my first question. Hope you can help me to find a solution.
Is there a way to change the order of NAT statements via CLI in Cisco ASA IOS 9.1 ?
By ASDM i can change the order and bring them up and down to the place where i must have them, but i found no way to do this via CLI.
Any Ideas?
Greetings from germany
Marco
- Labels:
-
NGFW Firewalls
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
06-05-2014 04:32 AM
You would need to remove the NAT statements and then re-add them in the order you want them to appear. The ASDM does it the same way but makes it easier by you just having to move the NAT rule to where you want it and apply...the ASDM does the rest. If you set your ASDM to show the commands before they are applied you will see how the ASDM does this. The setting is under Tool > Preferences and select Preview commands before sending them to the device
--
Please remember to select a correct answer and rate helpful posts
Please remember to select a correct answer and rate helpful posts
