Page MenuHomeVyOS Platform

BGP conf_mode error enforce-first-as
Closed, ResolvedPublicBUG


Command doesn't work.

vyos@r4-roll# set protocols bgp 65001 parameters enforce-first-as 
vyos@r4-roll# commit
[ protocols bgp 65001 ]
% Unknown command: bgp enforce-first-as
Error configuring routing subsystem.  See log for more detailed information



Difficulty level
Unknown (require assessment)
VyOS 1.3-rolling-202008260118
Why the issue appeared?
Will be filled on close
Is it a breaking change?
Unspecified (possibly destroys the router)
Issue type
Bug (incorrect behavior)

Event Timeline

It seems this is parameter was moved from global to peer configuration.


No more option "enforce-first-as" in FRR global BGP configuration

r4-roll(config-router)# bgp  
  always-compare-med                  Allow comparing MED from different neighbors
  bestpath                            Change the default bestpath selection
  client-to-client                    Configure client to client route reflection
  cluster-id                          Configure Route-Reflector Cluster-id
  confederation                       AS confederation parameters
  dampening                           Enable route-flap dampening
  default                             Configure BGP defaults
  deterministic-med                   Pick the best-MED path among paths advertised from the neighboring AS
  disable-ebgp-connected-route-check  Disable checking if nexthop is connected on ebgp sessions
  ebgp-requires-policy                Require in and out policy for eBGP peers (RFC8212)
  fast-external-failover              Immediately reset session if a link to a directly connected external peer goes down
  graceful-restart                    Graceful restart capability parameters
  graceful-shutdown                   Graceful shutdown parameters
  listen                              BGP Dynamic Neighbors listen commands
  log-neighbor-changes                Log neighbor up/down and reset reason
  max-med                             Advertise routes with max-med
  network                             BGP network command
  reject-as-sets                      Reject routes with AS_SET or AS_CONFED_SET flag
  route-map                           BGP route-map delay timer
  route-reflector                     Allow modifications made by out route-map
  router-id                           Override configured router identifier

Therefore, we can get rid of this command.

erkin set Issue type to Bug (incorrect behavior).Aug 29 2021, 1:18 PM
erkin removed a subscriber: Active contributors.