Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

as-path prepend not supported in os10_route_map #157

Open
ronnyaa opened this issue Dec 5, 2023 · 2 comments
Open

as-path prepend not supported in os10_route_map #157

ronnyaa opened this issue Dec 5, 2023 · 2 comments

Comments

@ronnyaa
Copy link

ronnyaa commented Dec 5, 2023

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"
@prasadapr
Copy link
Collaborator

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

@ronnyaa
Copy link
Author

ronnyaa commented Mar 1, 2024

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"

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants