< Home

tos-exp

Function

The tos-exp command sets the priority of BFD packets.

The undo tos-exp command restores the default priority of BFD packets.

By default, the priority of BFD packets is 7.

Format

tos-exp tos-value

undo tos-exp

Parameters

Parameter

Description

Value

tos-value

Specifies the priority of BFD packets. A larger value indicates a higher priority of BFD packets.

The value is an integer that ranges from 0 to 7. The default value is 7.

Views

BFD session view

Default Level

2: Configuration level

Usage Guidelines

Usage Scenario

You can change the priority of BFD packets in the following scenarios:

  • Detect whether packets with different priorities on a link can be forwarded.

  • Ensure that BFD packets with a higher priority are forwarded first.

Precautions

When congestion occurs, the system first sends BFD packets with a higher priority.

Only the priority of BFD packets of the BFD session that is established using single-hop BFD, multi-hop BFD, and BFD Echo function can be changed. The priority of BFD packets of the BFD session that is established through automatically negotiated discriminators cannot be changed.

Example

# Set the priority of BFD packets for the BFD session atob to 5.

<HUAWEI> system-view
[HUAWEI] bfd atob
[HUAWEI-bfd-session-atob] tos-exp 5
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >