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 multiple hop by using IPv6 addressing

To configure BFD multiple hop by using IPv6 addressing, you must first set up the routing protocol such as static route or BGP between the two peer systems.

Figure 1. Configuring BFD for static route multiple hop by using IPv6 addressing
Consider a scenario in which you have three systems, R1, R2, and R3. R1 and R2 share a static route, R2 and R3 also share a static route. The following list provides the addresses of R1, R2, and R3.
  • R1 loopback address—1:1:1::1/128
  • R1 interface address facing R2—10:10:10::1/64
  • R2 loopback address— 2:2:2::1/128
  • R2 interface address facing R1—10:10:10::2/64
  • R2 interface address facing R3—20:20:20::2/64
  • R3 interface address facing R2—20:20:20::3/64
  • R3 loopback address—3:3:3::3/128

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

Table 1. Configuring BFD for Static Route Multiple 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 R3 and the source address of R1.
vyatta@R1#set protocols bfd destination 20:20:20::3 source 10:10:10::1 template test
R1 Register R3 as a BFD neighbor.
vyatta@R1#set protocols static route6 3:3:3::3/128 next-hop 20:20:20::3 fall-over bfd
R1 Commit the configuration.
vyatta@R1#commit
R1 Save the configuration.
vyatta@R1#save
R1 Display the configuration.
vyatta@R1#show protocols static route6
static {
        route6 3:3:3::3/128 {
                next-hop 20:20:20::3 {
                        fall-over {
                                bfd
                        }
                }
        }
}


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

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


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

        }
 }