Configuring Static BFD
To statically establish a BFD session, users need to manually set the BFD session parameters, such as the local address and peer address. The neighbor adjacency will be established after all the configurations are manually committed.
The following two sections list the configuration steps and commands for how to establish a single-hop session and a multi-hop BFD session.
Configuring Single-Hop BFD
Step 1 Enable single-hop BFD.
set protocols bfd [vrf <vrf-name>] [interface<interface-name>] peer <peer-ip> [local-address <local-ip>]
Step 2 (Optional) Configure single-hop BFD session parameters.
set protocols bfd [vrf <vrf-name>] [interface<interface-name>] peer <peer-ip> minimum-ttl <minimum-ttl>
set protocols bfd [vrf <vrf-name>] [interface<interface-name>] peer <peer-ip> receive-interval <receive-interval>
set protocols bfd [vrf <vrf-name>] [interface<interface-name>] peer <peer-ip> transmit-interval <transmit-interval>
set protocols bfd [vrf <vrf-name>] [interface<interface-name>] peer <peer-ip> detect-multiplier <MULTIPLIER>
Step 3 (Optional) Enable BFD echo function.
NOTEs:
- Echo function is only supported in single-hop BFD case.
- BFD echo mode is incompatible with that on other vendors, that is, echo mode can work only between PICOS switches.
set protocols bfd [vrf <vrf-name>] [interface<interface-name>] peer <peer-ip> echo-mode
set protocols bfd [vrf <vrf-name>] [interface<interface-name>] peer <peer-ip> echo receive-interval [<receive-interval> | disabled]
set protocols bfd [vrf <vrf-name>] [interface<interface-name>] peer <peer-ip> echo transmit-interval <transmit-interval>
Step 4 Commit the configurations.
commit
Configuring Multi-Hop BFD
Step 1 Enable multi-hop BFD.
set protocols bfd multihop [vrf <vrf-name>] peer <peer-ip> [local-address <local-ip>]
Step 2 (Optional) Configure multi-hop BFD session parameters.
set protocols bfd multihop [vrf <vrf-name>] peer <peer-ip> local-address <local-ip> minimum-ttl <minimum-ttl>
set protocols bfd multihop [vrf <vrf-name>] peer <peer-ip> local-address <local-ip> receive-interval <receive-interval>
set protocols bfd multihop [vrf <vrf-name>] peer <peer-ip> local-address <local-ip> transmit-interval <transmit-interval>
set protocols bfd multihop [vrf <vrf-name>] peer <peer-ip> local-address <local-ip> detect-multiplier <MULTIPLIER>
Step 3 Commit the configurations.
commit
Copyright © 2024 Pica8 Inc. All Rights Reserved.