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

Policy to Reset IP NAT Filter

sofobs
Level 1
Level 1

Hi all,

I have an issue with a router where I need to reset the Session (clear IP NAT Filter )every 2 or 3 hours depending on the counter field otherwise users will face latency in accessing the Applications

Is there a way to create a policy based on filter-count  or  fib-filter-count to reset the session when the count reaches the boundary set? (temporary Solution for now)

Manual reset result

Before reset :

ip nat interface nat-vpn 0 nat-ifname gre150

 mapping-type     endpoint-independent

 filter-type      address-port-restricted

 filter-count     121453

 fib-filter-count 121491

 ip               xxx.xxx.x.x/30

 number-ip-pools  0

After Reset :

ip nat interface nat-vpn 0 nat-ifname gre150

 mapping-type     endpoint-independent

 filter-type      address-port-restricted

 filter-count     2480

 fib-filter-count 2433

 ip               xxx.xxx.x.x/30

 number-ip-pools  0

  Thank you for your support

1 Reply 1

ekhabaro
Cisco Employee
Cisco Employee

from the top of my head, I would use some external automation tool to perform quick and dirty workaround for such kind of task with help of expect script.

Review Cisco Networking for a $25 gift card