set protocols bfd peer passive-mode



The set protocols bfd peer passive-mode command configures the BFD session as passive for a single-hop BFD session.

The delete protocols bfd peer passive-mode command sets the configuration to the default value.


Command Syntax

set protocols bfd [vrf <vrf-name>] [interface<interface-name>] peer<peer-ip> passive-mode


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.


Usage Guidelines

A passive session will not attempt to start the connection and will wait for control packets from peer before it begins replying.
This feature is useful when you have a router that acts as a central node in a star network and you want to avoid other nodes sending BFD control packets proactively.


Example

  • Configure the BFD session as passive.
admin@Xorplus# set protocols bfd peer 2.2.2.2 passive-mode
admin@Xorplus# commit

Copyright © 2024 Pica8 Inc. All Rights Reserved.