{"id":6360,"date":"2026-05-04T12:10:33","date_gmt":"2026-05-04T12:10:33","guid":{"rendered":"http:\/\/docs.connexite.co.uk\/index.php\/docs\/connexite-documentation\/synapse-cli-documentation\/cli-configuring-igmp-snooping\/"},"modified":"2026-05-04T12:19:08","modified_gmt":"2026-05-04T12:19:08","slug":"cli-configuring-igmp-snooping","status":"publish","type":"docs","link":"https:\/\/docs.connexite.co.uk\/index.php\/docs\/network\/synapse-cli-documentation\/cli-configuring-igmp-snooping\/","title":{"rendered":"Configuring IGMP Snooping"},"content":{"rendered":"<h2 class=\"connexite-doc-h2\">Overview of IGMP Snooping<\/h2>\n<p>IGMP Snooping is a short term for Internet Group Management Protocol Snooping, a mechanism running on a layer 2 device for managing and controlling multicast groups. A Layer 2 device running IGMP Snooping analyzes the received IGMP packets, establishes a mapping relationship between ports and MAC multicast addresses, and forwards multicast data according to the mapping relationship. When the Layer 2 device does not run IGMP Snooping, the multicast data is broadcast at Layer 2; when the Layer 2 device runs IGMP Snooping, the multicast data of the known multicast group will not be broadcast at Layer 2, but at Layer 2. As shown in the figure below, when the Layer 2 multicast device does not run IGMP Snooping, the IP multicast packets are broadcast in the VLAN; when the Layer 2 multicast device runs IGMP Snooping, the IP multicast packets are only sent to the group members recipient.<\/p>\n<h2 class=\"connexite-doc-h2\">Configuring<\/h2>\n<ul class=\"connexite-doc-list\">\n<li>Enabling IGMP Snooping<\/li>\n<\/ul>\n<pre class=\"connexite-doc-command\"><code>SWITCH( config)# igmp snooping<\/code><\/pre>\n<pre class=\"connexite-doc-command\"><code>SWITCH( config)# no igmp snooping<\/code><\/pre>\n<p class=\"connexite-doc-command-desc\">Enable\/disable IGMP Snooping function; disabled by default. Global configuration mode.<\/p>\n<pre class=\"connexite-doc-command\"><code>SWITCH( config-if)# igmp snooping mrouter interface IFNAME<\/code><\/pre>\n<pre class=\"connexite-doc-command\"><code>SWITCH( config-if)# no igmp snooping mrouter interface IFNAME<\/code><\/pre>\n<p class=\"connexite-doc-command-desc\">Configure\/delete IGMP Snooping upstream port; optional configuration. SVI interface mode.<\/p>\n<pre class=\"connexite-doc-command\"><code>SWITCH( config-if)# igmp snooping static-group IPADDR source IPADDR interface IFNAME<\/code><\/pre>\n<pre class=\"connexite-doc-command\"><code>SWITCH( config-if)# no igmp snooping static-group IPADDR source IPADDR interface IFNAME<\/code><\/pre>\n<p class=\"connexite-doc-command-desc\">Configure\/delete IGMP Snooping static group; optional configuration. SVI interface mode.<\/p>\n<pre class=\"connexite-doc-command\"><code>SWITCH( config-if)# igmp snooping fast-leave<\/code><\/pre>\n<pre class=\"connexite-doc-command\"><code>SWITCH( config-if)# no igmp snooping fast-leave<\/code><\/pre>\n<p class=\"connexite-doc-command-desc\">Configure\/delete IGMP Snooping fast leave function; optional configuration. SVI interface mode.<\/p>\n<h2 class=\"connexite-doc-h2\">Examples<\/h2>\n<p>Simplified topology: Basic configuration \/roles: (top down) server: During the test, VLC is used as the multicast server to provide the multicast service: udp:\/\/225.0.0.1:1234, the server IP is 3.3.3.10 router: Run the multicast routing protocol and enable IGMP, and use Ruijie S57 Layer 3 switch to simulate the test. The main configurations are as follows:<\/p>\n<h2 class=\"connexite-doc-h2\">Enable multicast routing<\/h2>\n<p>ip multicast-routing Configure the uplink port , connect to the server, here is simply to select the PIM dense mode, the actual network scale is large, and the multicast use is less, it is recommended to use the sparse mode interface GigabitEthernet 0\/23 no switchport no ip proxy- arp ip pim dense-mode ip address 3.3.3.3 255.255.255.0 Configure the downlink port. The PIM dense mode is simply selected here. The actual network scale is large and the multicast usage is small. It is recommended to use the sparse mode interface VLAN 1 no ip proxy- arp ip pim dense-mode ip address 2.2.2.1 255.255.255.0<\/p>\n<pre class=\"connexite-doc-command\"><code>SWITCH:<\/code><\/pre>\n<h2 class=\"connexite-doc-h2\">Multicast can be enabled<\/h2>\n<p>igmp snooping Client: Watch server multicast video through udp:\/\/225.0.0.1:1234, IP 2.2.2.10<\/p>\n<h2 class=\"connexite-doc-h2\">Display Information<\/h2>\n<ul class=\"connexite-doc-list\">\n<li>View IGMP Snooping Multicast Groups<\/li>\n<\/ul>\n<pre class=\"connexite-doc-command\"><code>SWITCH#show igmp snooping groups<\/code><\/pre>\n<pre class=\"connexite-doc-command\"><code>SWITCH#show igmp snooping interface {ifname}<\/code><\/pre>\n<h2 class=\"connexite-doc-h2\">Example:<\/h2>\n<p>IGMP Snooping information for vlan1 IGMP Snooping enabled<\/p>\n<h2 class=\"connexite-doc-h2\">Snooping Querier none<\/h2>\n<p>IGMP Snooping other querier timeout is 255 seconds Group Membership interval is 260 seconds IGMPv2 fast-leave is disabled IGMPv1\/v2 Report suppression enabled IGMPv3 Report suppression enabled<\/p>\n<h2 class=\"connexite-doc-h2\">Router port detection using IGMP Queries<\/h2>\n<p>Number of router-ports: 2 Number of Groups: 2 Number of Joins: 891 Number of Leaves: 4 Active Ports: gigabitEthernet0\/1 gigabitEthernet0\/2<\/p>\n<ul class=\"connexite-doc-list\">\n<li>Viewing IGMP Snooping Routing Port Information<\/li>\n<\/ul>\n<pre class=\"connexite-doc-command\"><code>SWITCH#show igmp snooping mrouter vlan1<\/code><\/pre>\n<h2 class=\"connexite-doc-h2\">Example:<\/h2>\n<pre class=\"connexite-doc-command\"><code>SWITCH#show igmp snooping mrouter vlan1<\/code><\/pre>\n<p class=\"connexite-doc-command-desc\">VLAN Interface IP-address Expires 1 gigabitEthernet0\/18(dynamic) 2.2.2.1 00:03:34 gigabitEthernet0\/20(static) &#8212; &#8212;<\/p>\n<pre class=\"connexite-doc-command\"><code>SWITCH#show igmp snooping statistics interface vlan1<\/code><\/pre>\n<p class=\"connexite-doc-command-desc\">IGMP Snooping statistics for vlan1 Group Count : 2 IGMP reports received : 893 IGMP leaves received : 4 IGMPv1 query warnings : 0 IGMPv2 query warnings : 456 IGMPv3 query warnings : 0<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Networking \u203a Switching \u203a Edge \u203a Synapse<\/p>\n","protected":false},"author":1,"featured_media":0,"parent":6349,"menu_order":11,"comment_status":"open","ping_status":"closed","template":"","doc_tag":[115,119,116],"class_list":["post-6360","docs","type-docs","status-publish","hentry","doc_tag-connexite","doc_tag-network","doc_tag-synapse-cli-documentation","no-post-thumbnail"],"acf":[],"_links":{"self":[{"href":"https:\/\/docs.connexite.co.uk\/index.php\/wp-json\/wp\/v2\/docs\/6360","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/docs.connexite.co.uk\/index.php\/wp-json\/wp\/v2\/docs"}],"about":[{"href":"https:\/\/docs.connexite.co.uk\/index.php\/wp-json\/wp\/v2\/types\/docs"}],"author":[{"embeddable":true,"href":"https:\/\/docs.connexite.co.uk\/index.php\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/docs.connexite.co.uk\/index.php\/wp-json\/wp\/v2\/comments?post=6360"}],"version-history":[{"count":1,"href":"https:\/\/docs.connexite.co.uk\/index.php\/wp-json\/wp\/v2\/docs\/6360\/revisions"}],"predecessor-version":[{"id":6408,"href":"https:\/\/docs.connexite.co.uk\/index.php\/wp-json\/wp\/v2\/docs\/6360\/revisions\/6408"}],"up":[{"embeddable":true,"href":"https:\/\/docs.connexite.co.uk\/index.php\/wp-json\/wp\/v2\/docs\/6349"}],"wp:attachment":[{"href":"https:\/\/docs.connexite.co.uk\/index.php\/wp-json\/wp\/v2\/media?parent=6360"}],"wp:term":[{"taxonomy":"doc_tag","embeddable":true,"href":"https:\/\/docs.connexite.co.uk\/index.php\/wp-json\/wp\/v2\/doc_tag?post=6360"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}