21
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
•
You can configure a static multicast MAC address entry for any legal multicast MAC address. A
multicast MAC address is a MAC address in which the least significant bit of the the most
significant octet is 1.
•
When you configure a static multicast MAC address entry in system view, the configuration is
effective on the specified interfaces. When you configure a static multicast MAC address entry
in interface view or port group view, the configuration is effective only on the current interface or
all interfaces in the current port group.
Configuration procedure
To configure a static multicast MAC address entry in system view:
Step 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 a static multicast MAC address entry in interface view:
Step Command
Remarks
1.
Enter system view.
system-view
N/A
2.
Enter Ethernet
interface/Layer 2 aggregate
interface view or port group
view.
•
Enter
Ethernet
interface/Layer 2 aggregate
interface view:
interface
interface-type
interface-number
•
Enter port group view:
port-group manual
port-group-name
In Ethernet interface view or Layer
2 aggregate interface view, the
configuration is effective on only
the current interface. In port group
view, the configuration is effective
on all ports in the port group.
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
This section describes how to configure IGMP snooping port functions.
Configuration prerequisites
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 timer for dynamic router ports.
•
Determine the aging timer for dynamic member ports.