mac

Commands for Multicast VLAN
407
another VLAN after the multicast VLAN is enabled. Only one multicast VLAN can be
enabled on a switch.
Examples:
Switch(config)#vlan 2
Switch(Config-Vlan2)# multicast-vlan association 3, 4
35.3 multicast-vlan association interface
Command: multicast-vlan association interface (ethernet | port-channel|) IFNAME
out-tag <tag-id>
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.
Parameter: IFNAME: The name of the ethernet port or port-channel port
tag-id: Specify vlan tag of the multicast data forwarded by the associated
port, only the tag of the associated port allows the multicast VLAN, the tag-id takes effect.
Its range from 1 to 4094.
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 when happening the cross.
2. The port of the aggregation member cannot be associated, but the associated port is
able to be added to port-group and cancelling the association.
3. The configured port type includes port-channel port or ethernet port and the port is only
configured as ACCESS mode.
4. The port (it will be associated) cannot belong to the multicast VLAN, in the same way,
the associated port cannot be divided in 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.
Switch(config-vlan2)#multicast-vlan association interface ethernet 1/2
Switch(config-vlan2)#multicast-vlan association interface port-channel 2
Switch(config-vlan2)#no multicast-vlan association interface ethernet 1/2
Switch(config-vlan2)#no multicast-vlan association interface port-channel 2