SSM Overview
SSM Overview
SSM Overview
Source-Specific Multicast
Source-specific multicast (SSM) is a service model that identifies session traffic by both source and group address. SSM implemented in the JUNOS software has the efficient explicit join procedures of Protocol Independent Multicast (PIM) sparse mode but eliminates the immediate shared tree and rendezvous point (RP) procedures using (*, G) pairs. The (*) is a wildcard referring to any source sending to group G, and G refers to the IP multicast group. SSM builds shortest-path trees (SPTs) directly represented by (S,G) pairs. The S refers to the sources unicast IP address, and the G refers to the specific multicast group address. The SSM (S,G) pairs are called channels to differentiate them from any-source multicast (ASM) groups. Although ASM supports both one-to-many and many-to-many communications, ASMs complexity is in its method of source discovery. For example, if you click on a link in a browser, the receiver is notified about the group information, but not the source information. With SSM, the client receives both source and group information. SSM is ideal for one-to-many multicast services such as network entertainment channels. However, many-to-many multicast services might require ASM. To deploy SSM successfully, you need an end-to-end multicast-enabled network and applications that use an Internet Group Management Protocol version 3 (IGMPv3) stack or configure SSM mapping from IGMPv1/IGMPv2 to IGMPv3. An IGMPv3 stack is the capability of a host operating system to use the IGMPv3 protocol. Most operating systems today use an IGMPv2 stack, but IGMPv3 is available for Windows XP, and upgrades are available on some UNIX operating systems. SSM mapping allows operators to support an SSM network without requiring all hosts to support IGMPv3. This support exists in static (S,G) configurations, but SSM mapping also supports dynamic per-source group state information, which changes as hosts join and leave the group using IGMP. For information about standards supported for source-specific multicast, see IP Multicast Standards on page 20. This chapter discusses the following topics: Source-Specific Multicast Groups Overview on page 136 Source-Specific Multicast Examples on page 137
135
The (S,G) join message initiates the source tree, then builds it out hop by hop until it reaches the source. In Figure 11, the source tree is built across the network to Router 3, the last-hop router connected to the source.
136
g017105
RP router 4
Router 3 IGMPv3
source tree 2
source tree
Router 1 IGMPv3
Using the source tree, multicast traffic is delivered to the subscribing host (see Figure 12).
Figure 12: The (S,G) State Is Built Between the Source and the Receiver
For a list of the hierarchy levels at which you can configure this statement, see the statement summary section for this statement. For an overview of logical routers and a detailed example of logical router configuration, see the logical routers chapter of the JUNOS Feature Guide.
g017107
RP router 4
g017106
RP router 4
137
Source
Receiver
138
g017108
RP router 4
The configuration establishes IGMPv3 on all receiving host interfaces. You then can use the following show commands to verify the PIM SSM configuration: Issue the show igmp interface command to display IGMP interfaces, configurable parameters, and IGMP version. Issue the show pim join extensive command to display the PIM state. This example discusses the following topics that provide information about configuring and verifying operation of PIM SSM: Enabling IGMPv3 on all Host-Facing Interfaces on page 139 Displaying the IGMP State on page 139 Displaying the PIM State on page 140
Configured Parameters: IGMP Query Interval (1/10 secs): 1250 IGMP Query Response Interval (1/10 secs): 100 IGMP Last Member Query Interval (1/10 secs): 10 IGMP Robustness Count: 2 Derived Parameters: IGMP Membership Timeout (1/10 secs): 2600 IGMP Other Querier Present Timeout (1/10 secs): 2550
139
Flags: S
Timeout: 209
To show the PIM state on Router 1 (the router connected to the receiver), use the show pim join extensive command:
user@router1> show pim join extensive 232.1.1.1 10.4.1.2 Upstream interface: so-1/0/2.0 Upstream State: Join to Source Keepalive timeout: 209 Downstream Neighbors: Interface: fe-0/2/3.0 10.3.1.1 State: Join sparse
Flags: S
Timeout: Infinity
140
The group addresses must match the configured policy for SSM mapping to occur.
141
2 Groups:
2 Groups:
142