31
Introduction
Configuring a
Multicast MAC
Address Entry
M
MAC A
ULTICAST
In Layer 2 multicast, the system can add multicast forwarding entries dynamically
through Layer 2 multicast protocol. However, you can also statically bind a port to a
multicast address entry by configuring a multicast MAC address manually.
Generally, when receiving a multicast packet whose multicast address has not yet
been registered on the switch, the switch broadcasts the packet in the VLAN.
However, you can configure a static multicast MAC address entry to avoid this case.
Table 232 describes how to configure a multicast MAC address entry.
Table 232 Configure a multicast MAC address entry
Operation
Enter system view
Add a multicast MAC address
entry
Enter Ethernet port view
Add a multicast MAC address
entry.
You can use the corresponding undo command to cancel the configuration.
CAUTION:
If the multicast MAC address entry you are creating already exists, the system gives
■
you a prompt.
The switch will not learn a manually added multicast MAC address by IGMP
■
Snooping. The undo mac-address multicast command can only remove
manually created multicast MAC address entries and cannot remove those learned
by the switch.
To add a port to a manually created multicast MAC address entry, first remove the
■
entry, and then re-create the entry and specify the port as the forward port of the
entry.
The system does not support the configuration of multicast MAC address on an
■
IRF port. If you do this, the system will give you a prompt that the multicast MAC
address configuration fails.
E
DDRESS
NTRY
Command
system-view
mac-address multicast
mac-address interface
interface-list vlan vlan-id
interface interface-type
interface-number
mac-address multicast
mac-address vlan vlan-id
C
ONFIGURATION
Description
—
Required
mac-address must be a
multicast MAC address.
vlan-id is the ID of the VLAN to
which the port belongs.
—
Optional
This command is used in
Ethernet port view. It has the
same effect as the above
mac-address multicast
interface vlan command used
in system view with the same
port specified.