set protocols bfd peer shutdown



The set protocols bfd peer shutdown command can be used to disable the BFD peer for a single-hop BFD session. When the peer is disabled an ‘administrative down’ message is sent to the remote peer.

The delete protocols bfd peer shutdown command sets the configuration to the default value.


Command Syntax

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


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.


Example

  • Disable the BFD peer.
admin@Xorplus# set protocols bfd peer 2.2.2.2 shutdown
admin@Xorplus# commit

Copyright © 2024 Pica8 Inc. All Rights Reserved.