158
IMPORTANT:
All interfaces in the same VPN instance on the same device must be configured with the same PIM
mode.
To enable PIM-SM in a VPN instance:
Step
Command
Remarks
1.
Enter system view.
system-view
N/A
2.
Create a VPN instance and
enter VPN instance view.
ip vpn-instance
vpn-instance-name
N/A
3.
Configure an RD for the VPN
instance.
route-distinguisher
route-distinguisher
No RD is configured by default.
4.
Enable IP multicast routing.
multicast routing-enable
Disabled by default.
5.
Enter interface view.
interface
interface-type
interface-number
N/A
6.
Bind the interface with a VPN
instance.
ip binding vpn-instance
vpn-instance-name
By default, an interface belongs to
the public network, and it is not
bound with any VPN instance.
7.
Enable PIM-SM.
pim sm
Disabled by default.
For more information about the
ip vpn-instance
,
route-distinguisher
, and
ip binding
vpn-instance
commands, see
MPLS Command Reference.
Configuring the SSM group range
CAUTION:
Make sure that the same SSM group range is configured on all routers in the entire domain.
Otherwise, multicast information cannot be delivered through the SSM model.
If the group address in the (S, G) packets that the receivers request falls into the SSM group range,
the PIM-SSM model is used to deliver the information from a multicast source to the receivers.
Otherwise, or the PIM-SM model is used. All PIM-SM-enabled interfaces assume the PIM-SSM
model for multicast groups within this address range.
When a member of a multicast group in the SSM group range sends an IGMPv1 or IGMPv2 report
message, the device does not trigger a (*, G) join.
Configuration guidelines
•
Perform the following configuration on all routers in the PIM-SSM domain.
•
Make sure that the same SSM group range is configured on all routers in the entire domain.
Otherwise, multicast information cannot be delivered through the SSM model.
•
When a member of a multicast group in the SSM group range sends an IGMPv1 or IGMPv2
report message, the device does not trigger a (*, G) join.
Configuration procedure
To configure an SSM multicast group range:
Step
Command
Remarks
1.
Enter system view.
system-view
N/A