Reference Guide

Multicast | 959
mac-address-table static
c
Configure a static multicast MAC address, associate the multicast MAC address with the VLAN used
to switch Layer 2 multicast traffic, and add output ports that will receive multicast streams on the
VLAN.
To delete a configured static multicast MAC address from the MAC address table on the router, enter
the
no mac-address-table static multicast-mac-address command.
Syntax
mac-address-table static multicast-mac-address multicast vlan vlan-id range-output
{single-interface | interface-list | interface-range}
To return to the default Layer 3 multicast forwarding on the router, enter the no ip multicast-mode l2
command after you remove the static multicast MAC address (no mac-address-table static multicast
vlan output-range
command).
Parameters
Defaults
Unconfigured
Command Modes
CONFIGURATION
Command
History
Usage
Information
When a multicast source and multicast receivers are in the same VLAN, you can configure a router so
that multicast traffic is switched only to the ports assigned to a VLAN that is associated with a static
multicast MAC address. However, before you can configure a static MAC address and associate it with
a VLAN used to switch Layer 2 multicast traffic, you must first enable the router for Layer 2 multicast
switching with the ip multicast-mode l2 command.
Related
Commands
mac-address-table static
multicast-mac-address
Enter a 48-bit hexadecimal address in nn:nn:nn:nn:nn:nn format for the
static MAC address to be used to switch multicast traffic.
multicast vlan
vlan-id
Enter the VLAN ID of the VLAN used to switch Layer 2 multicast
traffic. VLAN ID range: 1 to 4094.
range-output {single-interface
| interface-list |
interface-range}
Specify the output ports to be added to the multicast VLAN used to
switch multicast traffic as follows:
range-output
single-interface: Enter one of the following port
types:
- 1-Gigabit Ethernet: Enter gigabitethernet slot/port.
- 10-Gigabit Ethernet: Enter tengigabitethernet slot/port.
- Port channel: Enter port-channel {1-128}.
range-output
interface-list: Enter multiple ports separated by a
space, comma, and space; for example:
tengigabitethernet 0/1 , gigabitethernet 0/3 , ...
range-output interface-range: Enter a port range in the format:
interface-type slot/first_port - last_port; for example:
tengigabitethernet 0/1 - 3
Version 8.4.2.5 Introduced on C-Series.
ip multicast-mode l2 Enable Layer 2 multicast switching.