Configuring BFD for OSPFv2 on a physical interface by using IPv4 addressing
To configure BFD for all OSPFv2 neighbors on a physical interface, you must first configure OSPFv2 for all the neighbors.
- R1 loopback address—
1.1.1.1
- R1 interface address—
10.10.10.1
- R2 loopback address—
2.2.2.2
- R2 interface address—
10.10.10.2
. - R1 and R2 connected physical interface—
dp0s5
To configure a BFD session between R1 and R2, perform the following steps in configuration mode. BFD for OSPFv2 is configured on the physical interface.
Router | Step | Command |
---|---|---|
R1 | Create a BFD template called test . | See section Configuring the BFD template. |
R1 | Associate the BFD test template with the interface |
|
R1 | Start a BFD instance on the interface. |
|
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 | Commit the configuration. |
|
R2 | Save the configuration. |
|
R2 | Display the configuration. |
|