< Home

register-source

Function

The register-source command specifies the source address used by the source's Designated router (DR) to send Register messages.

The undo register-source command restores the default setting.

Format

register-source interface-type interface-number

undo register-source

Parameters

Parameter Description Value
interface-type interface-number Specifies the type and number of the source's DR. -

Views

PIM view

Default Level

2: Configuration level

Usage Guidelines

By default, the source address used by the source's DR to send Register messages is not specified.

Usage Scenario

When the source IP address for sending Register messages is no longer the only IP address in the network for the Rendezvous Point (RP) router or the source IP address is filtered out, errors occur in the registration process and extra traffic occupies bandwidth on the network. In this case, use the register-source command to specify an appropriate interface as the source IP address for sending Register messages. Using the loopback address of the source's DR as the source IP address is recommended.

Prerequisites

Before specifying the source IP address for sending Register messages, enable PIM-SM.

Configuration Impact

When you run the register-source command several times, the latest configuration overrides the previous ones.

Note

The command is effective only when the specified interface is in Up state.

Example

# Specify the IP address of loopback interface 0 as the source IP address for source's DR to send Register messages.

<sysname> system-view
[sysname] multicast routing-enable
[sysname] pim
[sysname-pim] register-source loopback 0
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >