Configuring BFD for BGP single hop by using IPv4 addressing
- R1 loopback address—
1.1.1.1
- R1 interface address facing R2—
10.10.10.1
- R2 loopback address—
2.2.2.2
- R2 interface address facing R1—
10.10.10.2
- Data plane interface name—
dp0s7
To configure BFD for BGP single hop by using IPv4 addressing, perform the following steps in configuration mode.
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 R2 and the source address of R1. Note: You can also associate the BFD parameter template with the interface by using the set interface dataplane <if_name> bfd template <template_name> command.
|
|
R1 | Register R2 as a BFD neighbor. |
|
R1 | Commit the configuration. |
|
R1 | Save the configuration. |
|
R1 | Display the configuration. |
|
R2 | Create a BFD template called test . | See section Configuring the BFD template. |
R2 | Associate the BFD test template with the destination address of R1 and the source address of R2. Note: You can also associate the BFD parameter template with the interface by using the set interface dataplane <if_name> bfd template <template_name> command.
|
|
R2 | Register R1 as a BFD neighbor. |
|
R2 | Commit the configuration. |
|
R2 | Save the configuration. |
|
R2 | Display the configuration. |
|