04-IP Multicast Volume

HomeSupportSwitchesH3C S7500E Switch SeriesReference GuidesCommand ReferencesH3C S7500E Series Ethernet Switches Command Manual(Release 6300 series V1.03)04-IP Multicast Volume
08-Multicast VLAN Commands
Title Size Download
08-Multicast VLAN Commands 32.28 KB

Multicast VLAN Configuration Commands

display multicast-vlan

Syntax

display multicast-vlan [ vlan-id ]

View

Any view

Default Level

1: Monitor level

Parameters

vlan-id: VLAN ID of a multicast VLAN, in the range of 1 to 4094. If this argument is not provided, the information about all multicast VLANs will be displayed.

Description

Use the display multicast-vlan command to view the information about the specified multicast VLAN.

Examples

# View the information about all multicast VLANs.

<Sysname> display multicast-vlan

 Total 4 multicast-vlan(s)

 

 Multicast vlan 100

   subvlan list:

    vlan 2  4-6

   port list:

    no port

 

 Multicast vlan 200

   subvlan list:

    no subvlan

   port list:

    Eth2/0/1                  Eth2/0/2

 

 Multicast vlan 300

   subvlan list:

    vlan 3

   port list:

    Eth2/0/3                 Eth2/0/4

 

 Multicast vlan 400

   subvlan list:

    no subvlan

   port list:

    no port

Table 1-1 display multicast-vlan command output description

Field

Description

Total 4 multicast-vlan(s)

Total number of multicast VLANs

Multicast vlan

A multicast VLAN

subvlan list

List of sub-VLANs of the multicast VLAN

port list

Port list of the multicast VLAN

 

multicast-vlan

Syntax

multicast-vlan vlan-id

undo multicast-vlan { all | vlan-id }

View

System view

Default Level

2: System level

Parameters

vlan-id: Specifies a VLAN by its ID, in the range of 1 to 4094.

all: Deletes all multicast VLANs.

Description

Use the multicast-vlan command to configure the specified VLAN as a multicast VLAN and enter multicast VLAN view.

Use the undo multicast-vlan command to remove the specified VLAN as a multicast VLAN.

The VLAN to be configured is not a multicast VLAN by default.

Note that:

l          The specified VLAN to be configured as a multicast VLAN must exist.

l          The multicast VLAN feature cannot be enabled on a device with IP multicast routing enabled.

l          For a sub-VLAN-based multicast VLAN, you need to enable IGMP Snooping only in the multicast VLAN; for a port-based multicast VLAN, you need to enable IGMP Snooping in both the multicast VLAN and all the user VLANs.

Related commands: multicast routing-table in the Multicast Routing and Forwarding Commands in the IP Multicast Volume; igmp-snooping enable in the IGMP Snooping Commands in the IP Multicast Volume.

Examples

# Enable IGMP Snooping in VLAN 100. Configure it as a multicast VLAN and enter multicast VLAN view.

<Sysname> system-view

[Sysname] igmp-snooping

[Sysname-igmp-snooping] quit

[Sysname] vlan 100

[Sysname-vlan100] igmp-snooping enable

[Sysname-vlan100] quit

[Sysname] multicast-vlan 100

[Sysname-mvlan-100]

port (multicast VLAN view)

Syntax

port interface-list

undo port { all | interface-list }

View

Multicast VLAN view

Default Level

2: System level

Parameters

interface-list: Specifies a port in the form of interface-type interface-number, or a port range in the form of interface-type start-interface-number to interface-type end-interface-number, where the end interface number must be greater than the start interface number.

all: Deletes all the ports in the current multicast VLAN.

Description

Use the port command to assign the specified port(s) to the current multicast VLAN.

Use the undo port command to delete the specified port(s) or all ports from the current multicast VLAN.

By default, a multicast VLAN has no ports.

Note that:

l          A port can belong to only one multicast VLAN.

l          Only the following types of interfaces can be configured as multicast VLAN ports: Ethernet, or Layer 2 aggregate interfaces.

Examples

# Assign ports Ethernet 2/0/1 through Ethernet 2/0/5 to multicast VLAN 100.

<Sysname> system-view

[Sysname] multicast-vlan 100

[Sysname-mvlan-100] port ethernet 2/0/1 to ethernet 2/0/5

subvlan (multicast VLAN view)

Syntax

subvlan vlan-list

undo subvlan { all | vlan-list }

View

Multicast VLAN view

Default Level

2: System level

Parameters

vlan-list: Specifies a VLAN in the form of vlan-id, or a VLAN range in the form of start-vlan-id to end-vlan-id, where the end VLAN ID must be greater than the start VLAN ID. The effective range of a VLAN ID is 1 to 4094.

all: Deletes all the sub-VLANs of the current multicast VLAN.

Description

Use the subvlan command to configure sub-VLAN(s) for the current multicast VLAN.

Use the undo subvlan command to remove the specified sub-VLAN(s) or all sub-VLANs from the current multicast VLAN.

A multicast VLAN has no sub-VLANs by default.

Note that:

l          The VLANs to be configured as sub-VLANs of the multicast VLAN must exist and must not be multicast VLANs or sub-VLANs of another multicast VLAN.

l          The number of sub-VLANs of the multicast VLAN must not exceed the system-defined limit (an S7500E series Ethernet switch supports up to five multicast VLANs, and supports up to 4000 sub-VLANs for each multicast VLAN. The total number of sub-VLANs for all multicast VLANs on the switch cannot exceed 4000.).

Examples

# Configure VLAN 10 through VLAN 15 as sub-VLANs of multicast VLAN 100.

<Sysname> system-view

[Sysname] multicast-vlan 100

[Sysname-mvlan-100] subvlan 10 to 15

 

  • Cloud & AI
  • InterConnect
  • Intelligent Computing
  • Security
  • SMB Products
  • Intelligent Terminal Products
  • Product Support Services
  • Technical Service Solutions
All Services
  • Resource Center
  • Policy
  • Online Help
All Support
  • Become a Partner
  • Partner Resources
  • Partner Business Management
All Partners
  • Profile
  • News & Events
  • Online Exhibition Center
  • Contact Us
All About Us
新华三官网