cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
291
Views
0
Helpful
3
Replies

TCP timeout adjustment

mjsully
Level 1
Level 1

Is there any way to adjust the TCP timeout for a specific address and leave everything else at its default? I have a device that communicates in a way that its TCP session will drop after a while, and I need it to stay open. I don't want this to be the case for all other traffic, however. Can this be done?

3 Replies 3

mheusinger
Level 10
Level 10

Hello,

which device are you talking about?

Regards, Martin

thamdani
Cisco Employee
Cisco Employee

Hi,

I am assuming yo want to do it on PIX as this post is under firewall section.

This can be done however only in Ver 7.X of Pix through QOS.

There is a three step procedure.

1)Classify the traffic for which you want to set the timeout value with the "class-map" command.

2)Define the "policy-map" and add the defined class and then set the timeout value.

3)apply this policy by "service-policy"

example

I want to set the timeout value for 10.1.1.1

(config)# access-list servertimeout permit tcp any host 10.1.1.1

(config)# class-map timeout-server

(config-cmap)# match access-list servertimeout

(config-cmap)# exit

(config)# policy-map serverpolicy

(config-pmap)# class servertimeout

(config-pmap-c)# set connection timeout [Dont remember the exact command]

(config)#service-policy serverpolicy global or interface

Regards,

Tanveer

Yes, it was for a PIX, sorry I forgot to add that. It is running 7.01 so it looks like I can do it. Thats awesome! Thanks for the help!!