Vyatta NOS documentation

Learn how to install, configure, and operate Vyatta Network Operating System (Vyatta NOS), which helps to drive our virtual networking and physical platforms portfolio.

Configuring BFD for static route single hop by using IPv6 addressing

To configure BFD single hop by using IPv6 addressing, you must first set up a supported routing protocol between the two peer systems.

Consider a scenario in which you have two systems, R1 and R2. R1 and R2 share static route, as illustrated in the reference network diagram. The following list provides the addresses of R1 and R2.
  • R1 loopback address—1:1:1::1/128
  • R1 interface address—10:10:10::1/64
  • R2 loopback address—2:2:2::2/128
  • R2 interface address—10:10:10::2/64
Figure 1. Configuring BFD for static route single hop by using IPv6 addressing

To configure a BFD session between R1 and R2, perform the following steps in configuration mode.

Table 1. Configuring BFD for Static Route Single Hop by Using IPv6 Addressing
Router Step Command
R1 Create a BFD template called test. See section Configuring the BFD Template.
R1 Associate the BFD test template with the destination address of R1 and the source address of R2.
vyatta@R1# set protocols bfd destination 10:10:10::2 source 10:10:10::1 template test
R1 Register R2 as a BFD neighbor.
vyatta@R1# set protocols static route6 2:2:2::2/128 next-hop 10:10:10::2 fall-over bfd
R1 Commit the configuration.
vyatta@R1# commit
R1 Save the configuration.
R1 Display the configuration.
vyatta@R1# show protocols static route6
static {
        route6 2:2:2::2/128 {
                next-hop 10:10:10::2 {
                        fall-over {
                                bfd
                        }
                }
        }
}


vyatta@R1# show protocols bfd 
 bfd {
        destination 10:10:10::2 {
                source 10:10:10::1 {
                        template test
                }
        }
        template test {
                auth {
                        simple {
                                key "********"
                        }
                }
                minimum-rx 300
                minimum-tx 300
                multiplier 3
        }
 }

R2 Create a BFD template called test. See section Configuring the BFD Template.
R2 Associate the BFD test template with the destination address of R2 and the source address of R1.
vyatta@R2# set protocols bfd destination 10:10:10::1 source 10:10:10::2 template test
R2 Register R1 as a BFD neighbor.
vyatta@R2# set protocols static route6 1:1:1::1/128 next-hop 10:10:10::1 fall-over bfd
R2 Commit the configuration.
vyatta@R2# commit
R2 Save the configuration.
vyatta@R2# save
R2 Display the configuration.
vyatta@R2# show protocols static route6
static {
        route6 1:1:1::1/128 {
                next-hop 10:10:10::1 {
                        fall-over {
                                bfd
                        }
                }
        }
}


vyatta@R2# show protocols bfd 
 bfd {
        destination 10:10:10::1 {
                source 10:10:10::2 {
                        template test
                }
        }
        template test {
                auth {
                        simple {
                                key "********"
                        }
                }
                minimum-rx 300
                minimum-tx 300
                multiplier 3
        }
 }