Project

General

Profile

Actions

Bug #11546

closed

incorrect 'set as-path' command

Added by Viktor Gurov about 3 years ago. Updated about 3 years ago.

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

0%

Estimated time:
Plus Target Version:
Affected Version:
Affected Plus 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


Files

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

Updated by Jim Pingle about 3 years ago

  • Status changed from New to Pull Request Review
Actions #3

Updated by Alhusein Zawi about 3 years 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

Actions #4

Updated by Jim Pingle about 3 years 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.

Actions #5

Updated by Renato Botelho about 3 years ago

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

PR has been merged. Thanks!

Actions #6

Updated by Alhusein Zawi about 3 years ago

"Set" option is not in options list.

Actions #7

Updated by Viktor Gurov about 3 years ago

  • Status changed from Feedback to Resolved
Actions

Also available in: Atom PDF