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. If you'd prefer to explore, try our test area to get started. And see here for current known issues.

New Member

Sort order from NAT rules via CLI

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


VIP Green

You would need to remove the

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 rate and select a correct answer