The pim hello-option dr-priority command configures a designated router (DR) election priority for a PIM interface.
The undo pim hello-option dr-priority command restores the default priority.
By default, the DR election priority of a PIM interface is 1.
Usage Scenario
On a PIM-SM shared network segment, a DR is dynamically elected among candidate Router interfaces. DR election is based on priorities and IP addresses of interfaces on Routers. In a DR election process, Routers exchange Hello messages carrying DR election priorities.
Prerequisites
The multicast routing function has been enabled using the multicast routing-enable command in the public network instance view or VPN instance view.
Configuration Impact
If the pim hello-option dr-priority command is run more than once, the latest configuration overrides the previous one.
<HUAWEI> system-view [~HUAWEI] ip vpn-instance mytest [*HUAWEI-vpn-instance-mytest] ipv4-family [*HUAWEI-vpn-instance-mytest-af-ipv4] route-distinguisher 100:1 [*HUAWEI-vpn-instance-mytest-af-ipv4] multicast routing-enable [*HUAWEI-vpn-instance-mytest-af-ipv4] multicast-domain share-group 224.1.1.1 binding mtunnel 10 [*HUAWEI-vpn-instance-mytest-af-ipv4] commit [~HUAWEI-vpn-instance-mytest-af-ipv4] quit [~HUAWEI-vpn-instance-mytest] quit [~HUAWEI] interface Mtunnel 10 [~HUAWEI-MTunnel10] pim hello-option dr-priority 3