cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
1021
Views
0
Helpful
4
Replies

Change timeout session

Rafael Mendes
Level 2
Level 2

Hello Guys,

I Have a problem here.

We deploy a citrix, and i need set no timeout for especific traffic.

So, i create this configuration:

show access-list TimeOutCitrix

access-list TimeOutCitrix; 7 elements

access-list TimeOutCitrix line 1 extended permit ip any host 172.17.2.129 log informational interval 300 (hitcnt=0) 0x238cd297

access-list TimeOutCitrix line 2 extended permit ip any host 172.17.2.130 log informational interval 300 (hitcnt=0) 0x80b4c299

access-list TimeOutCitrix line 3 extended permit ip any host 172.17.2.218 log informational interval 300 (hitcnt=0) 0x726d7587

access-list TimeOutCitrix line 4 extended permit ip any host 172.17.2.224 log informational interval 300 (hitcnt=0) 0x6d9499e1

access-list TimeOutCitrix line 5 extended permit ip any host 172.17.2.226 log informational interval 300 (hitcnt=0) 0x95465853

access-list TimeOutCitrix line 6 extended permit ip any host 172.17.2.227 log informational interval 300 (hitcnt=0) 0x76a9ab24

access-list TimeOutCitrix line 7 extended permit ip any host 172.17.2.232 log informational interval 300 (hitcnt=0) 0x3e7867ad

class-map TimeOutCitrix

match access-list TimeOutCitrix

policy-map global_policy

class TimeOutCitrix

  set connection timeout tcp 0:00:00

service-policy global_policy global

But, the session still keep the timeout in 1 hour.

I have this timeout configuration in my firewall(out of the class map).

timeout xlate 3:00:00

timeout conn 1:00:00 half-closed 0:10:00 udp 0:02:00 icmp 0:00:02

timeout sunrpc 0:10:00 h323 0:05:00 h225 1:00:00 mgcp 0:05:00 mgcp-pat 0:05:00

timeout sip 0:30:00 sip_media 0:02:00 sip-invite 0:03:00 sip-disconnect 0:02:00

timeout sip-provisional-media 0:02:00 uauth 0:05:00 absolute

TCP rede_filiais:10.82.16.15/3356 rede_servidores:172.17.2.130/2598,

    flags UIOB, idle 1s, uptime 54m21s, timeout 1h0m, bytes 154204

The question is, why this occurs? What i need do for change this traffic timeout? Why the

hitcnt in the acl is 0?

Tks!

1 Accepted Solution

Accepted Solutions

Hi Rafael,

You would see the hitcounts in the ACL, wat you can verify is the output of :show service-policy" this would tell you if the packets are falling under the policy or not.

Although applying it on the interface would take more preference than the global policy, so if it does not work for the global, you can try changing it to interface.

Thanks,
Varun Rao
Security Team,
Cisco TAC

Thanks,
Varun Rao

View solution in original post

4 Replies 4

varrao
Level 10
Level 10

Hi rafael,

Once you implement the policy, you need to do a "Clear conn" and "Clear xlates", so that the new connections would fall under your policy map.

Thanks,
Varun Rao
Security Team,
Cisco TAC

Thanks,
Varun Rao

Hi Varun,

Thanks!

I have more one question.

My ACL HitCount is 0, its correct?

If i create a service policy and put in the interface(not in the global) the hitcount begins to appear, why?

Thanks again!

Hi Rafael,

You would see the hitcounts in the ACL, wat you can verify is the output of :show service-policy" this would tell you if the packets are falling under the policy or not.

Although applying it on the interface would take more preference than the global policy, so if it does not work for the global, you can try changing it to interface.

Thanks,
Varun Rao
Security Team,
Cisco TAC

Thanks,
Varun Rao

Ok Varun.

Now i see the "no timeout" in the output of command "show conn detail".

TCP rede_filiais:10.82.16.15/3826 rede_servidores:172.17.2.130/2598,

    flags UIOB, idle 1s, uptime 32m16s, timeout -, bytes 154944

Thank you.

Rafael

Review Cisco Networking for a $25 gift card