Page MenuHomeVyOS Platform

Add CLI to disable LDP establish hello packets
Closed, ResolvedPublicFEATURE REQUEST

Description

Summary

Add CLI to disable LDP establish hello packets

Use case

Disable unnecessary LDP packets

Additional information

This feature was implemented in https://vyos.dev/T7226 and exists in the patch https://github.com/vyos/vyos-build/blob/current/scripts/package-build/frr/patches/frr/0001-ldpd-Option-for-disabled-LDP-hello-message-during-TC.patch for the current

VyOS# configure
VyOS(config)# mpls ldp
VyOS(config-ldp)# address-family ipv4
VyOS(config-ldp-af)# interface eth0
VyOS(config-ldp-af-if)# disable-establish-hello

In FRR, we see strange behavior. If a router has not formed an LDP neighbor adjacency yet, it answers all received LDP Hello packets from non-neighbors with new Hello packets.

Proposed CLI

set protocols mpls ldp interface eth0 disable-establish-hello

Details

Version
-
Is it a breaking change?
Unspecified (possibly destroys the router)
Issue type
Feature (new functionality)
Story points
3

Event Timeline

Viacheslav claimed this task.
Viacheslav triaged this task as Normal priority.

PR https://github.com/vyos/vyos-1x/pull/4416

set protocols mpls ldp discovery transport-ipv4-address '192.0.2.111'
set protocols mpls ldp interface eth1 disable-establish-hello
set protocols mpls ldp interface eth2 disable-establish-hello
set protocols mpls ldp interface eth3
set protocols mpls ldp router-id '192.0.2.111'
commit

FRR config:

vyos@r14# vtysh -c "show run ldpd"
Building configuration...

Current configuration:
!
frr version 10.2.2
frr defaults traditional
hostname r14
service integrated-vtysh-config
!
mpls ldp
 router-id 192.0.2.111
 !
 address-family ipv4
  discovery transport-address 192.0.2.111
  label local allocate host-routes
  !
  interface eth1
   disable-establish-hello
  exit
  !
  interface eth2
   disable-establish-hello
  exit
  !
  interface eth3
  exit
  !
 exit-address-family
 !
exit
!
end
[edit]
vyos@r14#
Viacheslav moved this task from Open to Finished on the VyOS 1.5 Circinus board.
Viacheslav moved this task from Need Triage to Completed on the VyOS Rolling board.
Viacheslav moved this task from Backlog to Finished on the VyOS 1.4 Sagitta (1.4.2) board.