Allied Telesis AR400 manual How clients leave groups queries and timers, Overview of leave process

Page 58

How clients leave groups: queries and timers > Overview of leave process

How clients leave groups: queries and timers

When a client leaves a group, the Snoopers and the Querier check which ports now have clients that belong to that group. They will stop forwarding the group’s traffic out any ports that are now unnecessary. In this section, we describe the process in detail.

Overview of leave process

The basic process when a client leaves a group is as follows:

1.The client sends a Leave message to indicate that it no longer needs to receive that multicast group.

2.The Snooper receives the Leave message and forwards it towards the Querier.

3.For all ports that belong to the group, the Querier changes its internal group membership timer to a short value (2 seconds by default—see Querier timer values below).

4.The Querier sends a Specific Query to ask which other clients still belong to that group.

5.The aforementioned Snooper receives the Specific Query. For all ports that belong to the group, the Snooper changes its internal group membership timer to a short value

(2 seconds by default—see Snooper timer values below) unless the timer is already short. It forwards the Query out all its ports.

6.The Querier waits for the Last Member Query Interval time, 1 second by default, and then sends a second Specific Query.

7.The aforementioned Snooper snoops this second Specific Query and uses it to set the internal group membership timer for each port, unless the timer is already short (which it will be if the Snooper received the first Query). It forwards the Query out all its ports.

8.If the Snooper or Querier receives a Membership Report on a port, it sets the port timer to the Default Timeout Interval value and continues to forward the multicast stream out that port. Otherwise, the timers for that port expire and the Snooper and/or Querier stops forwarding the multicast stream out that port.

Querier timer values

As described in Step 3 above, when the Querier sends a Specific Query for a group in response to a Leave message, the Querier updates a timer for ports that forward that group. The timer is the following two values multiplied together:

zLast Member Query Count (LMQC)—the number of Specific Queries the Querier sends, 2 by default, and

zLast Member Query Interval (LMQI)—the time between the Specific Queries, 1 second by default

The default LMQC and LMQI give a timeout of 2 seconds. Therefore, by default the Querier must see the client response within 2 seconds of sending the first Specific Query.

Because of this process, sensible values for LMQC and LMQI are essential. In most networks, the defaults are appropriate and you should not change them. If you need to change them, see "Last Member Query Count and Last Member Query Interval" on page 72.

Page 58 AlliedWare™ OS How To Note: IGMP

