Page MenuHomeVyOS Platform

Policy route-map add match source-protocol
Closed, ResolvedPublicFEATURE REQUEST

Description

Ability to use source-protocol for route-maps

r14(config-route-map)# match source-protocol 
  babel       Babel routing protocol (Babel)
  bgp         Border Gateway Protocol (BGP)
  connected   Connected routes (directly attached subnet or host)
  eigrp       Enhanced Interior Gateway Routing Protocol (EIGRP)
  isis        Intermediate System to Intermediate System (IS-IS)
  kernel      Kernel routes (not installed via the zebra RIB)
  nhrp        Next Hop Resolution Protocol (NHRP)
  openfabric  OpenFabric Routing Protocol
  ospf        Open Shortest Path First (OSPFv2)
  ospf6       Open Shortest Path First (IPv6) (OSPFv3)
  rip         Routing Information Protocol (RIP)
  ripng       Routing Information Protocol next-generation (IPv6) (RIPng)
  static      Statically configured routes
  table       Non-main Kernel Routing Table
  vnc         Virtual Network Control (VNC)

Details

Difficulty level
Unknown (require assessment)
Version
-
Why the issue appeared?
Will be filled on close
Is it a breaking change?
Unspecified (possibly destroys the router)
Issue type
Feature (new functionality)

Event Timeline

Viacheslav changed the task status from Open to In progress.May 2 2023, 11:17 AM
Viacheslav claimed this task.

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

set policy route-map foo rule 10 action 'permit'
set policy route-map foo rule 10 match protocol 'connected'
set policy route-map foo rule 20 action 'permit'
set policy route-map foo rule 20 match protocol 'bgp'
Viacheslav moved this task from Need Triage to Finished on the VyOS 1.4 Sagitta board.