cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
2384
Views
0
Helpful
1
Replies

Move it the NAT order in ASA

tinhnho123
Level 2
Level 2

Hello,

My NAT below is at #135, I'd like to move it up to #100 or which command would you move it up?

myasa# sh nat | inc 192.168.1.15

135 (inside) to (outside) source static obj-192.168.1.15 obj-78.123.123.15

myasa#

Thanks.

1 Accepted Solution

Accepted Solutions

Jouni Forss
VIP Alumni
VIP Alumni

Hi,

In softwares 8.3 and forward you can configure a "line number" for the NAT Manual/Twice NAT in the CLI command

Use:

nat (inside,outside)

This will add the NAT rule just like an ACL rule. It will move the current rule on that line number and any after it, one number down.

EDIT: I guess in this case you first have to remove the NAT configuration and then insert it to the spot you want.

- Jouni

View solution in original post

1 Reply 1

Jouni Forss
VIP Alumni
VIP Alumni

Hi,

In softwares 8.3 and forward you can configure a "line number" for the NAT Manual/Twice NAT in the CLI command

Use:

nat (inside,outside)

This will add the NAT rule just like an ACL rule. It will move the current rule on that line number and any after it, one number down.

EDIT: I guess in this case you first have to remove the NAT configuration and then insert it to the spot you want.

- Jouni

Review Cisco Networking for a $25 gift card