dellemc.os10 icon indicating copy to clipboard operation
dellemc.os10 copied to clipboard

as-path prepend not supported in os10_route_map

Open ronnyaa opened this issue 2 years ago • 2 comments

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"

ronnyaa avatar Dec 05 '23 17:12 ronnyaa

Hi @ronnyaa, Pls can you share what error you are facing.

prasadapr avatar Feb 14 '24 17:02 prasadapr

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"

ronnyaa avatar Mar 01 '24 23:03 ronnyaa