Configuring static multicast MAC address entries
In Layer 2 multicast, multicast MAC address entries can be dynamically created through Layer 2 multicast protocols (such as IGMP snooping). You can also manually configure static multicast MAC address entries by binding multicast MAC addresses and ports to control the destination ports of the multicast data.
Configuration restrictions and guidelines
When you configure static multicast MAC address entries, follow these restrictions and guidelines:
You do not need to enable IP multicast routing before this configuration.
You must specify an unused multicast MAC address when configuring a static multicast MAC address entry. A multicast MAC address is a MAC address in which the least significant bit of the most significant octet is 1.
You can configure static multicast MAC address entries on the specified interfaces in system view or on the current interface in interface view.
Configuring 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 | By default, no static multicast MAC address entries exist. |
Configuring a static multicast MAC address entry in interface view
Step | Command | Remarks |
---|---|---|
1. Enter system view. | system-view | N/A |
2. Enter Layer 2 Ethernet interface or Layer 2 aggregate interface view. | interface interface-type interface-number | N/A |
3. Configure a static multicast MAC address entry. | mac-address multicast mac-address vlan vlan-id | By default, no static multicast MAC address entries exist. |