cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
585
Views
0
Helpful
2
Replies

Change NAT policy order in ASA 8.0

hseakleang1
Level 1
Level 1

Hello!!!

I want to change nat policy order via CLI.

I want rule number 3 move to number 2 and rule number 4 move to number 3.

ASA5510 version 8.0

ASA(config)# show nat inside srb

  match ip inside 192.168.1.0 255.255.255.0 srb 192.168.100.0 255.255.255.0

    NAT exempt

    translate_hits = 0, untranslate_hits = 0

  match ip inside 192.168.1.0 255.255.255.0 srb any

    static translation to 192.168.1.0

    translate_hits = 1754, untranslate_hits = 19490

  match ip inside 192.168.1.0 255.255.255.0 srb 192.168.10.0 255.255.255.0

    dynamic translation to pool 10 (172.16.101.0)

    translate_hits = 0, untranslate_hits = 0

  match ip inside 192.168.1.0 255.255.255.0 srb 172.16.201.0 255.255.255.0

    dynamic translation to pool 10 (172.16.101.0)

    translate_hits = 0, untranslate_hits = 0

  match ip inside 172.16.101.0 255.255.255.0 srb any

    dynamic translation to pool 20 (No matching global)

    translate_hits = 0, untranslate_hits = 0

  match ip inside 192.168.1.0 255.255.255.0 srb any

    dynamic translation to pool 20 (No matching global)

    translate_hits = 0, untranslate_hits = 0

  match ip inside any srb any

    no translation group, implicit deny

    policy_hits = 0

1 Accepted Solution

Accepted Solutions

kthiruve
Cisco Employee
Cisco Employee

Please ask this question under firewall section of community site. I am unable to move this question to that space.

THis is policy and Access where you can ask questions about ISE, Trustsec, Anyconnect, ACS etc.

-Krishnan

View solution in original post

2 Replies 2

kthiruve
Cisco Employee
Cisco Employee

Please ask this question under firewall section of community site. I am unable to move this question to that space.

THis is policy and Access where you can ask questions about ISE, Trustsec, Anyconnect, ACS etc.

-Krishnan

hslai
Cisco Employee
Cisco Employee

This might help:

ASA Network Address Translation Configuration Troubleshooting - Cisco

says,

Problem: Manual NAT Rules are out-of-order, which causes incorrect packet matches

...

Solution:

NAT rules can be reordered with the CLI if you remove the rule and reinsert it at a specific line number. In order to insert a new rule at a specific line, enter the line number just after the interfaces are specified.

Example:

ASA(config)# nat (inside,outside) 1 source static 10.10.10.0-net
10.10.10.0-net destination static 192.168.1.0-net 192.168.1.0-net
Review Cisco Networking products for a $25 gift card