08-IP Multicast Command Reference

HomeSupportSwitchesH3C S9500E Switch SeriesReference GuidesCommand ReferencesH3C S9500E Command Reference-Release1728-6W17008-IP Multicast Command Reference
03-Multicast VLAN Commands
Title Size Download
03-Multicast VLAN Commands 60.47 KB

Contents

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

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

multicast-vlan······································································································································································ 2

multicast-vlan entry-limit··················································································································································· 2

subvlan (multicast VLAN view)······································································································································ 3

 


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 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 10

   subvlan list:

    vlan 2-4

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

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

You need to enable IGMP snooping only in 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 range depends on the system working mode. For more information about system working modes, see Fundamentals Configuration Guide.

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.

The default upper limit depends on the system working mode. For more information about system working modes, see Fundamentals Configuration Guide.

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: 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 value 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 or sub-VLANs for the current multicast VLAN.

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

A multicast VLAN has no sub-VLANs by default.

The VLANs to be configured as sub-VLANs of the multicast VLAN must have existed.

The number of sub-VLANs of the multicast VLAN must not exceed 1024.

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