The ssm-policy command sets the range of Source-Specific Multicast (SSM) group addresses.
The undo ssm-policy command restores the default configuration.
By default, the range of SSM group addresses is 232.0.0.0/8.
Parameter | Description | Value |
---|---|---|
basic-acl-number |
Specifies the number of the basic ACL that defines the range of SSM group addresses. |
The value ranges from 2000 to 2999. |
acl-name acl-name |
Specifies the name of a named basic ACL. |
The value is a string of 1 to 64 case-sensitive characters without spaces. The value must start with a letter (a to z or A to Z, case sensitive). |
Usage Scenario
You can run the ssm-policy command to specify the range of SSM group addresses. All interfaces on which PIM-SM is enabled consider that multicast groups that belong to the address range are in SSM mode.
The range of SSM group addresses can exceed 232.0.0.0/8. Any-Source Multicast (ASM) is applicable to all multicast groups that are not in the range of SSM group addresses. The conditions for enabling SSM mode are as follows:Prerequisites
The multicast routing-enable command is run in the public network instance view or VPN instance view.
Related ACL rules have been defined.Configuration Impact
If the ssm-policy command is run more than once, the latest configuration overrides the previous one.
Precautions
The ssm-policy command and the acl command are used together. In the ACL view, you can set the address range of SSM multicast groups by specifying the source parameter in the rule command.
<HUAWEI> system-view [~HUAWEI] acl number 2000 [*HUAWEI-acl4-basic-2000] rule permit source 232.1.0.0 0.0.255.255 [*HUAWEI-acl4-basic-2000] quit [*HUAWEI] multicast routing-enable [*HUAWEI] pim [*HUAWEI-pim] ssm-policy 2000
<HUAWEI> system-view [~HUAWEI] acl name myacl basic [*HUAWEI-acl4-basic-myacl] rule permit source 232.1.0.0 0.0.255.255 [*HUAWEI-acl4-basic-myacl] quit [*HUAWEI] multicast routing-enable [*HUAWEI] pim [*HUAWEI-pim] ssm-policy acl-name myacl