XG2000 series User's Guide
52/315
All Rights Reserved, Copyright (C) PFU LIMITED 2009
4.9.5 Configuring IGMP Snooping To configure IGMP snooping, carry out the following procedure in the administrator EXEC mode.
Command Task
xg# configure terminal Switch to global configuration mode.
xg(config)# ip snooping protocol igmp Enable global IGMP snooping on the device.
xg(config)# ip snooping vlan <1-4094> Enable IGMP snooping for each VLAN separately.
xg(config)# ip snooping vlan <1-4094>
group-member-interval <60-600> (Optional)
Change the group member interval.
xg(config)# ip snooping vlan <1-4094>
mrouter { port <1-20> | agg-port <1-10> } (Optional)
Register the port the multicast router resides statically.
xg(config)# ip snooping vlan <1-4094>
mrouter suppress-learning (Optional)
Suppress dynamic registration on the port the multicast router
resides.
xg(config)# ip snooping vlan <1-4094>
last-member-query-interval <1-9> (Optional)
Change the last member query interval.
xg(config)# ip snooping vlan <1-4094>
send-query-count <1-3> (Optional)
Change the frequency of Query messages sent.
xg(config)# ip snooping vlan
max-group <10-128> (Optional)
Change the number of multicast addresses that can be
registered with IGMP snooping for each VLAN.
xg(config)# ip snooping vlan <1-4094>
fast-leave (Optional)
Set the fast-leave mode used when receiving an IGMP Leave
message.
xg(config)# interface port range 1 20 Switch to interface edit mode to designate ports to specify the
forwarding method for multicast frames.
All ports are selected in this example.
xg(config-if)# multicast-forwarding
forward-unregsitered-mac Set forwarding method for multicast frames to
forward-unregistered-mac.
xg(config)# exit Exit to administrator EXEC mode.
To enable IGMP query, carry out the following procedure in the administrator EXEC mode.
Command Task
xg# configure terminal Switch to global configuration mode.
xg(config)# ip snooping protocol igmp Enable global IGMP snooping on the device.
xg(config)# ip snooping vlan <1-4094> Enable IGMP snooping for each VLAN separately.
xg(config)# ip snooping vlan <1-4094>
group-member-interval <60-600> (Optional)
Change the group member interval.
xg(config)# ip snooping vlan <1-4094>
last-member-query-interval <1-9> (Optional)
Change the last member query interval.
xg(config)# ip snooping vlan <1-4094>
send-query-count <1-3> (Optional)
Change the frequency of Query messages sent.
xg(config)# ip snooping vlan <1-4094>
querier ip A.B.C.D Enable IGMP query and set the source IP address for a Query
message.
xg(config)# exit Exit to administrator EXEC mode.