The ssm-policy command sets the range of 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 is an integer that ranges from 2000 to 2999. |
Usage Scenario
By default, the address of an SSM group ranges from 232.0.0.0 to 232.255.255.255. You can run the ssm-policy command to specify the range of PIM SSM group addresses. All the PIM-SM interfaces consider that PIM SSM is enabled on all the multicast groups in the specified address range. The specified SSM group address range can be beyond 232.0.0.0/8.
You can enable SSM mode under the following conditions:
The address of the multicast group is in the range of SSM group addresses, the network segment where the host resides runs IGMPv3, and the source address is specified in the Report message.
The address of the multicast group is in the range of SSM group addresses, the network segment where the host resides runs IGMPv1 or IGMPv2, and the switch is configured with SSM mapping.
Prerequisites
IP multicast routing has been enabled using the multicast routing-enable command.
Precautions
This command is valid for only PIM-SM.
For the numbered ACL, in the ACL view, you can set the address range of SSM multicast groups by specifying the source parameter in the rule command.
For the Named ACL, in the ACL view, when the rule command is used to configure a filtering rule, the filtering rule is effective only with the multicast group address range specified by the destination parameter and the period specified by the time-range parameter.
<HUAWEI> system-view [HUAWEI] acl number 2000 [HUAWEI-acl-basic-2000] rule permit source 232.1.0.0 0.0.255.255 [HUAWEI-acl-basic-2000] quit [HUAWEI] multicast routing-enable [HUAWEI] pim [HUAWEI-pim] ssm-policy 2000