The multicast-source-deny command discards multicast data packets sent from specified VLANs on an interface.
The undo multicast-source-deny command restores multicast forwarding in specified VLANs on an interface.
By default, multicast data packets from all VLANs are forwarded on an interface.
multicast-source-deny [ vlan { vlan-id1 [ to vlan-id2 ] } &<1-10> ]
undo multicast-source-deny [ vlan { vlan-id1 [ to vlan-id2 ] } &<1-10> ]
Parameter |
Description |
Value |
---|---|---|
vlan vlan-id1 [ to vlan-id2 ] |
Specifies a VLAN ID.
|
The value is an integer that ranges from 1 to 4094. |
MultiGE interface view, Ethernet interface view, GE interface view, XGE interface view, 25GE interface view, 40GE interface view, 100GE interface view, port group view, Eth-Trunk interface view
Usage Scenario
Precautions
If you run the multicast-source-deny command multiple times, all the configurations take effect.
When using the multicast-source-deny command on an interface, ensure that the interface has been added to the specified VLANs. Otherwise, the configuration does not take effect.