Allied Telesis AR400 manual Types command, Set switch port=1 igmpfilter=1

Page 36

IGMP filtering (controlling multicast distribution) > Example

XConfigure switch 1

Switch 1—the closest switch to the multicast source—is an IGMP Querier. The filter is configured on it, as shown in bold in the script below.

Note that the order of entries in a filter is important. When IGMP tries to match a message to a filter, it performs a linear search of the filter to find a matching entry, starting with the lowest-numbered entry. It stops processing the filter at the first match it finds. Therefore, this filter has an entry with one multicast group and an action of exclude, followed by an entry with all multicast groups and an (implicit) action of include.

Different Also note that in software versions 2.8.1 and later, each entry filters only one type of IGMP message message. To control the type of message, use the msgtype parameter in the following

types command:

add igmp filter=filter-idgroupaddress={ipaddipadd-ipadd} [entry=1..65535] [action={includeexclude}] [msgtype={query reportleave}]

In software version 2.8.1, this parameter is mandatory. Since software versions 281-01 and 2.9.1, the parameter is optional with a default of report. In this example we are filtering Reports, so we do not need to specify the message type.

set system name="Switch 1"

#STP general configuration enable stp=default

set stp=default mode=rapid

set stp=default port=1 edgeport=yes

#VLAN general configuration

create vlan=vlan100 vid=100 add vlan=100 port=1-52

# Switching configuration

set switch port=1 igmpfilter=1

#IP configuration enable ip

add ip int=vlan100 ip=172.31.0.254 mask=255.255.255.0 enable ip igmp

enable ip igmp int=vlan100 create igmp filter=1

add igmp filter=1 entry=1 group=224.0.1.22 action=exclude add igmp filter=1 entry=2 group=224.0.0.0-239.255.255.255

Page 36 AlliedWare™ OS How To Note: IGMP

