Showing results for 
Search instead for 
Did you mean: 


Commands to clear dynamic items when making config changes on ASA

Hi Everyone,


Please forgive me if this is not a good section to ask this question. Last Friday i was making multiple changes to an ASA 5508, and had trouble with what i believe was a NAT issue. However, i had made several routing and interfaces changes at this time as well. I had full connectivity and 90% of what i wanted to do was working, but ended up rebooting all of the equipment to revert to their saved configurations, mainly because i found that the connected PC's were not taking the IP of the outside interface and instead reverting to the IP of one of the interfaces on the SD-WAN equipment we are using.


Part of my troubleshooting was to disable a bunch of NAT rules that i thought might be causing conflicts, effectively reducing the config to mirror what i know is working on the ASA we are moving some services from. After disabling the extra rules, i ran the "clear xlate" command, yet the IP of the PC's was still showing the SD-WANs IP.


Ive been looking through the running config from that day and have not been able to find why, after reducing the NAT rules to the known-working basics, confirming routing, and setting all access rules to allow any IP that night, why it still would not show the correct IP.


Aside form "clear xlate",  are there some other commands i should be entering on the ASA, the 9300 series switches, or the PC's themselves, after making major configuration changes like this?


Thanks in advance for any advice!



Rob Ingram
VIP Expert

@Jesserony it's likely the traffic was unintentially translated by another NAT rule. In this instance you can run packet-tracer (CLI or ASDM) to simulate the traffic flow, this will indicate which NAT rule is being matched. You can then run "show nat detail" which will show the order of the NAT rules, you just need to ensure your new NAT rule is above the rule the traffic is matching.

Thank you Rob! I will give that a try.

Recognize Your Peers
Content for Community-Ad