Documente Academic
Documente Profesional
Documente Cultură
Table of Contents
i
Operation Manual – Multicast VLAN
Quidway S8500 Series Routing Switches Chapter 1 Multicast VLAN Configuration
interface interface-type
Enter Ethernet port view —
interface-number
Define the port type to hybrid port link-type hybrid Required
port hybrid vlan
Add the port to corresponding VLANs Required
vlan-id-list untagged
1-1
Operation Manual – Multicast VLAN
Quidway S8500 Series Routing Switches Chapter 1 Multicast VLAN Configuration
Note:
z A port can only belong to one multicast VLAN.
z A port connected to user terminals must be a hybrid port that does not tag multicast
VLAN packets.
z The system supports up to three multicast VLANs.
Configure a multicast VLAN, so that users in VLAN 2 and VLAN 3 receive multicast
flows through multicast VLAN 10.
1-2
Operation Manual – Multicast VLAN
Quidway S8500 Series Routing Switches Chapter 1 Multicast VLAN Configuration
SWITCH A
VLAN 2
E1/1/1 168.10.1.1
VLAN 10
168.20.1.1
WorkStation E1/1/10
SWITCH B
E1/1/1 E1/1/2
VLAN 20 VLAN 30
PC1 PC2
1) Configure Switch A
# Configure the IP address of VLAN-interface 2 to 168.10.1.1/24. Enable the PIM-DM
protocol.
<SwitchA> system-view
System View: return to User View with Ctrl+Z.
[SwitchA] multicast routing-enable
[SwitchA] interface vlan-interface 2
[SwitchA-Vlan-interface2] ip address 168.10.1.1 255.255.255.0
[SwitchA-Vlan-interface2] pim dm
[SwitchA-Vlan-interface2] quit
# Define Ethernet 1/1/10 as a trunk port and add this port to VLAN 10.
[SwitchA] interface Ethernet1/1/10
[SwitchA-Ethernet1/1/10] port link-type trunk
[SwitchA-Ethernet1/1/10] port trunk permit vlan 10
1-3
Operation Manual – Multicast VLAN
Quidway S8500 Series Routing Switches Chapter 1 Multicast VLAN Configuration
2) Configure Switch B
# Enable IGMP Snooping.
<SwitchB> system-view
System View: return to User View with Ctrl+Z.
[SwitchB] igmp-snooping enable
# Define Ethernet 1/1/10 as a trunk port and add the port to VLAN 10.
[SwitchB] interface Ethernet 1/1/10
[SwitchB-Ethernet 1/1/10] port link-type trunk
[SwitchB-Ethernet 1/1/10] port trunk permit vlan 10
[SwitchB-Ethernet 1/1/10] quit
# Define Ethernet 1/1/1 as a hybrid port. Add the port to VLAN 2 and VLAN 10. Make
the port carry no VLAN tag when it transmits packets of VLAN 2 and VLAN 10. Set the
default VLAN ID of the port to VLAN 2.
[SwitchB] interface Ethernet 1/1/1
[SwitchB-Ethernet 1/1/1] port link-type hybrid
[SwitchB-Ethernet 1/1/1] port hybrid vlan 2 10 untagged
[SwitchB-Ethernet 1/1/1] port hybrid pvid vlan 2
[SwitchB-Ethernet 1/1/1] quit
# Define Ethernet 1/1/2 as a hybrid port. Add the port to VLAN 3 and VLAN 10. Make
the port carry no VLAN tag when it transmits packets of VLAN 3 and VLAN 10. Set the
default VLAN ID of the port to VLAN 3.
[SwitchB] interface Ethernet 1/1/2
[SwitchB-Ethernet 1/1/2] port link-type hybrid
[SwitchB-Ethernet 1/1/2] port hybrid vlan 3 10 untagged
[SwitchB-Ethernet 1/1/2] port hybrid pvid vlan 3
[SwitchB-Ethernet 1/1/2] quit
1-4
Operation Manual – Multicast VLAN
Quidway S8500 Series Routing Switches Chapter 1 Multicast VLAN Configuration
Note:
Multicast VLAN and multicast VLAN Plus are different features.
Before configuring multicast VLAN Plus, you must enable IGMP snooping first.
1-5
Operation Manual – Multicast VLAN
Quidway S8500 Series Routing Switches Chapter 1 Multicast VLAN Configuration
Note:
z A multicast VLAN interconnects with Layer 3 devices.
z Sub-VLANs are connected with users.
z The device supports up to five multicast VLANs.
z The device supports up to 64 sub-VLANs for a multicast VLAN.
z Layer-3 multicast protocols must not be configured in multicast VLANs or
sub-VLANs. VLANs with layer-3 multicast protocols enabled cannot be configured
as multicast VLANs or sub-VLANs.
z A multicast VLAN cannot be a sub-VLAN. A sub-VLAN belongs to only one multicast
VLAN at the same time.
z Before configuring a multicast sub-VLAN, you must configure the corresponding
multicast VLAN.
z Configure a multicast VLAN before enabling IGMP Snooping.
z With multicast VLAN Plus enabled, you need to configure a querier only in the
multicast VLAN and not in sub-VLANs. The querier configured in a sub-VLAN does
not send general queries. But after the sub-VLAN becomes a normal VLAN or
multicast VLAN, the configured querier sends general queries.
1-6
Operation Manual – Multicast VLAN
Quidway S8500 Series Routing Switches Chapter 1 Multicast VLAN Configuration
SWITCH A
VLAN 2 E1/1/1
168.10.1.1
E1/1/10
VLAN 10
WorkStation 168.20.1.1 E1/1/10
SWITCH B VLAN 10
E1/1/1 E1/1/2
VLAN 20 VLAN 30
PC1 PC2
Assume that the IP address has been configured and the devices have been connected
correctly.
1) Configure Switch A.
# Configure the IP address of VLAN-interface 2 as 168.10.1.1/24 and enable PIM-DM.
<SwitchA> system-view
System View: return to User View with Ctrl+Z.
[SwitchA] multicast routing-enable
[SwitchA] interface vlan-interface 2
1-7
Operation Manual – Multicast VLAN
Quidway S8500 Series Routing Switches Chapter 1 Multicast VLAN Configuration
1-8
Operation Manual – Multicast VLAN
Quidway S8500 Series Routing Switches Chapter 1 Multicast VLAN Configuration
[SwitchB] vlan 30
[SwitchB-vlan 30] port interface Ethernet1/1/2
None
1-9
Operation Manual – Multicast VLAN
Quidway S8500 Series Routing Switches Chapter 1 Multicast VLAN Configuration
Caution:
z Boards with the suffix B or D and Type C boards with FE ports do not support vlan
vlan-id-list in this command. The l3multicast disable command disables layer-3
multicast in all the VLANs on the current port.
z For aggregation ports, you need to synchronize configuration manually.
z This command does not check validity of VLANs. Even if the specified VLAN does
not exist or the port does not belong to the specified VLAN, this command can be
successfully configured.
z If you configure this command on a port of an XP4 board, this configuration takes
effect also on neighboring ports (ports 1 and 2 are neighboring ports; and port 3 and
4 are neighboring ports).
1-10