The ssm-policy command sets the range of IPv6 Source-Specific Multicast (SSM) group addresses.
The undo ssm-policy command restores the default value.
By default,the range of IPv6 SSM group addresses is FF3x::/32. (The value of x cannot be 1 or 2.)
Parameter | Description | Value |
---|---|---|
basic-acl6-number |
Specifies the number of a basic IPv6 ACL. This ACL defines the range of IPv6 SSM group addresses. |
The value is an integer ranging from 2000 to 2999. |
acl6-name acl6-name |
Specifies the name of a named basic IPv6 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
After the ssm-policy command is configured on a device, all PIM-SM interfaces on the device consider that multicast groups whose addresses are within the SSM group address range adopt the PIM-SSM model.
The SSM group address range can be out of FF3x::/32. The groups that are not in the SSM group address range all adopt the Any-Source Multicast (ASM) model. The SSM model is triggered in the following situations:Prerequisites
The multicast ipv6 routing-enable command is run in the public network instance view.
Relevant ACL rules have been defined.Configuration Impact
If the ssm-policy command is run several times, the latest configuration overrides the previous one.
<HUAWEI> system-view [~HUAWEI] acl ipv6 name myacl6 basic [*HUAWEI-acl6-basic-myacl6] rule permit source ff31:0:8192:: 96 [*HUAWEI-acl6-basic-myacl6] quit [*HUAWEI] multicast ipv6 routing-enable [*HUAWEI] pim-ipv6 [*HUAWEI-pim6] ssm-policy acl6-name myacl6
<HUAWEI> system-view [~HUAWEI] acl ipv6 2000 [*HUAWEI-acl6-basic-2000] rule permit source ff31:0:8192:: 96 [*HUAWEI-acl6-basic-2000] quit [*HUAWEI] multicast ipv6 routing-enable [*HUAWEI] pim-ipv6 [*HUAWEI-pim6] ssm-policy 2000