set protocols bfd peer minimum-ttl
The set protocols bfd peer minimum-ttl command configures the minimum expected TTL for an incoming BFD control packet for a single-hop BFD session.
The delete protocols bfd peer minimum-ttl command sets the configuration to the default value.
Command Syntax
set protocols bfd [vrf <vrf-name>] [interface<interface-name>] peer<peer-ip> minimum-ttl <minimum-ttl>
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. 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. |
minimum-ttl <minimum-ttl> | Specifies the minimum expected TTL. Range: 1 to 254. |
Usage Guidelines
This feature serves the purpose of tightening the packet validation requirements to avoid receiving BFD control packets from other sessions.
Note that: This feature is for multi-hop sessions only.
Example
- Configure the minimum expected TTL to 252.
admin@Xorplus# set protocols bfd peer 2.2.2.2 minimum-ttl 252 admin@Xorplus# commit
Copyright © 2024 Pica8 Inc. All Rights Reserved.