Image 58
Contents Contents IntroductionConfigurable Igmp timers and counters Query solicitation rapid recovery from topology changesHow clients leave groups queries and timers Example of bad choices for timer valuesProducts and software versions this note applies to Igmp feature Software versions Products 4 AlliedWare OS How To Note IgmpIgmp overview 5 AlliedWare OS How To Note IgmpQueriers and Snoopers 6 AlliedWare OS How To Note Igmp MessagesIP address, binary 7 AlliedWare OS How To Note IgmpChoosing group addresses MAC address, hex8 AlliedWare OS How To Note Igmp Avoid x.0.0.y, x.0.1.y, x.128.0.y, and x.128.1.yIgmp snooping 9 AlliedWare OS How To Note IgmpExample Configure switch 10 AlliedWare OS How To Note Igmp11 AlliedWare OS How To Note Igmp Explanation of Igmp snoopingGroup List Entry timeout 257 Secs Ports All Groups 235 Using Show command output to investigate Igmp stateGroup List Entry timeout 136 secs Ports None 12 AlliedWare OS How To Note Igmp13 AlliedWare OS How To Note Igmp Group Last AdvGroup List Entry timeout 247 secs Ports When a client leaves a group14 AlliedWare OS How To Note Igmp 15 AlliedWare OS How To Note Igmp Multiple potential Igmp queriers16 AlliedWare OS How To Note Igmp Other Querier timeout .. secs When there are no group members17 AlliedWare OS How To Note Igmp All Groups Entry timeout Secs Ports When a client joins a groupGroup List Entry timeout 225 secs Ports 18 AlliedWare OS How To Note IgmpGroup List 19 AlliedWare OS How To Note IgmpGroup List Last Adv 20 AlliedWare OS How To Note Igmp 21 AlliedWare OS How To Note Igmp Igmp proxySwitch 3 is an Igmp Proxy 22 AlliedWare OS How To Note Igmp23 AlliedWare OS How To Note Igmp Group List Entry timeout 122 secs Ports NoneAll Groups Entry timeout 145 Secs Ports Explanation of Igmp proxyGroup Entry timeout Secs Ports 24 AlliedWare OS How To Note IgmpGroup Entry timeout 182 secs Ports 25 AlliedWare OS How To Note Igmp26 AlliedWare OS How To Note Igmp Query solicitation rapid recovery from topology changesHow query solicitation works 27 AlliedWare OS How To Note Igmp Initial state28 AlliedWare OS How To Note Igmp Why convergence takes so long without query solicitationExample Explanation from the perspective of switch 2, the snooper 29 AlliedWare OS How To Note IgmpAll Groups Entry timeout 236 secs Ports 30 AlliedWare OS How To Note Igmp31 AlliedWare OS How To Note Igmp Explanation from the perspective of switch 1, the querierGroup Entry timeout 18 secs Ports Shows this entryGroup Entry timeout 115 secs Ports 32 AlliedWare OS How To Note Igmp33 AlliedWare OS How To Note Igmp Speeding up Igmp convergence in a non-looped topology34 AlliedWare OS How To Note Igmp Switch 1 sends GQ35 AlliedWare OS How To Note Igmp Igmp filtering controlling multicast distributionSet switch port=1 igmpfilter=1 Types command36 AlliedWare OS How To Note Igmp Switch 3 is also an Igmp Snooper 37 AlliedWare OS How To Note Igmp38 AlliedWare OS How To Note Igmp Received Passed Dropped39 AlliedWare OS How To Note Igmp No group memberships40 AlliedWare OS How To Note Igmp 41 AlliedWare OS How To Note Igmp 42 AlliedWare OS How To Note Igmp 43 AlliedWare OS How To Note Igmp 44 AlliedWare OS How To Note Igmp 45 AlliedWare OS How To Note Igmp Modify switch 2 Configuration When we deny groups instead of replacing them46 AlliedWare OS How To Note Igmp Group 224.12.13.11 Entry timeout 255 secs Ports 224.12.13.12 47 AlliedWare OS How To Note Igmp48 AlliedWare OS How To Note Igmp Static IgmpSwitch 2 is an Igmp Snooper 49 AlliedWare OS How To Note Igmp50 AlliedWare OS How To Note Igmp 51 AlliedWare OS How To Note Igmp Group Entry timeout Infinity PortsExplanation of Static Igmp 52 AlliedWare OS How To Note Igmp When we add a static entry on another switchModify switch 3 Configuration MulticastPkts 675826All Groups Entry timeout 247 secs Ports 53 AlliedWare OS How To Note Igmp54 AlliedWare OS How To Note Igmp Group Entry timeout Infinity Ports 5,26 55 AlliedWare OS How To Note IgmpMulticastPkts 36350 56 AlliedWare OS How To Note IgmpMulticastPkts 14756 Group Entry timeout Infinity Ports None When a static entry’s port goes down57 AlliedWare OS How To Note Igmp 58 AlliedWare OS How To Note Igmp How clients leave groups queries and timersQuerier timer values Overview of leave processSnooper timer values 59 AlliedWare OS How To Note IgmpConsequences for high-loss and high-lag networks Comparing the Querier and Snooper timers60 AlliedWare OS How To Note Igmp Describes the new behaviour61 AlliedWare OS How To Note Igmp Igmp fast leaveSwitch 1 is an Igmp Querier 62 AlliedWare OS How To Note Igmp63 AlliedWare OS How To Note Igmp Explanation of Igmp fast leave64 AlliedWare OS How To Note Igmp When fast leave is disabledGroup Entry timeout 2 secs Ports Fast Leave OffGroup Entry timeout Secs Ports None When you enable fast leave on switchIt is safe to ignore the group entry on switch 65 AlliedWare OS How To Note IgmpWhen you set fast leave on all interfaces 66 AlliedWare OS How To Note IgmpTo specify single mode, use either of the commands Multiple host mode for fast leaveTo specify multiple mode, use the command 67 AlliedWare OS How To Note Igmp68 AlliedWare OS How To Note Igmp Timer and counter relationships Configurable Igmp timers and counters69 AlliedWare OS How To Note Igmp 70 AlliedWare OS How To Note Igmp Initial configurationEach example modifies the following base configuration Software versions71 AlliedWare OS How To Note Igmp Last Member Query Count and Last Member Query Interval Default values72 AlliedWare OS How To Note Igmp What these counters do73 AlliedWare OS How To Note Igmp Potential problems with changing these countersHow to change these counters Last Member Query Interval 255 10secs74 AlliedWare OS How To Note Igmp Last Member Query CountRobustness Variable Potential problems with changing this counterHow to change this counter What this counter doesPotential problems with changing this timer Default Query IntervalWhat this timer does How to change this timerQuery Response Interval 77 AlliedWare OS How To Note IgmpQuery Response Interval 100 10secs Synchronisation of timers Default Timeout Interval78 AlliedWare OS How To Note Igmp Default Timeout Interval = 2*130 + 100/10 = 270 seconds 79 AlliedWare OS How To Note Igmp80 AlliedWare OS How To Note Igmp Default Timeout Interval = 2*125 + 100/10 = 260 secondsDefault Timeout Interval 280 Secs Query Response Interval 200 10secsDefault Timeout Interval 180 Secs 81 AlliedWare OS How To Note IgmpDefault Query Interval 200 Secs Default Timeout Interval 410 82 AlliedWare OS How To Note IgmpCommands to configure these settings are Example of bad choices for timer valuesImagine the following changes to the configuration 83 AlliedWare OS How To Note IgmpProblem 3 Default Timeout Interval too short Problem 1 Last Member Query Interval too shortProblem 2 Query Response Interval short Last Member Query Interval was set to 5, using the commandFor more information, see Synchronisation of timers on 85 AlliedWare OS How To Note Igmp86 AlliedWare OS How To Note Igmp Stopping snoopers from snooping non-IGMP messages87 AlliedWare OS How To Note Igmp Router uses Ospf Configure the router88 AlliedWare OS How To Note Igmp Ports 2489 AlliedWare OS How To Note Igmp Ports 25Preventing an All Groups entry for a port Disabled All-groups Ports90 AlliedWare OS How To Note Igmp Disabling All Groups entry for a portEntry timeout 216 Secs Check the group entry timeout valuesReset port 24’s packet counters Enabling All Groups entry again92 AlliedWare OS How To Note Igmp Check the group entry timeout values againEntry timeout Secs MulticastPktsEntry timeout 259 Secs Enable Igmp debugging93 AlliedWare OS How To Note Igmp 94 AlliedWare OS How To Note Igmp MulticastPkts 91495 AlliedWare OS How To Note Igmp Controlling which addresses create All Groups entries96 AlliedWare OS How To Note Igmp Configuring switch224.0.0.5 97 AlliedWare OS How To Note Igmp 98 AlliedWare OS How To Note Igmp Configuring switches 1Adding other router addresses 99 AlliedWare OS How To Note Igmp Returning to the default list224.0.0.254 Using the other routermode options 100 AlliedWare OS How To Note IgmpStatically specifying that a port is a router port 101 AlliedWare OS How To Note IgmpCheck the current Igmp snooping entries Statically add port 6 as a router port attached to Vlan To remove the static configuration, simply delete it102 AlliedWare OS How To Note Igmp Stop port 6 from being a static router portIgmp debugging 103 AlliedWare OS How To Note IgmpClient joins a group Client leaves a group IgmpSnoopMembershipQuery setting timer at 2 secs for group104 AlliedWare OS How To Note Igmp Several minutes later the group entry times outPort entry times out Manager Switch 3 del vlan=100 port=5105 AlliedWare OS How To Note Igmp Snooped ports changeReport is filtered out 106 AlliedWare OS How To Note IgmpPort in the All Groups list is unplugged 107 AlliedWare OS How To Note Igmp Output for show ip igmp changesAppendix STP state Switch108 AlliedWare OS How To Note Igmp State Forwarding109 AlliedWare OS How To Note Igmp Manager Switch 3 show stp port=25-26