EasyManua.ls Logo

H3C S3100 8C SI - Page 340

H3C S3100 8C SI
944 pages
Print Icon
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
Operation Manual – Multicast
H3C S3100 Series Ethernet Switches Chapter 2 IGMP Snooping Configuration
2-22
1) Configure Switch A:
# Set the interface IP address of VLAN 20 to 168.10.1.1 and enable PIM DM on the
VLAN interface.
<SwitchA> system-view
[SwitchA] multicast routing-enable
[SwitchA] vlan 20
[SwitchA–vlan20]port Ethernet 1/0/1
[SwitchA-vlan20] quit
[SwitchA] interface Vlan-interface 20
[SwitchA-Vlan-interface20] ip address 168.10.1.1 255.255.255.0
[SwitchA-Vlan-interface20] pim dm
[SwitchA-Vlan-interface20] quit
# Configure VLAN 10.
[SwitchA] vlan 10
[SwitchA-vlan10] quit
# Define Ethernet 1/0/10 as a hybrid port, add the port to VLAN 10, and configure the
port to forward tagged packets for VLAN 10.
[SwitchA] interface Ethernet 1/0/10
[SwitchA-Ethernet1/0/10] port link-type hybrid
[SwitchA-Ethernet1/0/10] port hybrid vlan 10 tagged
[SwitchA-Ethernet1/0/10] quit
# Configure the interface IP address of VLAN 10 as 168.10.2.1, and enable PIM-DM
and IGMP.
[SwitchA] interface Vlan-interface 10
[SwitchA-Vlan-interface10] ip address 168.10.2.1 255.255.255.0
[SwitchA-Vlan-interface10] igmp enable
2) Configure Switch B:
# Enable the IGMP Snooping feature on Switch B.
<SwitchB> system-view
[SwitchB] igmp-snooping enable
# Configure VLAN 10 as the multicast VLAN and enable IGMP Snooping on it.
[SwitchB] vlan 10
[SwitchB-vlan10] service-type multicast
[SwitchB-vlan10] igmp-snooping enable
[SwitchB-vlan10] quit
# Define Ethernet 1/0/10 as a hybrid port, add the port to VLAN 2, VLAN 3, and VLAN
10, and configure the port to forward tagged packets for VLAN 2, VLAN 3, and VLAN
10.
[SwitchB] interface Ethernet 1/0/10

Table of Contents

Related product manuals