The sep segment priority command configures the priority of an Ethernet interface in a specified SEP segment.
The undo sep segment priority command restores the default priority of an Ethernet interface in a specified SEP segment.
By default, the priority of an Ethernet interface in a specified SEP segment is 64.
Parameter | Description | Value |
---|---|---|
segment-id |
Specifies the ID of the SEP segment to which an Ethernet interface is added. |
The value is an integer that ranges from 1 to 1024. |
priority |
Specifies the priority of an Ethernet interface in a specified SEP segment. A larger value indicates a higher priority. When the link fault is rectified, the interface with the highest priority is likely to become the blocked interface. |
The value is an integer that ranges from 1 to 128. The default value is 64. |
Ethernet interface view, GE interface view, XGE interface view, MultiGE interface view, 40GE interface view, 100GE interface view, Eth-Trunk interface view, 25GE interface view
In a SEP segment, some interfaces are blocked to prevent loops. Any interface in a SEP segment may be blocked if no interface is specified for blocking. A complete SEP segment contains only one blocked interface.
If you run the block port optimal command to select the blocked interface according to the port priority, the interface priority set using the sep segment priority command determines whether the interface will be blocked when an interface fault is rectified.
The blocked interface is determined by the administrative priority and user-defined priority of each interface. The priority value of an interface contains 16 bits. The higher 8 bits are defined by the system, and the lower 8 bits are set by the user. A higher interface priority indicates a higher probability that the interface is blocked.
SEP compares interface priorities as follows:
Compares configured interface priority values. A larger value indicates a higher priority.
Compares bridge MAC addresses of interfaces with same priority values. A smaller bridge MAC address indicates a higher priority.
Compares interface numbers of interfaces with identical bridge MAC addresses. A smaller interface number indicates a higher priority.
Before using the sep segment priority command, ensure that the interface is added to the specified SEP segment using the sep segment (interface view) command.