xStack
®
DGS-3400 Series Layer 2 Gigabit Ethernet Managed Switch CLI Manual
293
Example usage:
To set the maximum number of groups that can be learned by data driven:
Prompt# config igmp_snooping data_driven_learning max_learned_entry 50
Command: config igmp_snooping data_driven_learning max_learned_entry 50
Success.
Prompt#
config mld_snooping data_driven_learning
Purpose
This command is used to enable or disable the data-driven learning of an MLD snooping
group.
Syntax
config mld_snooping data_driven_learning [vlan_name <vlan_name> | vlanid <
vlanid_list > |all] {state [enable | disable] | aged_out [enable | disable] | expiry_time
<sec 1-65535>}(1)
Description
This command is used to enable or disable the data-driven learning of an MLD snooping
group.
When data-driven learning is enabled for the VLAN, when the switch receives the IP
multicast traffic, on this VLAN, an MLD snooping group will be created. That is, the learning
of an entry is not activated by MLD membership registration, but activated by the traffic. For
an ordinary MLD snooping entry, the MLD protocol will take care the aging out of the entry.
For a data-driven entry, the entry can be specified not to be aged out or to be aged out by the
aged timer.
When the data driven learning is enabled, and the data driven table is not full, the multicast
filtering mode for all ports is ignored. That is, the multicast packets will be forwarded to router
ports. If the data driven learning table is full, the multicast packets will be forwarded
according to the multicast filtering mode.
Note that if a data-driven group is created and MLD member ports are learned later, the entry
will become an ordinary MLD snooping entry. That is, the aging out mechanism will follow the
ordinary MLD snooping entry.
Parameters
vlan_name
- Specify the VLAN name to be configured.
<vlan_name>
- Enter the VLAN name here.
vlanid
- Specify the VLAN ID to be configured.
<vlanid_list>
- Enter the VLAN ID list here.
all
- Specify that all VLANs are to be configured.
state
- (Optional) Specify to enable or disable the data driven learning of MLD snooping
groups. By default, the state is enabled.
enable
- Enter enable to enable the data driven learning state.
disable
- Enter disable to disable the data driven learning state.
aged_out
- (Optional) Enable or disable the aging out of entries. By default, the state is
disabled.
enable
- Enter enable to enable the aged out option.
disable
- Enter disable to disable the aged out option.
expiry_time
- (Optional) Specify the data driven group lifetime, in seconds. This parameter is
valid only when aged_out is enabled.
<sec 1-65535>
- Enter the expiry time value here. This value must be between 1 and 65535
seconds.
Restrictions
Only Administrator and Operator-level users can issue this command.
Example usage:
To enable the data driven learning of an MLD snooping group on the default VLAN: