Commands For Multicast Vlan

10.3 Commands for Multicast VLAN

10.3.1 multicast-vlan

Command: multicast-vlan
no multicast-vlan
Function: Enable the multicast VLAN function on a VLAN. The no command disables the multicast VLAN Function.
Parameters: None.
Command mode: VLAN Configuration Mode
Default: Multicast VLAN function is not enabled.
Usage guide: The multicast VLAN function can not be enabled on a private VLAN. To disable the multicast VLAN function for a VLAN, delete the configuration of that VLAN associated with the multicast VLAN. Note that the default VLAN can not be configured with this command and only one multicast VLAN is allowed on a switch.
Example: Enable the multicast VLAN function on a VLAN.

active500EM(config)#interface vlan 2
active500EM(config-if-vlan2)#multicast-vlan

 

10.3.2 multicast-vlan association

Command: multicast-vlan association <vlan-list>
no multicast-vlan association <vlan-list>
Function: Associate several VLANs with a multicast VLAN. The no command cancels the association.
Parameters:

  • <vlan-list>: VLAN ID list associated with the multicast VLAN. Each VLAN can only be associated with one multicast VLAN. The association will only succeed when every VLAN listed in the VLAN ID table exists.

Command mode: VLAN Mode
Default: The multicast VLAN is not associated with any VLAN.
Usage guide: After a VLAN is associated with the multicast VLAN and there is a multicast packet on the port of the VLAN, the multicast data will be sent from the multicast VLAN to this port to reduce data traffic. The VLAN associated with the multicast VLAN should not be a private VLAN. A VLAN can only be associated with another VLAN after the multicast VLAN is enabled. Only one multicast VLAN can be enabled on a switch.
Example: Associate several VLANs with a multicast VLAN.

active500EM(config)#interface vlan 2
active500EM(config-if-vlan2)#multicast-vlan association 3, 4

 

10.3.3 multicast-vlan association interface

Command: multicast-vlan association interface (ethernet | port-channel|) IFNAME
no multicast-vlan association interface (ethernet | port-channel|) <IFNAME>
Function: Associate the specified port with the multicast VLAN, so the associated ports are able to receive the multicast flow. The no command cancels the association between the ports and the multicast VLAN.
Parameters:

  • <IFNAME>: name of the ethernet port or port-channel port

Command mode: VLAN Configuration Mode
Default: None
Usage guide:
1. ?associated VLAN? and ?associated port? of the multicast VLAN are absolute, they do not affect each other at times of contention.
2. The port of the aggregation member cannot be associated. The associated port is able to be added to port-group and can cancel the association.
3. The configured port type includes port-channel port or ethernet port. The port is only configured in ACCESS mode.
4. The associated port cannot belong to the multicast VLAN.5. When the associated port mode is set as non?access mode, the mode cannot be changed.
Example: Suppose vlan2 is multicast VLAN.

active500EM(config-if-vlan2)#multicast-vlan association interface ethernet 1/0/2
active500EM(config-if-vlan2)#multicast-vlan association interface port-channel 2
active500EM(config-if-vlan2)#no multicast-vlan association interface ethernet 1/0/2
active500EM(config-if-vlan2)#no multicast-vlan association interface port-channel 2

 


Return to Controller Wired CLI Table of Contents