ssm-mapping domain

Function

The ssm-mapping domain command sets the domain name suffix used for SSM source-group mappings.

The undo ssm-mapping domain command restores the default configuration.

The default domain name suffix used for SSM source-group mappings is in-addr.arpa.

Format

ssm-mapping domain domain-name

undo ssm-mapping domain

undo ssm-mapping domain domain-name

Parameters

Parameter Description Value
domain-name

Specifies a domain name suffix.

The value is a string of 1 to 63 characters, spaces not supported. The value can be any combination of digits, letters, underscores (_), and dots (.).

Views

IGMP view, VPN instance IGMP view

Default Level

2: Configuration level

Task Name and Operations

Task Name Operations
igmp write

Usage Guidelines

Usage Scenario

When the DNS-based SSM mapping function is enabled, you can run the ssm-mapping domain command to set the domain name suffix of multicast group addresses in SSM mapping. A multicast group address and a domain name suffix constitute a domain name for DNS query. The format is group-address.domain-name. As a domain name is matched from backward to forward, group-address in the domain name is the multicast group address in reverse order. For example, when the default domain name suffix is used, the multicast device queries the DNS server for the IP address (that is, the multicast source address) corresponding to the domain name 5.1.1.232.in-addr.arpa after receiving the (*, 232.1.1.5) Join message. After the DNS server returns the corresponding IP address, the multicast device generates the corresponding (S, G) Join message.

Prerequisites

The ssm-mapping query dns command has been used to enable DNS-based SSM mapping.

Example

# In the public network instance, set the domain name suffix to huawei.com for SSM mapping.
<HUAWEI> system-view
[~HUAWEI] multicast routing-enable
[*HUAWEI] igmp
[*HUAWEI-igmp] ssm-mapping query dns
[*HUAWEI-igmp] ssm-mapping domain huawei.com
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >