The value is an integer ranging from 0 to 65535. The default value is 32767. The larger the value, the higher the precedence.
Views
preference-based view
Default Level
2: Configuration level
Task Name and Operations
Task Name
Operations
bgp
write
Usage Guidelines
Usage Scenario
In multi-homing networking, if users want to specify the master DF based on the precedence of an ESI instance, run the df-election type preference-based command to enter the preference-based view. Then, run the preferencepreference command to set a DF precedence. The larger value of preference , the higher precedence.
Example
# Configure the precedence of DF election for a static ESI instance.
<HUAWEI> system-view
[~HUAWEI] evpn
[*HUAWEI-evpn] esi 0011.1001.1001.1001.1002
[*HUAWEI-evpn-esi-0011.1001.1001.1001.1002] df-election type preference-based
[*HUAWEI-evpn-esi-0011.1001.1001.1001.1002-preference-based] preference 200