< Home

pim hello-option dr-priority

Function

The pim hello-option dr-priority command sets the priority for the PIM interface that is elected as Designated router (DR).

The undo pim hello-option dr-priority command restores the default value of the priority.

Format

pim hello-option dr-priority priority

undo pim hello-option dr-priority

Parameters

Parameter Description Value
priority Specifies the priority of the PIM interface that is elected as DR. The value is an integer ranging from 0 to 4294967295. The greater the value, the higher the priority.

Views

Interface view

Default Level

2: Configuration level

Usage Guidelines

By default, the priority for the PIM interface that is elected as DR is 1.

This command is only valid for PIM-SM.

This command functions in the interface view in the same way as the hello-option dr-priority command in the PIM view, except for the view. By default, if the configuration on the interface is not done, the value configured in the PIM view is used; otherwise, the value configured in the interface view is used.

You must run the multicast routing-enable command to enable the multicast function before using the command.

Example

# Set the priority of GE 1/0/0 that is elected as DR to 3.
<sysname> system-view
[sysname] multicast routing-enable
[sysname] interface GigabitEthernet 0/0/0
[sysname-GigabitEthernet0/0/0] pim hello-option dr-priority 3
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >