Configuring a Host Statically to Join a Group (CLI)
Hosts or Layer 2 ports normally join multicast groups dynamically, but you can also statically configure a
host on an interface.
Follow these steps to add a Layer 2 port as a member of a multicast group:
SUMMARY STEPS
1.
enable
2.
configure terminal
3.
ip igmp snooping vlan vlan-id static ip_address interface interface-id
4.
end
5.
show ip igmp snooping groups
6.
copy running-config startup-config
DETAILED STEPS
PurposeCommand or Action
Enables privileged EXEC mode. Enter your password if prompted.enable
Step 1
Example:
Device> enable
Enters the global configuration mode.configure terminal
Example:
Device# configure terminal
Step 2
Statically configures a Layer 2 port as a member of a multicast
group:
ip igmp snooping vlan vlan-id static ip_address
interface interface-id
Step 3
Example:
Device(config)# ip igmp snooping vlan 105
•
vlan-id is the multicast group VLAN ID. The range is 1 to
1001 and 1006 to 4094.
•
ip-address is the group IP address.
static 230.0.0.1 interface
gigabitethernet1/0/1
•
interface-id is the member port. It can be a physical interface
or a port channel (1 to 128).
To remove the Layer 2 port from the multicast group,
use the no ip igmp snooping vlan vlan-id static
mac-address interface interface-id global configuration
command.
Note
IP Multicast Routing Configuration Guide, Cisco IOS XE Release 3.6E (Catalyst 3850 Switches)
76 OL-32598-01
Configuring IGMP
How to Configure IGMP Snooping