6.7.3 Configuring Control Parameters for Electing a DR
The control parameters for electing a DR can be set either globally or on an interface.
Context
Do as follows on the PIM-SM switch:
NOTE
The configuration involves the following cases:
l Global configuration: It is valid on all the interfaces.
l Configuration on an interface: The configuration on an interface takes precedence over the global
configuration. If the configuration on an interface is not done, the global configuration is used.
Procedure
l Global Configuration
1. Run:
system-view
The system view is displayed.
2. Run:
pim [ vpn-instance vpn-instance-name ]
The PIM view is displayed.
3. Run:
hello-option dr-priority priority
The DR priority is set.
On a shared network segment where all PIM switchs support the DR priority, the
interface with the highest priority acts as the DR. In the case of the same priority, the
interface with the largest IP address acts as the DR. If a minimum of one PIM
switch does not support the DR priority, the interface with the largest IP address acts
as the DR.
l Configuration on an Interface
1. Run:
system-view
The system view is displayed.
2. Run:
interface interface-type interface-number
The interface view is displayed.
The interface can be a VLANIF interface, or an Loopback interface.
3. Run:
pim hello-option dr-priority priority
The DR priority is set.
On a shared network segment where all PIM switchs support the DR priority, the
interface with the highest priority acts as the DR. In the case of the same priority, the
interface with the largest IP address acts as the DR. If a minimum of one PIM
Quidway S7700 Smart Routing Switch
Configuration Guide - Multicast 6 PIM-SM (IPv4) Configuration
Issue 01 (2011-07-15) Huawei Proprietary and Confidential
Copyright © Huawei Technologies Co., Ltd.
169