The tos-exp command sets priorities of BFD control packets for all dynamic or static BFD sessions.
The undo tos-exp command restores the default setting.
By default, the priority is 7, which is the highest priority of BFD control packets.
Parameter | Description | Value |
---|---|---|
tos-value |
Specifies a priority for BFD control packets. |
The value is an integer ranging from 0 to 7. |
dynamic |
Indicates the priority of BFD control packets for dynamic BFD sessions. |
- |
static |
Indicates the priority of BFD control packets for static BFD sessions. |
- |
Usage Scenario
Priorities of BFD sessions can be set based on the importance of services bound to BFD sessions. For an important service, run the tos-exp command to set a high priority for BFD control packets. When the system is congested, BFD control packets with a higher priority are preferentially sent.
Changing the priorities of BFD control packets helps check whether BFD control packets with different priorities can be forwarded properly.Prerequisites
BFD has been globally enabled using the bfd command.
Configuration Impact
Running the tos exp command will change priorities of BFD control packets for BFD sessions. When there are large numbers of BFD sessions, updating the priorities of BFD control packets for all BFD sessions takes time.
Precautions