dellemc.os10
dellemc.os10 copied to clipboard
as-path prepend not supported in os10_route_map
SUMMARY
Am trying to do a very common as-path prepend using os10_route_map. and find that it is not supported.
ISSUE TYPE
- Feature Idea
COMPONENT NAME
os10_route_map
ADDITIONAL INFORMATION
very common as-path prepend, used when you want to artificially increase the distance of a given path.
in show running config route-map it looks like this, and it would prepend 3 paths on the neighbor it is used on:
route-map aspath_prepend permit 10
set as-path prepend 65535 65535 65535
the yaml could look something like this:
os10_route_map:
as_path:
name: "aspath_prepend"
permit: true
seq_num: 10
continue: 20
set:
prepend: "65535 65535 65535"
Hi @ronnyaa, Pls can you share what error you are facing.
this is the configuration i want to set
# show running-configuration route-map
!
route-map aspath_prepend permit 10
set as-path prepend 65535
# show route-map
route-map aspath_prepend, permit, sequence 10
Match clauses:
Set clauses:
as-path 65535
But that is not possible since there is no support for "set as-path prepend"