top button
Flag Notify
    Connect to us
      Site Registration

Site Registration

OpenFlow: What is the difference between idle_timeout and hard_timeout ?

+4 votes
1,077 views
OpenFlow: What is the difference between idle_timeout and hard_timeout ?
posted Aug 6, 2017 by Harshita

Share this question
Facebook Share Button Twitter Share Button LinkedIn Share Button

1 Answer

+1 vote

The idleTimeout is basically a value that determines how long a flow in a switch will last if it doesn't match any traffic. So if I have a flow in a switch with an idleTimeout of 5 seconds that matches all ICMP traffic on a given switch port, then as long as ICMP traffic is entering that switch port, that flow will continue to exist. If no ICMP traffic goes through the switch port for 5 seconds, the flow will timeout, and it will be removed from the switch. In short Idle timeout is a absolute timeout in which if there are no packets hitting the flow for the duration, then flow is removed from the device.

The hardTimeout, on the other hand, is a hard limit on how long a given flow can exist in the switch. If I have a flow in a switch with a hardTimeout of 5 seconds that matches all ICMP traffic on a given switch port, then even if ICMP traffic is continuously entering the switch port, that flow will time out after 5 seconds and it will be removed from the switch. In short Hard timeout is absolute timeout after which the flow is removed from the device.

enter image description here

Ref:
https://www.opennetworking.org/images/stories/downloads/sdn-resources/onf-specifications/openflow/openflow-spec-v1.0.0.pdf

answer Aug 9, 2017 by Manikandan J
Similar Questions
0 votes

What I understood for OVS till now is this is a soft switch compare to normal hardware switch and OVS performs all functions which a hardware switch can and on top of that software switch performs more function. Now I want to understand what is pipelining concept and when it is required ?

0 votes

Normally managed switch provides ways to configure ports to make part of a VLAN. And also there are different kinds of VLAN configuration such as making port as part of access vlan, hybrid vlan and tagged vlan. Is it possible for OpenFlow based switches ?

...