Actions
Bug #11546
closedincorrect 'set as-path' command
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
Updated by Viktor Gurov about 3 years ago
Updated by Jim Pingle about 3 years ago
- Status changed from New to Pull Request Review
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
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.
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!
Updated by Alhusein Zawi about 3 years ago
"Set" option is not in options list.
Updated by Viktor Gurov about 3 years ago
- Status changed from Feedback to Resolved
Actions