Image 36
Contents Contents IntroductionQuery solicitation rapid recovery from topology changes How clients leave groups queries and timersConfigurable Igmp timers and counters 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 Igmp5 AlliedWare OS How To Note Igmp Igmp overviewQueriers and Snoopers 6 AlliedWare OS How To Note Igmp Messages7 AlliedWare OS How To Note Igmp Choosing group addressesIP address, binary 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.y9 AlliedWare OS How To Note Igmp Igmp snoopingExample Configure switch 10 AlliedWare OS How To Note Igmp11 AlliedWare OS How To Note Igmp Explanation of Igmp snoopingUsing Show command output to investigate Igmp state Group List Entry timeout 136 secs Ports NoneGroup List Entry timeout 257 Secs Ports All Groups 235 12 AlliedWare OS How To Note Igmp13 AlliedWare OS How To Note Igmp Group Last AdvWhen a client leaves a group Group List Entry timeout 247 secs Ports14 AlliedWare OS How To Note Igmp 15 AlliedWare OS How To Note Igmp Multiple potential Igmp queriers16 AlliedWare OS How To Note Igmp When there are no group members Other Querier timeout .. secs17 AlliedWare OS How To Note Igmp When a client joins a group Group List Entry timeout 225 secs PortsAll Groups Entry timeout Secs Ports 18 AlliedWare OS How To Note Igmp19 AlliedWare OS How To Note Igmp Group ListGroup 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 IgmpGroup List Entry timeout 122 secs Ports None All Groups Entry timeout 145 Secs Ports23 AlliedWare OS How To Note Igmp 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 IgmpQuery solicitation rapid recovery from topology changes 26 AlliedWare OS How To Note IgmpHow query solicitation works 27 AlliedWare OS How To Note Igmp Initial stateWhy convergence takes so long without query solicitation 28 AlliedWare OS How To Note IgmpExample 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 IgmpExplanation from the perspective of switch 1, the querier Group Entry timeout 18 secs Ports31 AlliedWare OS How To Note Igmp 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 distributionTypes command Set switch port=1 igmpfilter=136 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 When we deny groups instead of replacing them Modify switch 2 Configuration46 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 Group Entry timeout Infinity Ports 51 AlliedWare OS How To Note IgmpExplanation of Static Igmp When we add a static entry on another switch Modify switch 3 Configuration52 AlliedWare OS How To Note Igmp 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 Igmp56 AlliedWare OS How To Note Igmp MulticastPkts 36350MulticastPkts 14756 When a static entry’s port goes down Group Entry timeout Infinity Ports None57 AlliedWare OS How To Note Igmp How clients leave groups queries and timers Querier timer values58 AlliedWare OS How To Note Igmp Overview of leave processSnooper timer values 59 AlliedWare OS How To Note IgmpComparing the Querier and Snooper timers 60 AlliedWare OS How To Note IgmpConsequences for high-loss and high-lag networks 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 leaveWhen fast leave is disabled Group Entry timeout 2 secs Ports64 AlliedWare OS How To Note Igmp Fast Leave OffWhen you enable fast leave on switch It is safe to ignore the group entry on switchGroup Entry timeout Secs Ports None 65 AlliedWare OS How To Note IgmpWhen you set fast leave on all interfaces 66 AlliedWare OS How To Note IgmpMultiple host mode for fast leave To specify multiple mode, use the commandTo specify single mode, use either of the commands 67 AlliedWare OS How To Note Igmp68 AlliedWare OS How To Note Igmp Configurable Igmp timers and counters Timer and counter relationships69 AlliedWare OS How To Note Igmp Initial configuration Each example modifies the following base configuration70 AlliedWare OS How To Note Igmp Software versions71 AlliedWare OS How To Note Igmp Default values 72 AlliedWare OS How To Note IgmpLast Member Query Count and Last Member Query Interval What these counters doPotential problems with changing these counters How to change these counters73 AlliedWare OS How To Note Igmp Last Member Query Interval 255 10secs74 AlliedWare OS How To Note Igmp Last Member Query CountPotential problems with changing this counter How to change this counterRobustness Variable What this counter doesDefault Query Interval What this timer doesPotential problems with changing this timer How to change this timer77 AlliedWare OS How To Note Igmp Query Response IntervalQuery Response Interval 100 10secs Default Timeout Interval Synchronisation of timers78 AlliedWare OS How To Note Igmp Default Timeout Interval = 2*130 + 100/10 = 270 seconds 79 AlliedWare OS How To Note IgmpDefault Timeout Interval = 2*125 + 100/10 = 260 seconds Default Timeout Interval 280 Secs80 AlliedWare OS How To Note Igmp 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 IgmpExample of bad choices for timer values Imagine the following changes to the configurationCommands to configure these settings are 83 AlliedWare OS How To Note IgmpProblem 1 Last Member Query Interval too short Problem 2 Query Response Interval shortProblem 3 Default Timeout Interval too 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 Configure the router 88 AlliedWare OS How To Note IgmpRouter uses Ospf Ports 2489 AlliedWare OS How To Note Igmp Ports 25Disabled All-groups Ports 90 AlliedWare OS How To Note IgmpPreventing an All Groups entry for a port Disabling All Groups entry for a portCheck the group entry timeout values Reset port 24’s packet countersEntry timeout 216 Secs Enabling All Groups entry againCheck the group entry timeout values again Entry timeout Secs92 AlliedWare OS How To Note Igmp MulticastPktsEnable Igmp debugging Entry timeout 259 Secs93 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 entriesConfiguring switch 96 AlliedWare OS How To Note Igmp224.0.0.5 97 AlliedWare OS How To Note Igmp Configuring switches 1 98 AlliedWare OS How To Note IgmpAdding other router addresses Returning to the default list 99 AlliedWare OS How To Note Igmp224.0.0.254 Using the other routermode options 100 AlliedWare OS How To Note Igmp101 AlliedWare OS How To Note Igmp Statically specifying that a port is a router portCheck the current Igmp snooping entries To remove the static configuration, simply delete it 102 AlliedWare OS How To Note IgmpStatically add port 6 as a router port attached to Vlan Stop port 6 from being a static router port103 AlliedWare OS How To Note Igmp Igmp debuggingClient joins a group IgmpSnoopMembershipQuery setting timer at 2 secs for group 104 AlliedWare OS How To Note IgmpClient leaves a group Several minutes later the group entry times outManager Switch 3 del vlan=100 port=5 105 AlliedWare OS How To Note IgmpPort entry times out Snooped ports change106 AlliedWare OS How To Note Igmp Report is filtered outPort in the All Groups list is unplugged 107 AlliedWare OS How To Note Igmp Output for show ip igmp changesSwitch 108 AlliedWare OS How To Note IgmpAppendix STP state State Forwarding109 AlliedWare OS How To Note Igmp Manager Switch 3 show stp port=25-26