24
Configuring static multicast MAC address entries
In Layer-2 multicast, a Layer 2 multicast protocol (such as IGMP snooping) can dynamically add multicast
MAC address entries. Or, you can manually configure multicast MAC address entries.
Configuration guidelines
• In system view, the configuration is effective for the specified ports. In interface view or port group
view, the configuration is effective only on the current port or the ports in the current port group.
• Any legal multicast MAC address except 0100-5Exx-xxxx (where "x" represents a hexadecimal
number from 0 to F) can be manually added to the multicast MAC address table. Multicast MAC
addresses are the MAC addresses whose the least significant bit of the most significant octet is 1.
Configuration procedure
To configure a static multicast MAC address entry in system view:
Ste
Command
Remarks
1. Enter system view.
system-view
N/A
2. Configure a static multicast
MAC address entry.
mac-address multicast
mac-address interface interface-list
vlan vlan-id
No static multicast MAC address
entries exist by default.
To configure static multicast MAC address entries in interface view:
Ste
Command
Remarks
1. Enter system view.
system-view N/A
2. Enter Layer 2 Ethernet
interface view, Layer 2
aggregate interface view, or
port group view.
• Enter Layer 2 Ethernet interface
view or Layer 2 aggregate
interface view:
interface interface-type
interface-number
• Enter port group view:
port-group manual
port-group-name
Use either command.
3. Configure a static multicast
MAC address entry.
mac-address multicast
mac-address vlan vlan-id
No static multicast MAC address
entries exist by default.
Configuring IGMP snooping port functions
Before you configure IGMP snooping port functions, complete the following tasks:
• Enable IGMP snooping in the VLAN.
• Configure the corresponding port groups.
• Determine the aging time of dynamic router ports.
• Determine the aging time of dynamic member ports.