04-IP Multicast Command Reference

HomeSupportWirelessH3C WX3000E Series Wireless SwitchesReference GuidesCommand ReferencesH3C WX3000E Series Wireless Switches Switching Engine Command References(R3507P26)-6W10204-IP Multicast Command Reference
02-Multicast VLAN Commands
Title Size Download
02-Multicast VLAN Commands 65.43 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: 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.

|: Filters command output by specifying a regular expression. For more information about regular expressions, see the 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, which is a case-sensitive string of 1 to 256 characters.

Description

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

Examples

# Display the information about all multicast VLANs.

<Sysname> display multicast-vlan

 Total 1 multicast-vlan(s)

 

Multicast vlan 200

   port list:

    GE1/0/1                  GE1/0/2

Table 1 Output description

Field

Description

Total 1 multicast-vlan(s)

Total number of multicast VLANs

Multicast vlan

A 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.

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

You need to enable IGMP snooping in both the multicast VLAN and all the user VLANs.

Related commands: igmp-snooping enable.

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 or ports to the current multicast VLAN.

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

By default, a multicast VLAN has no ports.

A port can belong to only one multicast VLAN.

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

Examples

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

<Sysname> system-view

[Sysname] multicast-vlan 100

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

port multicast-vlan

Syntax

port multicast-vlan vlan-id

undo port multicast-vlan

View

Ethernet interface view, Layer 2 aggregate interface view, port group view.

Default level

2: System level

Parameters

vlan-id: VLAN ID of the multicast VLAN you want to assign the current port or ports to, in the range of 1 to 4094.

Description

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

Use the undo port multicast-vlan command to restore the system default.

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

A port can belong to only one multicast VLAN.

Examples

# Assign GigabitEthernet 1/0/1 to multicast VLAN 100.

<Sysname> system-view

[Sysname] interface gigabitethernet 1/0/1

[Sysname- GigabitEthernet1/0/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
新华三官网