.. _example_protocols_bgp_neighbor_bfdtos: ####### Bfd Tos ####### Scenario to verify BFD ToS (Type of Service) functionality with BGP. BFD profile tos allows setting the IP ToS field on BFD packets. By default BFD uses CS6 (0xC0). These tests verify that the ToS is applied correctly, can be changed dynamically, and is visible in the actual packets via system journal. ******************** Test BFD Profile ToS ******************** Description =========== Test that BFD profile tos is applied correctly. Configures a BFD profile with tos 48 on both routers and verifies that BGP establishes, BFD is up with the correct ToS value, and end-to-end connectivity works. Scenario ======== .. include:: bfdtos/testbfdprofiletos .. raw:: html
*************************** Test BFD ToS Dynamic Change *************************** Description =========== Test that changing the tos value in the BFD profile updates the BFD session dynamically without tearing it down. The tos is changed from 48 to 184 and back to 48, verifying that show peers reflects each change. Scenario ======== .. include:: bfdtos/testbfdtosdynamicchange .. raw:: html
*********************** Test BFD ToS In Packets *********************** Description =========== Test that the configured ToS value is present in actual BFD packets. A traffic policy with log is configured to capture BFD packets. The test verifies that the ToS value in the journal changes when the profile is updated. Scenario ======== .. include:: bfdtos/testbfdtosinpackets .. raw:: html