Bfd Static Route6
Tests to check BFD protocol in static routes for IPv6.
Test Connection With Next Hop IPv6
Description
Tests connection between two devices with BFD in static routes using the gateway as the BFD peer, checking if they are each others peers and their status is up and installed.
Scenario
Step 1: Set the following configuration in DUT0 :
set interfaces ethernet eth0 address '3fff:10::100/64' set protocols static route6 '::/0' next-hop '3fff:10::200' bfd set system login user admin authentication encrypted-password '$6$GSjsCj8gHLv$/VcqU6FLi6CT2Oxn0MJQ2C2tqnRDrYKNF8HIYWJp68nvXvPdFccDsT04.WtigUONbKYrgKg8d6rEs8PjljMkH0'
Step 2: Set the following configuration in DUT1 :
set interfaces ethernet eth0 address '3fff:10::200/64' set protocols static route6 '::/0' next-hop '3fff:10::100' bfd set system login user admin authentication encrypted-password '$6$GSjsCj8gHLv$/VcqU6FLi6CT2Oxn0MJQ2C2tqnRDrYKNF8HIYWJp68nvXvPdFccDsT04.WtigUONbKYrgKg8d6rEs8PjljMkH0'
Note
Check connectivity
Step 3: Ping IP address 3fff:10::200 from DUT0:
admin@DUT0$ ping 3fff:10::200 count 1 size 56 timeout 1Show output
PING 3fff:10::200(3fff:10::200) 56 data bytes 64 bytes from 3fff:10::200: icmp_seq=1 ttl=64 time=124 ms --- 3fff:10::200 ping statistics --- 1 packets transmitted, 1 received, 0% packet loss, time 0ms rtt min/avg/max/mdev = 123.695/123.695/123.695/0.000 ms
Step 4: Ping IP address 3fff:10::100 from DUT1:
admin@DUT1$ ping 3fff:10::100 count 1 size 56 timeout 1Show output
PING 3fff:10::100(3fff:10::100) 56 data bytes 64 bytes from 3fff:10::100: icmp_seq=1 ttl=64 time=0.232 ms --- 3fff:10::100 ping statistics --- 1 packets transmitted, 1 received, 0% packet loss, time 0ms rtt min/avg/max/mdev = 0.232/0.232/0.232/0.000 ms
Note
Check that the operational command ‘protocols bfd show static route’ works, and shows that they are each other’s peers and that their status is installed, indicating that the next-hop router is reachable
Step 5: Run command protocols bfd show static route at DUT0 and check if output matches the following regular expressions:
3fff:10::200 status: installedShow output
Showing BFD monitored static routes: Next hops: VRF A IPv4 Unicast: VRF A IPv4 Multicast: VRF A IPv6 Unicast: VRF AP IPv4 Unicast: VRF AP IPv4 Multicast: VRF AP IPv6 Unicast: VRF B IPv4 Unicast: VRF B IPv4 Multicast: VRF B IPv6 Unicast: VRF BFD IPv4 Unicast: VRF BFD IPv4 Multicast: VRF BFD IPv6 Unicast: VRF BGP IPv4 Unicast: VRF BGP IPv4 Multicast: VRF BGP IPv6 Unicast: VRF G IPv4 Unicast: VRF G IPv4 Multicast: VRF G IPv6 Unicast: VRF LAN IPv4 Unicast: VRF LAN IPv4 Multicast: VRF LAN IPv6 Unicast: VRF LOC IPv4 Unicast: VRF LOC IPv4 Multicast: VRF LOC IPv6 Unicast: VRF MON IPv4 Unicast: VRF MON IPv4 Multicast: VRF MON IPv6 Unicast: VRF RED IPv4 Unicast: VRF RED IPv4 Multicast: VRF RED IPv6 Unicast: VRF TEST IPv4 Unicast: VRF TEST IPv4 Multicast: VRF TEST IPv6 Unicast: VRF VRF1 IPv4 Unicast: VRF VRF1 IPv4 Multicast: VRF VRF1 IPv6 Unicast: VRF VRF_LAN IPv4 Unicast: VRF VRF_LAN IPv4 Multicast: VRF VRF_LAN IPv6 Unicast: VRF VRF_TUN IPv4 Unicast: VRF VRF_TUN IPv4 Multicast: VRF VRF_TUN IPv6 Unicast: VRF VRF_WAN IPv4 Unicast: VRF VRF_WAN IPv4 Multicast: VRF VRF_WAN IPv6 Unicast: VRF WAN IPv4 Unicast: VRF WAN IPv4 Multicast: VRF WAN IPv6 Unicast: VRF default IPv4 Unicast: VRF default IPv4 Multicast: VRF default IPv6 Unicast: ::/0 peer 3fff:10::200 (status: installed) VRF test IPv4 Unicast: VRF test IPv4 Multicast: VRF test IPv6 Unicast: VRF test2 IPv4 Unicast: VRF test2 IPv4 Multicast: VRF test2 IPv6 Unicast:
Step 6: Run command protocols bfd show static route at DUT1 and check if output matches the following regular expressions:
3fff:10::100 status: installedShow output
Showing BFD monitored static routes: Next hops: VRF BFD IPv4 Unicast: VRF BFD IPv4 Multicast: VRF BFD IPv6 Unicast: VRF BGP IPv4 Unicast: VRF BGP IPv4 Multicast: VRF BGP IPv6 Unicast: VRF default IPv4 Unicast: VRF default IPv4 Multicast: VRF default IPv6 Unicast: ::/0 peer 3fff:10::100 (status: installed) VRF tenant1 IPv4 Unicast: VRF tenant1 IPv4 Multicast: VRF tenant1 IPv6 Unicast: VRF tenant2 IPv4 Unicast: VRF tenant2 IPv4 Multicast: VRF tenant2 IPv6 Unicast: VRF tenant3 IPv4 Unicast: VRF tenant3 IPv4 Multicast: VRF tenant3 IPv6 Unicast:
Note
Check that they are each other’s peers and that their status is up (the BFD session has beedn successfully established)
Step 7: Run command protocols bfd show peers at DUT0 and check if output matches the following regular expressions:
3fff:10::200 Status: upShow output
BFD Peers: peer 3fff:10::200 vrf default ID: 3770340096 Remote ID: 2593843717 Active mode Status: up Uptime: 2 second(s) Diagnostics: ok Remote diagnostics: ok Peer Type: dynamic RTT min/avg/max: 0/0/0 usec Local timers: Detect-multiplier: 3 Receive interval: 300ms Transmission interval: 300ms Echo receive interval: 50ms Echo transmission interval: disabled Remote timers: Detect-multiplier: 3 Receive interval: 300ms Transmission interval: 300ms Echo receive interval: 50ms
Step 8: Run command protocols bfd show peers at DUT1 and check if output matches the following regular expressions:
3fff:10::100 Status: upShow output
BFD Peers: peer 3fff:10::100 vrf default ID: 2593843717 Remote ID: 3770340096 Active mode Status: up Uptime: 3 second(s) Diagnostics: ok Remote diagnostics: ok Peer Type: dynamic RTT min/avg/max: 0/0/0 usec Local timers: Detect-multiplier: 3 Receive interval: 300ms Transmission interval: 300ms Echo receive interval: 50ms Echo transmission interval: disabled Remote timers: Detect-multiplier: 3 Receive interval: 300ms Transmission interval: 300ms Echo receive interval: 50ms
Test Connection With Next Hop And Interface IPv6
Description
Tests connection between two devices with BFD in static routes using the gateway as the BFD peer and an interface, checking if they are each others peers and their status is up and installed.
Scenario
Step 1: Set the following configuration in DUT0 :
set interfaces ethernet eth0 address '3fff:10::100/64' set protocols static route6 '::/0' next-hop '3fff:10::200' interface eth0 bfd set system login user admin authentication encrypted-password '$6$GSjsCj8gHLv$/VcqU6FLi6CT2Oxn0MJQ2C2tqnRDrYKNF8HIYWJp68nvXvPdFccDsT04.WtigUONbKYrgKg8d6rEs8PjljMkH0'
Step 2: Set the following configuration in DUT1 :
set interfaces ethernet eth0 address '3fff:10::200/64' set protocols static route6 '::/0' next-hop '3fff:10::100' interface eth0 bfd set system login user admin authentication encrypted-password '$6$GSjsCj8gHLv$/VcqU6FLi6CT2Oxn0MJQ2C2tqnRDrYKNF8HIYWJp68nvXvPdFccDsT04.WtigUONbKYrgKg8d6rEs8PjljMkH0'
Note
Check connectivity
Step 3: Ping IP address 3fff:10::200 from DUT0:
admin@DUT0$ ping 3fff:10::200 count 1 size 56 timeout 1Show output
PING 3fff:10::200(3fff:10::200) 56 data bytes 64 bytes from 3fff:10::200: icmp_seq=1 ttl=64 time=0.212 ms --- 3fff:10::200 ping statistics --- 1 packets transmitted, 1 received, 0% packet loss, time 0ms rtt min/avg/max/mdev = 0.212/0.212/0.212/0.000 ms
Step 4: Ping IP address 3fff:10::100 from DUT1:
admin@DUT1$ ping 3fff:10::100 count 1 size 56 timeout 1Show output
PING 3fff:10::100(3fff:10::100) 56 data bytes 64 bytes from 3fff:10::100: icmp_seq=1 ttl=64 time=0.198 ms --- 3fff:10::100 ping statistics --- 1 packets transmitted, 1 received, 0% packet loss, time 0ms rtt min/avg/max/mdev = 0.198/0.198/0.198/0.000 ms
Note
Check that the operational command ‘protocols bfd show static route’ works, and shows that they are each other’s peers and that their status is installed, indicating that the next-hop router is reachable
Step 5: Run command protocols bfd show static route at DUT0 and check if output matches the following regular expressions:
3fff:10::200 status: installedShow output
Showing BFD monitored static routes: Next hops: VRF A IPv4 Unicast: VRF A IPv4 Multicast: VRF A IPv6 Unicast: VRF AP IPv4 Unicast: VRF AP IPv4 Multicast: VRF AP IPv6 Unicast: VRF B IPv4 Unicast: VRF B IPv4 Multicast: VRF B IPv6 Unicast: VRF BFD IPv4 Unicast: VRF BFD IPv4 Multicast: VRF BFD IPv6 Unicast: VRF BGP IPv4 Unicast: VRF BGP IPv4 Multicast: VRF BGP IPv6 Unicast: VRF G IPv4 Unicast: VRF G IPv4 Multicast: VRF G IPv6 Unicast: VRF LAN IPv4 Unicast: VRF LAN IPv4 Multicast: VRF LAN IPv6 Unicast: VRF LOC IPv4 Unicast: VRF LOC IPv4 Multicast: VRF LOC IPv6 Unicast: VRF MON IPv4 Unicast: VRF MON IPv4 Multicast: VRF MON IPv6 Unicast: VRF RED IPv4 Unicast: VRF RED IPv4 Multicast: VRF RED IPv6 Unicast: VRF TEST IPv4 Unicast: VRF TEST IPv4 Multicast: VRF TEST IPv6 Unicast: VRF VRF1 IPv4 Unicast: VRF VRF1 IPv4 Multicast: VRF VRF1 IPv6 Unicast: VRF VRF_LAN IPv4 Unicast: VRF VRF_LAN IPv4 Multicast: VRF VRF_LAN IPv6 Unicast: VRF VRF_TUN IPv4 Unicast: VRF VRF_TUN IPv4 Multicast: VRF VRF_TUN IPv6 Unicast: VRF VRF_WAN IPv4 Unicast: VRF VRF_WAN IPv4 Multicast: VRF VRF_WAN IPv6 Unicast: VRF WAN IPv4 Unicast: VRF WAN IPv4 Multicast: VRF WAN IPv6 Unicast: VRF default IPv4 Unicast: VRF default IPv4 Multicast: VRF default IPv6 Unicast: ::/0 peer 3fff:10::200 (status: installed) VRF test IPv4 Unicast: VRF test IPv4 Multicast: VRF test IPv6 Unicast: VRF test2 IPv4 Unicast: VRF test2 IPv4 Multicast: VRF test2 IPv6 Unicast:
Step 6: Run command protocols bfd show static route at DUT1 and check if output matches the following regular expressions:
3fff:10::100 status: installedShow output
Showing BFD monitored static routes: Next hops: VRF BFD IPv4 Unicast: VRF BFD IPv4 Multicast: VRF BFD IPv6 Unicast: VRF BGP IPv4 Unicast: VRF BGP IPv4 Multicast: VRF BGP IPv6 Unicast: VRF default IPv4 Unicast: VRF default IPv4 Multicast: VRF default IPv6 Unicast: ::/0 peer 3fff:10::100 (status: installed) VRF tenant1 IPv4 Unicast: VRF tenant1 IPv4 Multicast: VRF tenant1 IPv6 Unicast: VRF tenant2 IPv4 Unicast: VRF tenant2 IPv4 Multicast: VRF tenant2 IPv6 Unicast: VRF tenant3 IPv4 Unicast: VRF tenant3 IPv4 Multicast: VRF tenant3 IPv6 Unicast:
Note
Check that they are each other’s peers and that their status is up (the BFD session has beedn successfully established)
Step 7: Run command protocols bfd show peers at DUT0 and check if output matches the following regular expressions:
3fff:10::200 Status: upShow output
BFD Peers: peer 3fff:10::200 vrf default interface eth0 ID: 1218386004 Remote ID: 2443376076 Active mode Status: up Uptime: 3 second(s) Diagnostics: ok Remote diagnostics: ok Peer Type: dynamic RTT min/avg/max: 0/0/0 usec Local timers: Detect-multiplier: 3 Receive interval: 300ms Transmission interval: 300ms Echo receive interval: 50ms Echo transmission interval: disabled Remote timers: Detect-multiplier: 3 Receive interval: 300ms Transmission interval: 300ms Echo receive interval: 50ms
Step 8: Run command protocols bfd show peers at DUT1 and check if output matches the following regular expressions:
3fff:10::100 Status: upShow output
BFD Peers: peer 3fff:10::100 vrf default interface eth0 ID: 2443376076 Remote ID: 1218386004 Active mode Status: up Uptime: 3 second(s) Diagnostics: ok Remote diagnostics: ok Peer Type: dynamic RTT min/avg/max: 0/0/0 usec Local timers: Detect-multiplier: 3 Receive interval: 300ms Transmission interval: 300ms Echo receive interval: 50ms Echo transmission interval: disabled Remote timers: Detect-multiplier: 3 Receive interval: 300ms Transmission interval: 300ms Echo receive interval: 50ms
Test Connection With Next Hop And Next Hop VRF IPv6
Description
Tests connection between two devices with BFD in static routes using the gateway as the BFD peer and a leaked route with a nexthop in the specified VRF ID, checking if they are each others peers and their status is up and installed.
Scenario
Step 1: Set the following configuration in DUT0 :
set interfaces ethernet eth0 address '3fff:10::100/64' set interfaces ethernet eth0 vrf VRF set protocols static route6 '::/0' next-hop '3fff:10::200' next-hop-vrf VRF bfd set system login user admin authentication encrypted-password '$6$GSjsCj8gHLv$/VcqU6FLi6CT2Oxn0MJQ2C2tqnRDrYKNF8HIYWJp68nvXvPdFccDsT04.WtigUONbKYrgKg8d6rEs8PjljMkH0' set system vrf VRF
Step 2: Set the following configuration in DUT1 :
set interfaces ethernet eth0 address '3fff:10::200/64' set interfaces ethernet eth0 vrf VRF set protocols static route6 '::/0' next-hop '3fff:10::100' next-hop-vrf VRF bfd set system login user admin authentication encrypted-password '$6$GSjsCj8gHLv$/VcqU6FLi6CT2Oxn0MJQ2C2tqnRDrYKNF8HIYWJp68nvXvPdFccDsT04.WtigUONbKYrgKg8d6rEs8PjljMkH0' set system vrf VRF
Note
Check connectivity
Step 3: Ping IP address 3fff:10::200 from DUT0:
admin@DUT0$ ping 3fff:10::200 count 1 size 56 timeout 1Show output
PING 3fff:10::200(3fff:10::200) 56 data bytes 64 bytes from 3fff:10::200: icmp_seq=1 ttl=64 time=0.230 ms --- 3fff:10::200 ping statistics --- 1 packets transmitted, 1 received, 0% packet loss, time 0ms rtt min/avg/max/mdev = 0.230/0.230/0.230/0.000 ms
Step 4: Ping IP address 3fff:10::100 from DUT1:
admin@DUT1$ ping 3fff:10::100 count 1 size 56 timeout 1Show output
PING 3fff:10::100(3fff:10::100) 56 data bytes 64 bytes from 3fff:10::100: icmp_seq=1 ttl=64 time=0.267 ms --- 3fff:10::100 ping statistics --- 1 packets transmitted, 1 received, 0% packet loss, time 0ms rtt min/avg/max/mdev = 0.267/0.267/0.267/0.000 ms
Note
Check that the operational command ‘protocols bfd show static route’ works, and shows that they are each other’s peers and that their status is installed, indicating that the next-hop router is reachable
Step 5: Run command protocols bfd show static route at DUT0 and check if output matches the following regular expressions:
3fff:10::200 status: installedShow output
Showing BFD monitored static routes: Next hops: VRF A IPv4 Unicast: VRF A IPv4 Multicast: VRF A IPv6 Unicast: VRF AP IPv4 Unicast: VRF AP IPv4 Multicast: VRF AP IPv6 Unicast: VRF B IPv4 Unicast: VRF B IPv4 Multicast: VRF B IPv6 Unicast: VRF BFD IPv4 Unicast: VRF BFD IPv4 Multicast: VRF BFD IPv6 Unicast: VRF BGP IPv4 Unicast: VRF BGP IPv4 Multicast: VRF BGP IPv6 Unicast: VRF G IPv4 Unicast: VRF G IPv4 Multicast: VRF G IPv6 Unicast: VRF LAN IPv4 Unicast: VRF LAN IPv4 Multicast: VRF LAN IPv6 Unicast: VRF LOC IPv4 Unicast: VRF LOC IPv4 Multicast: VRF LOC IPv6 Unicast: VRF MON IPv4 Unicast: VRF MON IPv4 Multicast: VRF MON IPv6 Unicast: VRF RED IPv4 Unicast: VRF RED IPv4 Multicast: VRF RED IPv6 Unicast: VRF TEST IPv4 Unicast: VRF TEST IPv4 Multicast: VRF TEST IPv6 Unicast: VRF VRF1 IPv4 Unicast: VRF VRF1 IPv4 Multicast: VRF VRF1 IPv6 Unicast: VRF VRF_LAN IPv4 Unicast: VRF VRF_LAN IPv4 Multicast: VRF VRF_LAN IPv6 Unicast: VRF VRF_TUN IPv4 Unicast: VRF VRF_TUN IPv4 Multicast: VRF VRF_TUN IPv6 Unicast: VRF VRF_WAN IPv4 Unicast: VRF VRF_WAN IPv4 Multicast: VRF VRF_WAN IPv6 Unicast: VRF WAN IPv4 Unicast: VRF WAN IPv4 Multicast: VRF WAN IPv6 Unicast: VRF default IPv4 Unicast: VRF default IPv4 Multicast: VRF default IPv6 Unicast: ::/0 peer 3fff:10::200 (status: installed) VRF test IPv4 Unicast: VRF test IPv4 Multicast: VRF test IPv6 Unicast: VRF test2 IPv4 Unicast: VRF test2 IPv4 Multicast: VRF test2 IPv6 Unicast:
Step 6: Run command protocols bfd show static route at DUT1 and check if output matches the following regular expressions:
3fff:10::100 status: installedShow output
Showing BFD monitored static routes: Next hops: VRF BFD IPv4 Unicast: VRF BFD IPv4 Multicast: VRF BFD IPv6 Unicast: VRF BGP IPv4 Unicast: VRF BGP IPv4 Multicast: VRF BGP IPv6 Unicast: VRF default IPv4 Unicast: VRF default IPv4 Multicast: VRF default IPv6 Unicast: ::/0 peer 3fff:10::100 (status: installed) VRF tenant1 IPv4 Unicast: VRF tenant1 IPv4 Multicast: VRF tenant1 IPv6 Unicast: VRF tenant2 IPv4 Unicast: VRF tenant2 IPv4 Multicast: VRF tenant2 IPv6 Unicast: VRF tenant3 IPv4 Unicast: VRF tenant3 IPv4 Multicast: VRF tenant3 IPv6 Unicast:
Note
Check that they are each other’s peers and that their status is up (the BFD session has beedn successfully established)
Step 7: Run command protocols bfd show peers at DUT0 and check if output matches the following regular expressions:
3fff:10::200 Status: upShow output
BFD Peers: peer 3fff:10::200 vrf VRF ID: 773281276 Remote ID: 393385270 Active mode Status: up Uptime: 0 second(s) Diagnostics: ok Remote diagnostics: ok Peer Type: dynamic RTT min/avg/max: 0/0/0 usec Local timers: Detect-multiplier: 3 Receive interval: 300ms Transmission interval: 300ms Echo receive interval: 50ms Echo transmission interval: disabled Remote timers: Detect-multiplier: 3 Receive interval: 300ms Transmission interval: 300ms Echo receive interval: 50ms
Step 8: Run command protocols bfd show peers at DUT1 and check if output matches the following regular expressions:
3fff:10::100 Status: upShow output
BFD Peers: peer 3fff:10::100 vrf VRF ID: 393385270 Remote ID: 773281276 Active mode Status: up Uptime: 0 second(s) Diagnostics: ok Remote diagnostics: ok Peer Type: dynamic RTT min/avg/max: 0/0/0 usec Local timers: Detect-multiplier: 3 Receive interval: 300ms Transmission interval: 300ms Echo receive interval: 50ms Echo transmission interval: disabled Remote timers: Detect-multiplier: 3 Receive interval: 300ms Transmission interval: 300ms Echo receive interval: 50ms
Test Multihop Connection IPv6
Description
Tests multihop connection between two devices in different networks using a third device connected to both networks, checking if they are each others peers and their status is up and installed.
Scenario
Step 1: Set the following configuration in DUT0 :
set interfaces dummy dum0 address '3fff:1::1/64' set interfaces ethernet eth0 address '3fff:10::100/64' set protocols static route6 '3fff:20::/64' next-hop '3fff:10::101' set protocols static route6 '3fff:2::/64' next-hop '3fff:20::200' bfd multihop set system login user admin authentication encrypted-password '$6$GSjsCj8gHLv$/VcqU6FLi6CT2Oxn0MJQ2C2tqnRDrYKNF8HIYWJp68nvXvPdFccDsT04.WtigUONbKYrgKg8d6rEs8PjljMkH0'
Step 2: Set the following configuration in DUT1 :
set interfaces dummy dum0 address '3fff:2::1/64' set interfaces ethernet eth0 address '3fff:20::200/64' set protocols static route6 '3fff:10::/64' next-hop '3fff:20::201' set protocols static route6 '3fff:1::/64' next-hop '3fff:10::100' bfd multihop set system login user admin authentication encrypted-password '$6$GSjsCj8gHLv$/VcqU6FLi6CT2Oxn0MJQ2C2tqnRDrYKNF8HIYWJp68nvXvPdFccDsT04.WtigUONbKYrgKg8d6rEs8PjljMkH0'
Step 3: Set the following configuration in DUT2 :
set interfaces ethernet eth0 address '3fff:10::101/64' set interfaces ethernet eth1 address '3fff:20::201/64' set protocols static route6 '3fff:1::/64' next-hop '3fff:10::100' set protocols static route6 '3fff:2::/64' next-hop '3fff:20::200' set system login user admin authentication encrypted-password '$6$GSjsCj8gHLv$/VcqU6FLi6CT2Oxn0MJQ2C2tqnRDrYKNF8HIYWJp68nvXvPdFccDsT04.WtigUONbKYrgKg8d6rEs8PjljMkH0'
Note
Check connectivity
Step 4: Ping IP address 3fff:20::200 from DUT0:
admin@DUT0$ ping 3fff:20::200 count 1 size 56 timeout 1Show output
PING 3fff:20::200(3fff:20::200) 56 data bytes 64 bytes from 3fff:20::200: icmp_seq=1 ttl=63 time=470 ms --- 3fff:20::200 ping statistics --- 1 packets transmitted, 1 received, 0% packet loss, time 0ms rtt min/avg/max/mdev = 469.796/469.796/469.796/0.000 ms
Step 5: Ping IP address 3fff:10::100 from DUT1:
admin@DUT1$ ping 3fff:10::100 count 1 size 56 timeout 1Show output
PING 3fff:10::100(3fff:10::100) 56 data bytes 64 bytes from 3fff:10::100: icmp_seq=1 ttl=63 time=0.556 ms --- 3fff:10::100 ping statistics --- 1 packets transmitted, 1 received, 0% packet loss, time 0ms rtt min/avg/max/mdev = 0.556/0.556/0.556/0.000 ms
Note
Check that the operational command ‘protocols bfd show static route’ works, and shows that they are each other’s peers and that their status is installed, indicating that the next-hop router is reachable
Step 6: Run command protocols bfd show static route at DUT0 and check if output matches the following regular expressions:
3fff:20::200 status: installedShow output
Showing BFD monitored static routes: Next hops: VRF A IPv4 Unicast: VRF A IPv4 Multicast: VRF A IPv6 Unicast: VRF AP IPv4 Unicast: VRF AP IPv4 Multicast: VRF AP IPv6 Unicast: VRF B IPv4 Unicast: VRF B IPv4 Multicast: VRF B IPv6 Unicast: VRF BFD IPv4 Unicast: VRF BFD IPv4 Multicast: VRF BFD IPv6 Unicast: VRF BGP IPv4 Unicast: VRF BGP IPv4 Multicast: VRF BGP IPv6 Unicast: VRF G IPv4 Unicast: VRF G IPv4 Multicast: VRF G IPv6 Unicast: VRF LAN IPv4 Unicast: VRF LAN IPv4 Multicast: VRF LAN IPv6 Unicast: VRF LOC IPv4 Unicast: VRF LOC IPv4 Multicast: VRF LOC IPv6 Unicast: VRF MON IPv4 Unicast: VRF MON IPv4 Multicast: VRF MON IPv6 Unicast: VRF RED IPv4 Unicast: VRF RED IPv4 Multicast: VRF RED IPv6 Unicast: VRF TEST IPv4 Unicast: VRF TEST IPv4 Multicast: VRF TEST IPv6 Unicast: VRF VRF1 IPv4 Unicast: VRF VRF1 IPv4 Multicast: VRF VRF1 IPv6 Unicast: VRF VRF_LAN IPv4 Unicast: VRF VRF_LAN IPv4 Multicast: VRF VRF_LAN IPv6 Unicast: VRF VRF_TUN IPv4 Unicast: VRF VRF_TUN IPv4 Multicast: VRF VRF_TUN IPv6 Unicast: VRF VRF_WAN IPv4 Unicast: VRF VRF_WAN IPv4 Multicast: VRF VRF_WAN IPv6 Unicast: VRF WAN IPv4 Unicast: VRF WAN IPv4 Multicast: VRF WAN IPv6 Unicast: VRF default IPv4 Unicast: VRF default IPv4 Multicast: VRF default IPv6 Unicast: 3fff:2::/64 peer 3fff:20::200 (status: installed) VRF test IPv4 Unicast: VRF test IPv4 Multicast: VRF test IPv6 Unicast: VRF test2 IPv4 Unicast: VRF test2 IPv4 Multicast: VRF test2 IPv6 Unicast:
Step 7: Run command protocols bfd show static route at DUT1 and check if output matches the following regular expressions:
3fff:10::100 status: installedShow output
Showing BFD monitored static routes: Next hops: VRF BFD IPv4 Unicast: VRF BFD IPv4 Multicast: VRF BFD IPv6 Unicast: VRF BGP IPv4 Unicast: VRF BGP IPv4 Multicast: VRF BGP IPv6 Unicast: VRF default IPv4 Unicast: VRF default IPv4 Multicast: VRF default IPv6 Unicast: 3fff:1::/64 peer 3fff:10::100 (status: installed) VRF tenant1 IPv4 Unicast: VRF tenant1 IPv4 Multicast: VRF tenant1 IPv6 Unicast: VRF tenant2 IPv4 Unicast: VRF tenant2 IPv4 Multicast: VRF tenant2 IPv6 Unicast: VRF tenant3 IPv4 Unicast: VRF tenant3 IPv4 Multicast: VRF tenant3 IPv6 Unicast:
Note
Check that they are each other’s peers and that their status is up (the BFD session has beedn successfully established)
Step 8: Run command protocols bfd show peers at DUT0 and check if output matches the following regular expressions:
3fff:20::200 Status: upShow output
BFD Peers: peer 3fff:20::200 multihop local-address 3fff:10::100 vrf default ID: 4160413796 Remote ID: 261045283 Active mode Minimum TTL: 2 Status: up Uptime: 2 second(s) Diagnostics: ok Remote diagnostics: ok Peer Type: dynamic RTT min/avg/max: 0/0/0 usec Local timers: Detect-multiplier: 3 Receive interval: 300ms Transmission interval: 300ms Echo receive interval: 50ms Echo transmission interval: disabled Remote timers: Detect-multiplier: 3 Receive interval: 300ms Transmission interval: 300ms Echo receive interval: 50ms
Step 9: Run command protocols bfd show peers at DUT1 and check if output matches the following regular expressions:
3fff:10::100 Status: upShow output
BFD Peers: peer 3fff:10::100 multihop local-address 3fff:20::200 vrf default ID: 261045283 Remote ID: 4160413796 Active mode Minimum TTL: 2 Status: up Uptime: 3 second(s) Diagnostics: ok Remote diagnostics: ok Peer Type: dynamic RTT min/avg/max: 0/0/0 usec Local timers: Detect-multiplier: 3 Receive interval: 300ms Transmission interval: 300ms Echo receive interval: 50ms Echo transmission interval: disabled Remote timers: Detect-multiplier: 3 Receive interval: 300ms Transmission interval: 300ms Echo receive interval: 50ms
Test DUT0 Source IP IPv6
Description
Captures BFD packets and verifies the source address is correct when packets are sent from DUT0.
Scenario
Step 1: Set the following configuration in DUT0 :
set interfaces ethernet eth0 address '3fff:10::100/64' set protocols static route6 '::/0' next-hop '3fff:10::200' bfd set system login user admin authentication encrypted-password '$6$GSjsCj8gHLv$/VcqU6FLi6CT2Oxn0MJQ2C2tqnRDrYKNF8HIYWJp68nvXvPdFccDsT04.WtigUONbKYrgKg8d6rEs8PjljMkH0'
Step 2: Set the following configuration in DUT1 :
set interfaces ethernet eth0 address '3fff:10::200/64' set protocols static route6 '::/0' next-hop '3fff:10::100' bfd source-ip '3fff:10::100' set system login user admin authentication encrypted-password '$6$GSjsCj8gHLv$/VcqU6FLi6CT2Oxn0MJQ2C2tqnRDrYKNF8HIYWJp68nvXvPdFccDsT04.WtigUONbKYrgKg8d6rEs8PjljMkH0'
Note
Capture packets and show one to verify that the source address is 3fff:10::100:
Note
Source line:
Show output
27 2025-12-17 17:42:55.015994982 3fff:10::100 → 3fff:10::200 BFD Control 86 Diag: No Diagnostic, State: Down, Flags: 0x00
Test DUT1 Source IP IPv6
Description
Captures BFD packets and verifies the source address is correct when packets are sent from DUT1.
Scenario
Step 1: Set the following configuration in DUT0 :
set interfaces ethernet eth0 address '3fff:10::100/64' set protocols static route6 '::/0' next-hop '3fff:10::200' bfd source-ip '3fff:10::200' set system login user admin authentication encrypted-password '$6$GSjsCj8gHLv$/VcqU6FLi6CT2Oxn0MJQ2C2tqnRDrYKNF8HIYWJp68nvXvPdFccDsT04.WtigUONbKYrgKg8d6rEs8PjljMkH0'
Step 2: Set the following configuration in DUT1 :
set interfaces ethernet eth0 address '3fff:10::200/64' set protocols static route6 '::/0' next-hop '3fff:10::100' bfd set system login user admin authentication encrypted-password '$6$GSjsCj8gHLv$/VcqU6FLi6CT2Oxn0MJQ2C2tqnRDrYKNF8HIYWJp68nvXvPdFccDsT04.WtigUONbKYrgKg8d6rEs8PjljMkH0'
Note
Capture packets and show one to verify that the source address is 3fff:10::200:
Note
Source line:
Show output
22 2025-12-17 17:43:07.797132617 3fff:10::200 → 3fff:10::100 BFD Control 86 Diag: No Diagnostic, State: Down, Flags: 0x00
Test Profile IPv6
Description
Checks that all BFD profile configured parameters are shown.
Scenario
Step 1: Set the following configuration in DUT0 :
set interfaces ethernet eth0 address '3fff:10::100/64' set protocols bfd profile PFL detect-multiplier 5 set protocols bfd profile PFL echo-interval 60 set protocols bfd profile PFL passive-mode set protocols bfd profile PFL receive-interval 400 set protocols bfd profile PFL transmit-interval 400 set protocols static route6 '::/0' next-hop '3fff:10::200' bfd profile PFL set system login user admin authentication encrypted-password '$6$GSjsCj8gHLv$/VcqU6FLi6CT2Oxn0MJQ2C2tqnRDrYKNF8HIYWJp68nvXvPdFccDsT04.WtigUONbKYrgKg8d6rEs8PjljMkH0'
Step 2: Set the following configuration in DUT1 :
set interfaces ethernet eth0 address '3fff:10::200/64' set protocols static route6 '::/0' next-hop '3fff:10::100' bfd set system login user admin authentication encrypted-password '$6$GSjsCj8gHLv$/VcqU6FLi6CT2Oxn0MJQ2C2tqnRDrYKNF8HIYWJp68nvXvPdFccDsT04.WtigUONbKYrgKg8d6rEs8PjljMkH0'
Note
Check connectivity
Step 3: Ping IP address 3fff:10::200 from DUT0:
admin@DUT0$ ping 3fff:10::200 count 1 size 56 timeout 1Show output
PING 3fff:10::200(3fff:10::200) 56 data bytes 64 bytes from 3fff:10::200: icmp_seq=1 ttl=64 time=437 ms --- 3fff:10::200 ping statistics --- 1 packets transmitted, 1 received, 0% packet loss, time 0ms rtt min/avg/max/mdev = 437.478/437.478/437.478/0.000 ms
Step 4: Ping IP address 3fff:10::100 from DUT1:
admin@DUT1$ ping 3fff:10::100 count 1 size 56 timeout 1Show output
PING 3fff:10::100(3fff:10::100) 56 data bytes 64 bytes from 3fff:10::100: icmp_seq=1 ttl=64 time=0.240 ms --- 3fff:10::100 ping statistics --- 1 packets transmitted, 1 received, 0% packet loss, time 0ms rtt min/avg/max/mdev = 0.240/0.240/0.240/0.000 ms
Note
Check that they are each other’s peers and that their status is up (the BFD session has beedn successfully established). Check that all configured profile parameters are shown in DUT0
Step 5: Run command protocols bfd show peers at DUT0 and check if output matches the following regular expressions:
3fff:10::200 Status: up Detect-multiplier: 5 Echo receive interval: disabled Echo transmission interval: disabled Passive mode Receive interval: 400ms Transmission interval: 400msShow output
BFD Peers: peer 3fff:10::200 vrf default ID: 3277947966 Remote ID: 2133251074 Passive mode Status: up Uptime: 0 second(s) Diagnostics: ok Remote diagnostics: ok Peer Type: dynamic RTT min/avg/max: 0/0/0 usec Local timers: Detect-multiplier: 5 Receive interval: 400ms Transmission interval: 400ms Echo receive interval: disabled Echo transmission interval: disabled Remote timers: Detect-multiplier: 3 Receive interval: 300ms Transmission interval: 300ms Echo receive interval: 50ms
Step 6: Run command protocols bfd show peers at DUT1 and check if output matches the following regular expressions:
3fff:10::100 Status: upShow output
BFD Peers: peer 3fff:10::100 vrf default ID: 2133251074 Remote ID: 3277947966 Active mode Status: up Uptime: 1 second(s) Diagnostics: ok Remote diagnostics: ok Peer Type: dynamic RTT min/avg/max: 0/0/0 usec Local timers: Detect-multiplier: 3 Receive interval: 300ms Transmission interval: 300ms Echo receive interval: 50ms Echo transmission interval: disabled Remote timers: Detect-multiplier: 5 Receive interval: 400ms Transmission interval: 400ms Echo receive interval: disabled