63
4.7.3 CLI Commands of the Multicast Filtering
Command Lines of the multicast filtering configuration
Feature
Command Line
IGMP Snooping
IGMP Snooping -
Global
JetNet 5008G-P(config)# ip igmp snooping
IGMP snooping is enabled globally. Please specify on which
vlans IGMP snooping enables
IGMP Snooping - VLAN JetNet 5008G-P(config)# ip igmp snooping vlan
VLANLIST allowed vlan list
all all existed vlan
JetNet 5008G-P(config)# ip igmp snooping vlan 1-2
IGMP snooping is enabled on VLAN 1-2.
Disable IGMP Snooping
- Global
JetNet 5008G-P(config)# no ip igmp snooping
IGMP snooping is disabled globally ok.
Disable IGMP Snooping
- VLAN
JetNet 5008G-P(config)# no ip igmp snooping vlan 3
IGMP snooping is disabled on VLAN 3.
Display – IGMP
Snooping Setting
JetNet 5008G-P# sh ip igmp
interface vlan1
ip igmp is enabled
ip igmp version 1
JetNet 5008G-P# sh ip igmp snooping
IGMP snooping is globally enabled
Vlan1 is IGMP snooping disabled
immediate-leave is disabled
last-member-query-interval is 100 centiseconds
Vlan12 is IGMP snooping disabled
immediate-leave is disabled
last-member-query-interval is 100 centiseconds
Display – IGMP Table
JetNet 5008G-P# sh ip igmp snooping multicast all
VLAN IP Address Type Ports
---- --------------- ------- ------------------------
1 239.192.8.0 IGMP fa6,
1 239.255.255.250 IGMP fa6,
IGMP Query
Enable JetNet
5008G-P(config)# interface vlan 1
JetNet 5008G-P(config-if)# ip igmp
IGMP Query version
JetNet 5008G-P(config-if)# ip igmp version 1
JetNet 5008G-P(config-if)# ip igmp version 2
Disable
JetNet 5008G-P(config)# int vlan 1
JetNet 5008G-P(config-if)# no ip igmp
Display
JetNet 5008G-P# sh ip igmp
interface vlan1
enabled: Yes
version: IGMPv2
query-interval: 125s
query-max-response-time: 10s
JetNet 5008G-P# show running-config
….
!
interface vlan1
ip address 192.168.10.17/24
ip igmp
no shutdown
!