08-15-2018 08:59 AM - edited 03-21-2019 12:51 AM
Article ID:5762
IP multicast is a bandwidth-conserving technology that reduces traffic by simultaneously delivering a single stream of information to potentially thousands of corporate recipients and homes. Applications that take advantage of multicast include video conferencing, corporate communications, distance learning, and distribution of software, stock quotes, and news.
IP multicast delivers application source traffic to multiple receivers without burdening the source or the receivers while using a minimum of network bandwidth. Multicast packets are replicated in the network at the point where paths diverge by Cisco routers enabled with Protocol Independent Multicast (PIM) and other supporting multicast protocols, resulting in the most efficient delivery of data to multiple receivers.
Multicast TV VLANs enable multicast transmissions to subscribers who are not on the same data VLAN without replicating the multicast transmission frames for each subscriber VLAN. Subscribers who are not on the same data VLAN and are connected to the device with different VLAN ID membership can share the same multicast stream by joining the ports to the same Multicast VLAN ID.
Differences between Regular and Multicast TV VLANs
The table below displays the characteristics of regular vs. Multicast TV VLANs:
Feature |
Regular VLAN |
Multicast TV VLAN |
VLAN Membership |
Source and all receiver ports must be static members in the same data VLAN. |
Source and receiver ports cannot be members in the same data VLAN. |
Group Registration |
All Multicast group registration is dynamic. |
Groups must be associated to Multicast VLAN statically, but actual registration of station is dynamic. |
Receiver Ports |
VLAN can be used to both send and receive traffic (both Multicast and Unicast). |
Multicast VLAN can only be used to receive traffic by the stations on the port (only Multicast). |
Security and Isolation |
Receivers of same multicast stream are on the same data VLAN and can communicate with each other |
Receivers of same multicast stream are in different Access VLANs and isolated from each other |
The image below displays an example of a network with configured Multicast TV VLAN settings. The SG350X switch has access ports that are configured with Multicast TV VLAN settings, allowing the Receivers to receive multicast packets from the source.
Note: A multicast source can send data to multiple multicast groups at the same time, and multiple multicast sources can send data to the same multicast group at the same time.
Prerequisites in Configuring Customer Port Multicast TV VLANs on your switch:
The network port which is connected to the multicast server is statically configured as a member in the Multicast VLAN ID. By sending IGMP messages, the network ports communicate with the Multicast server through subscribers and receive the Multicast streams from the Multicast server, while including the Multicast TV VLAN in the multicast packet header. For this reason, the network ports must be statically configured as the following:
The subscriber receiver ports can be associated with the Multicast TV VLAN only if it is defined in one of the two following types:
Port Multicast VLAN Membership connects a port configured for customer services to a Multicast TV VLAN. Configuration of Customer Port Multicast TV VLAN Membership helps maintain security by separating the transmissions between the source and receiver. Multicast VLAN configuration enables multicast traffic from a source VLAN to be shared with subscriber VLAN.
This article provides instructions on how to configure customer port Multicast TV VLAN settings on a switch through the CLI.
Note: In this scenario, a device is connected to a port in an SG350X switch and that port is going to be configured with customer multicast TV VLAN settings.
Step 1. Log in to the switch console. The default username and password is cisco/cisco. If you have configured a new username or password, enter the credentials instead.
Note: To learn how to access an SMB switch CLI through SSH or Telnet, click here.
Note: The commands may vary depending on the exact model of your switch. In this example, the SG350X switch is accessed through Telnet.
Step 2. From the Privileged EXEC mode of the switch, enter the Global Configuration mode by entering the following:
Step 3. In the Global Configuration mode, enter the Interface Configuration context by entering the following:
SG350X#interface [interface-id | range interface-The options are:
Note: In this example, the interface used is ge1/0/21 where the computer is connected. This computer will become the Receiver of multicast packets.
Step 4. In the Interface Configuration context, use the switchport mode command to configure the VLAN membership mode:
SG350X(config-if)#switchport mode customerStep 5. (Optional) To return the port to the default VLAN, enter the following:
G350X(config-if)#no switchport mode customerStep 6. To assign a Multicast TV VLAN to a customer port, enter the following:
SG350X(config-if)#switchport customer multicast-tv vlan [add | remove] [vlan-id | vlan-list]Note: By default, receiving multicast transmissions is disabled. When an existing Multicast TV VLAN is assigned to a customer port, the multicast messages received on a membership of the Multicast TV VLAN are forwarded to the customer port. All messages received on the customer port are bridged only into its Multicast TV VLAN. When the port is assigned to a different Multicast TV VLAN, it is automatically removed from its previous VLAN and added it to the new Multicast TV VLAN.
Note: In this example, the customer port is added to the Multicast TV VLAN 20.
Step 7. To exit the Interface Configuration context, enter the following:
SG350X(config-if)#exit
Step 8. (Optional) Repeat steps 3 to 7 to configure more customer ports into the Multicast TV VLAN.
Step 9. (Optional) Enter the end command to go back to the Privileged EXEC mode of the switch:
SG350X(config-if)#endYou should now have successfully configured the customer port Multicast TV VLAN settings on your switch through the CLI.
Step 1. To display the receiving ports of Multicast TV VLAN, enter the following:
SG350X#show vlan multicast-tv vlan [vlan-id]Note: In this example, the configured gi1/0/21 to 25 ports are displayed under the Receiver ports of the Multicast TV VLAN 20 table.
Step 2. (Optional) To display the configuration details of a specific port on the VLAN, enter the following:
SG350X#show interfaces switchport [interface-id]The options are:
Note: In this example, interface ge1/0/21 is entered.
Step 3. (Optional) In the Privileged EXEC mode of the switch, save the configured settings to the startup configuration file by entering the following:
SG350X#copy running-config startup-configStep 4. (Optional) Press Y for Yes or N for No on your keyboard once the Overwrite file [startup-config]... prompt appears.
You should now have displayed the VLAN Multicast TV configuration settings a customer port on your switch.
Important: To proceed with configuring the customer port Multicast TV settings on your switch, follow the prerequisites above.
Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community: