07-IP Multicast Command Reference

HomeSupportRoutersH3C SR8800 Router SeriesReference GuidesCommand ReferencesH3C SR8800 Command Reference-Release3347-6W10307-IP Multicast Command Reference
03-Multicast VLAN Commands
Title Size Download
03-Multicast VLAN Commands 62.33 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 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 the display multicast-vlan command to display multicast VLAN information.

Examples

# Display information about multicast VLANs.

<Sysname> display multicast-vlan

 Total 1 multicast-vlan(s)

 

 Multicast vlan 100

   subvlan list:

    vlan 2  4-6

Table 1 Output description

Field

Description

Total 1 multicast-vlan(s)

Total number of multicast VLANs

Multicast vlan

A multicast VLAN

subvlan list

List of sub-VLANs 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: Removes 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.

No VLAN is 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 in the public instance or VPN instance.

IGMP snooping must be enabled in the multicast VLAN before the multicast VLAN feature can be implemented, while it is not necessary to enable IGMP snooping in the sub-VLANs of the multicast VLAN.

Related commands: igmp-snooping enable and multicast routing-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]

multicast-vlan entry-limit

Syntax

multicast-vlan entry-limit limit

undo multicast-vlan entry-limit

View

System view

Default level

2: System level

Parameters

limit: Maximum number of entries in the IGMP snooping forwarding table of multicast VLANs. The value ranges from 0 to 13824.

Description

Use the multicast-vlan entry-limit command to configure the maximum number of IGMP snooping forwarding entries of multicast VLANs.

Use the undo multicast-vlan entry-limit command to restore the default.

By default, the maximum value is 13824.

Related commands: entry-limit.

Examples

# Configure the IGMP snooping forwarding table of multicast VLANs to contain 512 entries at most.

<Sysname> system-view

[Sysname] multicast-vlan entry-limit 512

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: Defines one or multiple VLANs as sub-VLANs. You can provide up to 10 VLAN lists, by each of which you can specify an individual 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 value range of a VLAN ID is 1 to 4094.

All: Removes all sub-VLANs of the current multicast VLAN.

Description

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

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

A multicast VLAN has no sub-VLANs by default.

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.

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
新华三官网