< Home

ssm-policy (IPv4)

Function

The ssm-policy command sets the range of Source-Specific Multicast (SSM) group addresses.

The undo ssm-policy command restores the default configuration.

Format

ssm-policy basic-acl-number

undo ssm-policy

Parameters

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.

Views

PIM view

Default Level

2: Configuration level

Usage Guidelines

By default, the range of SSM group addresses is 232.0.0.0/8.

Using the ssm-policy command, you can set 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. ASM is applicable to all multicast groups that are not in the range of SSM group addresses.

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 FW is configured with SSM mapping.

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.

This command is cyclical. The latest command overwrites the previous one, and takes effect.

Example

# Set the range of PIM SSM multicast addresses to 232.1.0.0/16.
<sysname> system-view
[sysname] acl number 2000
[sysname-acl-basic-2000] rule permit source 232.1.0.0 0.0.255.255
[sysname-acl-basic-2000] quit
[sysname] multicast routing-enable
[sysname] pim
[sysname-pim] ssm-policy 2000
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >