Configure Unknown Packet Forwarding Policy of L2 Multicast
Unknown multicast service packets have two kinds of forwarding policies: drop unknown multicast service packets, or make the unknown multicast service packets flood.
Configuration Condition
Before configuring the unknown packet forwarding policy of L2 multicast, first complete the following task:
- Configure corresponding VLAN
Configure Unknown Packet MAC Forwarding Policy of L2 Multicast
In the L2 multicast MAC forwarding mode, the multicast service packets are forwarded by matching VLAN and destination MAC address. When the multicast service packet does not match the forwarding table, it is unknown multicast service packet. The device has two kinds of forwarding policies for the unknown multicast service packets: drop unknown multicast service packets, or make unknown multicast service packets flood.
Table 1-2 Configure unknown packet MAC forwarding policy of L2 multicast
Step
|
Command
|
Description
|
Enter global configuration mode
|
configure terminal
|
-
|
Enter VLAN configuration mode
|
vlan vlan-id
|
-
|
Configure L2 multicast MAC forwarding policy
|
l2-multicast drop-unknown
|
Optional
By default, the function of dropping unknown multicast service packets is not enabled in VLAN.
|
Configure Unknown Packet IP Forwarding Policy of L2 Multicast
In the L2 multicast IP forwarding mode, the multicast service packets are forwarded by matching VLAN, multicast source IP address and multicast destination IP address. When the multicast service packet does not match the forwarding table, it is unknown multicast service packet. The device has two kinds of forwarding policies for the unknown multicast service packets: drop unknown multicast service packets, or make unknown multicast service packets flood.
Table 1-3 Configure unknown packet IP forwarding policy of L2 multicast
Step
|
Command
|
Description
|
Enter global configuration mode
|
configure terminal
|
-
|
Enter VLAN configuration mode
|
vlan vlan-id
|
-
|
Configure L2 multicast IP forwarding policy
|
l3-multicast drop-unknown
|
Mandatory
By default, the function of dropping unknown multicast service packets is not enabled in VLAN.
|
Configure Forwarding Policy of Unknown Multicast to Uplink Port
In the L2 multicast forwarding, the multicast service packet is forwarded through the L2 multicast forwarding table. When the multicast service packet does not match the forwarding table, it belongs to the unknown multicast service packet. Enable the function of dropping the unknown multicast service packet in VLAN, and the unknown multicast service packet will be dropped. In this case, after enabling the function of forwarding unknown multicast to the uplink port in VLAN, the flooding effect of unknown multicast service packet to the uplink port can be realized.
Table 1-4 Configure the forwarding policy of unknown multicast to the uplink port
Step
|
Command
|
Description
|
Enter global configuration mode
|
configure terminal
|
-
|
Enter VLAN configuration mode
|
vlan vlan-id
|
-
|
Configure L2 multicast IP forwarding policy
|
l3-multicast drop-unknown
|
Mandatory
By default, the function of dropping unknown multicast service packets is not enabled in VLAN.
|
Configure L2 multicast MAC forwarding policy
|
l2-multicast drop-unknown
|
Mandatory
By default, the function of dropping unknown multicast service packets is not enabled in VLAN.
|
Configure the forwarding policy of unknown multicast to the uplink port
|
multicast mrouter-forwarding
|
Optional
By default, do not enable the forwarding of the unknown multicast to the uplink port.
|