Project

General

Profile

Bug #11546

incorrect 'set as-path' command

Added by Viktor Gurov about 2 months ago. Updated about 1 month ago.

Status:
Resolved
Priority:
Normal
Assignee:
Category:
FRR
Target version:
-
Start date:
02/26/2021
Due date:
% Done:

0%

Estimated time:
Affected Version:
Affected Architecture:

Description

If you create a route map with AS Path Option = Set, an error will occur:

b'line 54: % Unknown command:  set as-path 65001\n\n'

this is incorrect syntax, only exclude and prepend is allowed:

pf41.prox.int(config-route-map)# set as-path 
  exclude  Exclude from the as-path
  prepend  Prepend to the as-path

https://docs.frrouting.org/en/latest/routemap.html#route-map-set-command

set.png (8.81 KB) set.png Alhusein Zawi, 03/04/2021 09:07 PM

History

#2 Updated by Jim Pingle about 2 months ago

  • Status changed from New to Pull Request Review

#3 Updated by Alhusein Zawi about 2 months ago

work around:

- Copy commands: "set as-path 65001"

- add "prepend" : set as-path prepend 65001
- go to Services>FRR>Global Settings>Raw Config
- past it to RUNNING frr.conf editor.
- press frr.conf Running to Saved .
- Click save

#4 Updated by Jim Pingle about 2 months ago

No need for that, just pick "Set prepend" in the drop-down instead of "Set". The "Set" option is not in FRR now, but "Set prepend" and "Set Exclude" should both work in the GUI as-is.

#5 Updated by Renato Botelho about 1 month ago

  • Status changed from Pull Request Review to Feedback
  • Assignee set to Viktor Gurov

PR has been merged. Thanks!

#6 Updated by Alhusein Zawi about 1 month ago

"Set" option is not in options list.

#7 Updated by Viktor Gurov about 1 month ago

  • Status changed from Feedback to Resolved

Also available in: Atom PDF