set protocols bfd peer local-address



The set protocols bfd peer local-address command creates a BFD session and specifies the peer IP address.

The delete protocols bfd peer local-address command delete the BFD session.


Command Syntax

set protocols bfd [vrf <vrf-name>] [interface<interface-name>] peer <peer-ip> [local-address <local-ip>]


Parameter

Parameter

Description

vrf <vrf-name>

Optional. Specifies a VRF name. The value is a string. It’s a user-defined VRF set by the command set ip vrf <vrf-name> [description <string>].

interface<interface-name>

Optional. Specifies the egress interface for BFD packets. The value is an  L3 interface that can be the VLAN interface name, the loopback interface name, the routed interface or the sub-interface name. The value is a string.

If not specified, the system will search the route table for the outgoing interface.

peer <peer-ip>Specifies the peer for a BFD session. The value is an IPv4 or IPv6 address.
local-address <local-ip>

Specifies a local address used to send the packets. The value is an IPv4 or IPv6 address.

Note: This option is mandatory for IPv6.


Example

  • Create a BFD session link to the peer IP address 2.2.2.2.

admin@Xorplus# set protocols bfd peer 2.2.2.2
admin@Xorplus# commit

Copyright © 2024 Pica8 Inc. All Rights Reserved.