H3C S7500E Series Ethernet Switches Operation Manual

Operation Manual – Multicast
H3C S7500E Series Ethernet Switches Chapter 3 Multicast VLAN Configuration
3-4
# Enable IP multicast routing, enable PIM-DM on each interface and enable IGMP on
Ethernet 1/0/1.
<RouterA> system-view
[RouterA] multicast routing-enable
[RouterA] interface ethernet 1/0/1
[RouterA-Ethernet1/0/1] pim dm
[RouterA-Ethernet1/0/1] igmp enable
[RouterA-Ethernet1/0/1] quit
[RouterA] interface ethernet 1/0/2
[RouterA-Ethernet1/0/2] pim dm
[RouterA-Ethernet1/0/2] quit
3) Configure Switch A
# Enable IGMP Snooping globally.
<SwitchA> system-view
[SwitchA] igmp-snooping
[SwitchA-igmp-snooping] quit
# Create VLAN 11 and assign Ethernet 2/0/2 to this VLAN.
[SwitchA] vlan 11
[SwitchA-vlan11] port ethernet 2/0/2
[SwitchA-vlan11] quit
The configuration for VLAN 12 and VLAN 13 is similar to the configuration for VLAN 11.
# Create VLAN 1024, assign Ethernet 2/0/1 to this VLAN and enable IGMP Snooping in
the VLAN.
[SwitchA] vlan 1024
[SwitchA-vlan1024] port ethernet 2/0/1
[SwitchA-vlan1024] igmp-snooping enable
[SwitchA-vlan1024] quit
# Configure VLAN 1024 as multicast VLAN and configure VLAN 11 through VLAN 13
as its sub-VLANs.
[SwitchA] multicast-vlan 1024 enable
[SwitchA] multicast-vlan 1024 subvlan 11 to 13
4) Verify the configuration
# Display information about the multicast VLAN and its sub-VLANs.
[SwitchA] display multicast-vlan
multicast vlan 1024's subvlan list:
Vlan 11-13