priority (E-Trunk view)

Function

The priority command configures an E-Trunk priority.

The undo priority command restores the default E-Trunk priority.

The default E-Trunk priority is 100.

Format

priority priority

undo priority

Parameters

Parameter Description Value
priority priority

Indicates an E-Trunk priority.

The value is an integer ranging from 1 to 254. The smaller the value, the higher the priority.

Views

E-Trunk view

Default Level

2: Configuration level

Task Name and Operations

Task Name Operations
etrunk write

Usage Guidelines

Usage Scenario

Two devices in an E-Trunk exchange E-Trunk packets to negotiate their master/slave status. During the negotiation, the devices determine their master/slave status based on their E-Trunk priorities and system IDs. Specifically, the device with the higher priority is the master device. Run the priority command to configure an E-Trunk priority for the device.

Precautions

If the devices have the same E-Trunk priority, the device with the smaller system ID is the master device.If the devices in an E-Trunk have the same E-Trunk priority and system ID, both devices are considered as master devices. It is recommended that you configure different E-Trunk priorities for the devices.

Example

# Set the priority of E-Trunk 1 to 10.
<HUAWEI> system-view
[~HUAWEI] e-trunk 1
[*HUAWEI-e-trunk-1] priority 10
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >