05-IP Multicast Command Reference

HomeSupportReference GuidesCommand ReferencesH3C WX Series Access Controllers Command References(R3308 R2308)-6W10705-IP Multicast Command Reference
03-Multicast VLAN Commands
Title Size Download
03-Multicast VLAN Commands 67.47 KB

display multicast-vlan

Syntax

display multicast-vlan [ vlan-id ] [ | { begin | exclude | include } regular-expression ]

View

Any view

Default level

1: Monitor level

Parameters

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

|: Filters command output by specifying a regular expression. For more information about regular expressions, see Fundamentals Configuration Guide.

begin: Displays the first line that matches the specified regular expression and all lines that follow.

exclude: Displays all lines that do not match the specified regular expression.

include: Displays all lines that match the specified regular expression.

regular-expression: Specifies a regular expression, a case-sensitive string of 1 to 256 characters.

Description

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

Examples

# Display information about all multicast VLANs.

<Sysname> display multicast-vlan

 Total 1 multicast-vlan(s)

 

 Multicast vlan 100

   subvlan list:

   port list:

    WLAN-ESS1   

Table 1 Command output

Field

Description

Total 1 multicast-vlan(s)

Total number of multicast VLANs

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: Specifies all multicast VLANs.

Description

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

Use undo multicast-vlan to remove the specified multicast VLAN.

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

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

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

For a port-based multicast VLAN, you need to enable IGMP snooping in both the multicast VLAN and all user VLANs.

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: Specifies all ports in the current multicast VLAN.

Description

Use port to assign the specified port or ports to the current multicast VLAN.

Use undo port to delete the specified ports from the current multicast VLAN.

By default, a multicast VLAN has no ports.

A port can belong to only one multicast VLAN.

Only Ethernet ports, WLAN-MESH interfaces, and WLAN-ESS interfaces can be configured as multicast VLAN ports.

Examples

# Assign ports WLAN-ESS 2 through WLAN-ESS 3 to multicast VLAN 100.

<Sysname> system-view

[Sysname] multicast-vlan 100

[Sysname-mvlan-100] port WLAN-ESS 2 to WLAN-ESS 3

port multicast-vlan

Syntax

port multicast-vlan vlan-id

undo port multicast-vlan

View

Ethernet interface view, WLAN-ESS interface view, Layer 2 aggregate interface view, port group view.

Default level

2: System level

Parameters

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

Description

Use port multicast-vlan to assign the current port or ports to the specified multicast VLAN.

Use undo port multicast-vlan to restore the default.

By default, a port does not belong to any multicast VLAN.

A port can belong to only one multicast VLAN.

 

 

NOTE:

Support for the command depends on your device model. For the command matrixes, see About the WX Series Access Controllers Command References.

 

Examples

# Assign WLAN-ESS 1 to multicast VLAN 100.

<Sysname> system-view

[Sysname] interface WLAN-ESS 1

[Sysname-WLAN-ESS 1] port multicast-vlan 100

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