0% found this document useful (0 votes)
79 views

Multicast VLAN Commands

This document provides configuration commands for multicast VLAN features on Quidway S8500 series routing switches. It describes commands for configuring multicast VLANs, displaying multicast VLAN configurations and tables, and disabling layer 3 multicast on ports.

Uploaded by

Randy Dookheran
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
79 views

Multicast VLAN Commands

This document provides configuration commands for multicast VLAN features on Quidway S8500 series routing switches. It describes commands for configuring multicast VLANs, displaying multicast VLAN configurations and tables, and disabling layer 3 multicast on ports.

Uploaded by

Randy Dookheran
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 8

Command Manual Multicast VLAN

Quidway S8500 Series Routing Switches Table of Contents



Huawei Proprietary and Confidential
Copyright (c) Huawei Technologies Co., Ltd
i

Table of Contents
Chapter 1 Multicast VLAN Configuration Commands............................................................... 1-1
1.1 Multicast VLAN Configuration Commands ........................................................................ 1-1
1.1.1 service-type multicast.............................................................................................. 1-1
1.2 Multicast VLAN PLUS Configuration Commands.............................................................. 1-2
1.2.1 display multicast-vlan.............................................................................................. 1-2
1.2.2 display multicast-vlan forwarding-table................................................................... 1-2
1.2.3 multicast-vlan enable .............................................................................................. 1-2
1.2.4 multicast-vlan subvlan............................................................................................. 1-2
1.3 Layer 3 Multicast Disabling Command.............................................................................. 1-2
1.3.1 l3multicast disable................................................................................................... 1-2

Command Manual Multicast VLAN
Quidway S8500 Series Routing Switches
Chapter 1 Multicast VLAN Configuration
Commands

Huawei Proprietary and Confidential
Copyright (c) Huawei Technologies Co., Ltd
1-1

Chapter 1 Multicast VLAN Configuration
Commands
1.1 Multicast VLAN Configuration Commands
1.1.1 service-type multicast
Syntax
service-type multicast
undo service-type multicast
View
VLAN view
Parameters
None
Description
Use the service-type multicast command to configure the current VLAN as multicast
VLAN.
Use the undo service-type multicast command to remove the configuration.
By default, all VLANs are not multicast VLANs.
If you configure multicast VLAN, add the corresponding switch ports to the multicast
VLAN and enable IGMP Snooping, users in different VLANs can share one multicast
VLAN, and multicast flow can be transmitted in the multicast VLAN only, thus saving
bandwidth. The completely isolated multicast VLAN and user VLAN can effectively
ensure security.

Note:
A port can belong to only one multicast VLAN.
The type of port connected with user terminals must be hybrid untagged.
The system supports up to three multicast VLANs.

Examples
# Configure VLAN 2 as a multicast VLAN.
Chapter 1 Multicast VLAN Configuration
Commands
Command Manual Multicast VLAN
Quidway S8500 Series Routing Switches

1-2 Huawei Proprietary and Confidential
Copyright (c) Huawei Technologies Co., Ltd

<Quidway> system-view
System View: return to User View with Ctrl+Z.
[Quidway] vlan 2
[Quidway-vlan2] service-type multicast
1.2 Multicast VLAN PLUS Configuration Commands

Note:
If not otherwise specified, the multicast VLAN feature mentioned in this section refers to
multicast VLAN PLUS.

1.2.1 display multicast-vlan
Syntax
display multicast-vlan [ vlan-id ]
View
Any view
Parameters
vlan-id: ID of a multicast VLAN to be displayed.
Description
Use the display multicast-vlan command to display the mappings between the
specifed multicast VLAN or all the configured multicast VLANs and multicast
sub-VLANs. If no VLAN ID is specified, this command displays the mappings between
all the configured multicast VLANs and their sub-VLANs.
Examples
# Display the mappings between multicast VLAN 10 and its multicast sub-VLANs.
<Quidway> display multicast-vlan 10
multicast vlan 10's subvlan list:
Vlan 100
1.2.2 display multicast-vlan forwarding-table
Syntax
display multicast-vlan forwarding-table [ group-id ]
Command Manual Multicast VLAN
Quidway S8500 Series Routing Switches
Chapter 1 Multicast VLAN Configuration
Commands

Huawei Proprietary and Confidential
Copyright (c) Huawei Technologies Co., Ltd
1-3

View
Any view
Parameters
group-id: IP address of the multicast group to be displayed.
Description
Use the display multicast-vlan forwarding-table command to display the created
forwarding table entries. If no group ID is specified, this command displays all the
created forwarding table entries. The displayed information includes incoming VLANs,
outgoing VLANs, and port information in the VLANs.
Examples
# Display all the created forwarding table entries.
<Quidway> display multicast-vlan forwarding-table
Multicast vlan Forwarding Table.
Total 1 entry(entries).

(*,227.1.1.3)
in-vlan: Vlan 50
GigabitEthernet2/1/5
GigabitEthernet2/1/21
GigabitEthernet4/1/1
2 out-vlan(s):
Vlan51
GigabitEthernet4/1/1
Vlan99
GigabitEthernet4/1/1
Total 1 entry(entries) Listed.
Table 1-1 display multicast-vlan forwarding-table command output description
Field Description
in-vlan Incoming VLAN
out-vlan(s) Outgoing VLANs

