HP MSR2000/3000/4000 Router Series IP Multicast Command Reference

46
mac-address multicast mac-address interface interface-list vlan vlan-id
undo mac-address [ multicast ] [ [ mac-address [ interface interface-list ] ] vlan vlan-id ]
In Layer 2 Ethernet interface view:
mac-address multicast mac-address vlan vlan-id
undo mac-address [ multicast ] mac-address vlan vlan-id
Default
No static multicast MAC address entry is configured.
Views
System view, Layer 2 Ethernet interface view
Predefined user roles
network-admin
Parameters
mac-address: Specifies a static multicast MAC address, in the format H-H-H. The multicast MAC address
that can be manually configured in the multicast MAC address entry must be unused. (The least
significant bit of the most significant octet is 1.)
interface interface-list: Specifies a space-separated list of up to four interface items. Each item specifies
an interface by its type and number, or a range of interfaces in the form of interface-type
interface-number to interface-type interface-number. The value of the end interface number must be
greater than that of the start interface number. The interface can be only the Layer 2 Ethernet interface.
vlan vlan-id: Specifies a VLAN. The value range for the vlan-id argument is 1 to 4094. The specified
VLAN must exist, and the system gives a prompt if the specified interface does not belong to the VLAN.
Usage guidelines
You can configure static multicast MAC address entries on the specified interface in system view or on the
current interface in interface view.
You do not need to enable IP multicast routing before executing this command.
The undo mac-address multicast command without the multicast keyword can delete all MAC address
entries, including static unicast and multicast MAC address entries.
Examples
# Create a multicast entry for 0100-0001-0001 in VLAN 2, and configure Ethernet 1/1 through Ethernet
1/5 in VLAN 2 as outgoing ports.
<Sysname> system-view
[Sysname] mac-address multicast 0100-0001-0001 interface ethernet 1/1 to ethernet 1/5 vlan
2
# Configure a multicast entry for 0100-0001-0001 on Ethernet 1/1 in VLAN 2.
<Sysname> system-view
[Sysname] interface ethernet 1/1
[Sysname-Ethernet1/1] mac-address multicast 0100-0001-0001 vlan 2
Related commands
display mac-address multicast