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 with an interface

You can configure the BFD parameter template with the interface on which the BFD session is running. This method applies to single-hop BFD sessions only.

Consider two systems, R1 and R2, that already share a routing protocol such as BGP on a data plane interface named dp0s7. The following table provides a list of steps to associate a BFD template with an interface on the R1 router.
Figure 1. Configuring with an interface
Table 1. Configuring with an interface
Router Step Command
R1 Specify a BFD parameter template name. vyatta@R1# set protocols bfd template test
R1 Set the minimum-tx value. vyatta@R1# set protocols bfd template test minimum-tx 300
R1 Set the minimum-rx value vyatta@R1# set protocols bfd template test minimum-rx 300
R1 Set the detect-multiplier value. vyatta@R1# set protocols bfd template test multiplier 3
R1 Set the authentication type and associate a key with the authentication type. vyatta@R1# set protocols bfd template test auth simple key Ciena
R1 Commit the configuration. vyatta@R1# commit
R1 Save the configuration. vyatta@R1# save
R1 Display the values of the BFD parameter template.
vyatta@R1# show protocols bfd
 bfd {
        template test {
                auth {
                        simple {
                                key "********"
                        }
                }
                minimum-rx 300
                minimum-tx 300
                multiplier 3
        }
 }
R1 Assign the template for all BFD sessions using dp0s7 as out-going interface. vyatta@R1# set interface dataplane dp0s7 bfd template test
R1 Commit the configuration. vyatta@R1# commit
R1 Save the configuration. vyatta@R1# save
R1 Display the configuration.
vyatta@R1# show interface dp0s7
interface {
     dataplane dp0s7  {       
              template test {
                auth {
                        simple {
                                key "********"
                        }
                }
                minimum-rx 300
                minimum-tx 300
                multiplier 3
                }
        }
 }