Chapter 1 Multicast VLAN Configuration
Commands
Command Manual Multicast VLAN
Quidway S8500 Series Routing Switches

1-4 Huawei Proprietary and Confidential
Copyright (c) Huawei Technologies Co., Ltd

Note:
In a multicast VLAN, (*, G) entries are used for multicast traffic forwarding.
The incoming VLAN of an (*, G) entry is the multicast VLAN, while the outgoing
VLANs are the multicast VLANs sub-VLANs.

1.2.3 multicast-vlan enable
Syntax
multicast-vlan enable
undo multicast-vlan enable
View
VLAN view
Parameters
None
Description
Use the multicast-vlan enable command to configure the current VLAN as a multicast
VLAN.
Use the undo multicast-vlan enable command to remove the current VLAN as a
multicast VLAN.
By default, no VLAN is configured as a multicast VLAN.
To make a multicast VLAN effective, you must enable IGMP Snooping in the multicast
VLAN.

Note:
Multicast VLANs are connected with Layer-3 devices.
The switch supports up to five multicast VLANs.
The switch supports up to 64 sub-VLANs for each multicast VLAN.
Layer-3 multicast protocols must not be configured in multicast VLANs. VLANs with
Layer-3 multicast protocols enabled cannot be configured as multicast VLANs.
A multicast VLAN must not be a sub-VLAN.
Configure a multicast VLAN before enabling IGMP Snooping.

Related commands: igmp-snooping enable.
Command Manual Multicast VLAN
Quidway S8500 Series Routing Switches
Chapter 1 Multicast VLAN Configuration
Commands

Huawei Proprietary and Confidential
Copyright (c) Huawei Technologies Co., Ltd
1-5

Examples
# Configure VLAN 10 as a multicast VLAN.
<Quidway> system-view
[Quidway] vlan 10
[Quidway-vlan10] multicast-vlan enable
1.2.4 multicast-vlan subvlan
Syntax
multicast-vlan multicast vlan-id subvlan multicast subvlan-id [ to multicast subvlan-id]
undo multicast-vlan multicast vlan-id subvlan multicast subvlan-id [ to multicast
subvlan-id ]
View
System view
Parameters
multicast vlan-id: ID of a multicast VLAN to which sub-VLANs will be added.
multicast vlan-id: ID of a VLAN to be configured as a sub-VLAN.
Description
Use the multicast-vlan subvlan command to configure the specified VLAN(s) as
sub-VLAN(s) of the specified multicast VLAN.
Use the undo multicast-vlan subvlan command to remove the specified VLAN(s) as
sub-VLAN(s) of the specified multicast VLAN.
By default, a VLAN is not a sub-VLAN of a multicast VLAN.
Before a sub-VLAN can come into effect, you must enable IGMP Snooping first.

Note:
Sub-VLANs are connected with users.
Layer-3 multicast protocols must not be configured in multicast sub-VLANs. VLANs
with layer-3 multicast protocols enabled cannot be configured as multicast
sub-VLANs.
A multicast sub-VLAN belongs to only one multicast VLAN at the same time.
Before configuring a multicast sub-VLAN, you must configure the corresponding
multicast VLAN.
Configure a multicast VLAN before enabling IGMP Snooping.

Chapter 1 Multicast VLAN Configuration
Commands
Command Manual Multicast VLAN
Quidway S8500 Series Routing Switches

1-6 Huawei Proprietary and Confidential
Copyright (c) Huawei Technologies Co., Ltd

Related commands: igmp-snooping enable.
Examples
# Configure VLAN 100 as a sub-VLAN of VLAN 10.
<Quidway> system-view
[Quidway]multicast-vlan 10 subvlan 100
1.3 Layer 3 Multicast Disabling Command
1.3.1 l3multicast disable
Syntax
l3multicast disable [ vlan vlan-id-list ]
undo l3multicast disable [ vlan vlan-id-list ]
View
Ethernet port view/RPR logical port view
Parameters
vlan-id-list: VLAN interface list, in the form of vlan-id-list = [ vlan-id1 [ to
vlan-id2 ] ]&<1-10>, where vlan-id is in the range of 1 to 4,094, and &<1-10> means that
you can specify up to 10 VLANs or VLAN ranges for this argument.
Description
Use the l3multicast disable command to disable Layer 3 multicast in a specified
VLAN on the current port.
Use the undo l3multicast disable command to restore the default.
By default, whether this function is enabled depends on the VLAN configuration.
If no VLAN ID is specified, the command has effect on all the VLANs of the current
port.
This command is superior to all other commands that may affect Layer 3 multicast,
such as PIM.

Command Manual Multicast VLAN
Quidway S8500 Series Routing Switches
Chapter 1 Multicast VLAN Configuration
Commands

Huawei Proprietary and Confidential
Copyright (c) Huawei Technologies Co., Ltd
1-7

Note:
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.
For aggregation ports, you need to synchronize configuration manually.
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.
If you configure this command on a port of an XP4 board, this configuration has
effect also on neighboring ports (ports 1 and 2 are neighboring ports, and ports 3
and 4 are neighboring ports).

Examples
# Disable Layer 3 multicast in VLAN 10 on Ethernet1/1/1.
<Quidway> system-view
System View: return to User View with Ctrl+Z.
[Quidway] interface Ethernet1/1/1
[Quidway-Ethernet1/1/1] l3multicast disable vlan 10

You might also like