cancel
Showing results for 
Search instead for 
Did you mean: 
cancel
234
Views
0
Helpful
0
Comments
smallbusiness
Community Manager
Community Manager

Article ID:5762

Configure Customer Port Multicast TV VLAN on the Switch through the CLI

Introduction

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:

  1. Pre-configured Multicast TV server.
  2. Create the VLANs. To learn how to configure the VLAN settings on your switch through the web-based utility, click here. For CLI-based instructions, click here.
  3. Configure IGMP snooping on your switch. For instructions using the web-based utility, click here. For CLI-based instructions, click here
  4. Configure TV VLAN settings on your switch. You can configure any of the following:
  • Access Port Multicast TV VLAN — For instructions on how to configure Access Port Multicast TV VLAN through the web-based utility of your switch, click here. For CLI-based instructions, click here.
  • Customer Port Multicast TV VLAN — For instructions on how to configure Customer Port Multicast TV VLAN through the web-based utility of your switch, click here. The CLI-based instructions are provided in this article.

Objective

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:

  • Trunk or general port type
  • Member on the Multicast TV VLAN

The subscriber receiver ports can be associated with the Multicast TV VLAN only if it is defined in one of the two following types:

  • Access port
  • Customer port

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.

Applicable Devices

  • Sx350 Series
  • SG350X Series
  • SG550X Series

Software Version

  • 2.3.0.130

Configure Customer Port Multicast TV VLAN

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:

SG350X#configure

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:

  • interface-id — Specifies an interface ID to be configured.
  • range interface-range — Specifies a list of interfaces. Separate nonconsecutive interfaces with a comma and no spaces. Use a hyphen to designate a range of interfaces.

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 customer
  • customer — Specifies that an edge port connected to customer equipment. Traffic received from this port will be tunneled with the additional 802.1q VLAN tag (Q-in-Q VLAN tunneling).

Step 5. (Optional) To return the port to the default VLAN, enter the following:

G350X(config-if)#no switchport mode customer

Configure Customer Port Multicast TV VLAN on the Switch through the CLI

Step 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]
  • add — Specifies to add the interface to a Multicast TV VLAN.
  • remove — Specifies to remove the interface from a Multicast TV VLAN.
  • vlan-id — Specifies the Multicast TV VLAN ID. A non-existing VLAN can be assigned as a Multicast TV VLAN.
  • vlan-list — Specifies a list of Multicast TV VLANs to remove from interface.

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)#end

You should now have successfully configured the customer port Multicast TV VLAN settings on your switch through the CLI.

Display VLAN Multicast TV Settings

Step 1. To display the receiving ports of Multicast TV VLAN, enter the following:

SG350X#show vlan multicast-tv vlan [vlan-id]
  • vlan-id— Specifies the Multicast TV 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:

  • interface-id — Specifies an Ethernet port.

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-config

Step 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.

 

Getting Started

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: