08-IP Multicast Command Reference

HomeSupportSwitchesH3C S12500 Switch SeriesReference GuidesCommand ReferencesH3C S12500 Command References-Release1828P04-6W18208-IP Multicast Command Reference
03-Multicast VLAN Commands
Title Size Download
03-Multicast VLAN Commands 59.22 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: Specifies a multicast VLAN ID in the range of 1 to 4094. If this argument is not specified, 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 10

   subvlan list:

    vlan 2-4

Table 1 Command output

Field

Description

Total 1 multicast-vlan(s)

Total number of multicast VLANs.

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 ID in the range of 1 to 4094.

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

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: Specifies the maximum number of entries in the IGMP snooping forwarding table of multicast VLANs. The value range depends on the system operating mode. For more information about system operating modes, see Fundamentals Configuration Guide.

Description

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

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

The default upper limit depends on the system operating mode. For more information about system operating 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 subvlan to configure sub-VLAN or sub-VLANs for the current multicast VLAN.

Use undo subvlan 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 exist and must not be multicast VLANs or sub-VLANs of any other multicast VLAN.

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