05-IP Multicast Command Reference

HomeSupportReference GuidesCommand ReferencesH3C Access Controllers Command References(E3703P61 R2509P61 R3709P61 R2609P61 R3509P61)-6W10205-IP Multicast Command Reference
03-Multicast VLAN Commands
Title Size Download
03-Multicast VLAN Commands 34.29 KB

Contents

Multicast VLAN configuration commands······································· 1

display multicast-vlan······································································································ 1

multicast-vlan················································································································· 1

port (Multicast VLAN view)······························································································· 2

port multicast-vlan··········································································································· 3

 


Multicast VLAN configuration commands

display multicast-vlan

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

Syntax

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

Views

Any view

Default command level

1: Monitor level

Parameters

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

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

Examples

# Display information about all multicast VLANs.

<Sysname> display multicast-vlan

 Total 1 multicast-vlan(s)

 

 Multicast vlan 100

   subvlan list:

    vlan 2  4-6

   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

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 VLAN as a multicast VLAN.

Syntax

multicast-vlan vlan-id

undo multicast-vlan { all | vlan-id }

Default

No VLAN is configured as a multicast VLAN.

Views

System view

Default command 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.

Usage guidelines

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 must enable IGMP snooping in both the multicast VLAN and all the VLANs that contain the multicast data receivers.

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)

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

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

Syntax

port interface-list

undo port { all | interface-list }

Default

A multicast VLAN has no ports.

Views

Multicast VLAN view

Default command level

2: System level

Parameters

interface-list: Specifies a space-separated list of interface items. Each item specifies an interface or an interface list in the format of start-interface-type interface-number to end-interface-type interface-number. The interface-type interface-number argument specifies an interface by its type and number.

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

Usage guidelines

A port can belong to only one multicast VLAN.

You can assign Ethernet ports, WLAN-ESS interfaces, and WLAN-MESH interfaces 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

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

Use undo port multicast-vlan to restore the default.

Syntax

port multicast-vlan vlan-id

undo port multicast-vlan

Default

A port does not belong to any multicast VLAN.

Views

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

Default command level

2: System level

Parameters

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

Usage guidelines

A port can belong to only one multicast VLAN.

Examples

# Assign WLAN-ESS 1 to multicast VLAN 100.

<Sysname> system-view

[Sysname] interface WLAN-ESS 1

[Sysname-WLAN-ESS1] 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