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

Priority of community-prefs and as-prefs #198

Open
canoziia opened this issue Sep 23, 2023 · 0 comments
Open

Priority of community-prefs and as-prefs #198

canoziia opened this issue Sep 23, 2023 · 0 comments
Milestone

Comments

@canoziia
Copy link

I found that when I set both community-prefs and as-prefs in the same session, in the generated bird configuration file, the corresponding position of as-prefs is above community-prefs, like this:

if (6939 ~ bgp_path) then { bgp_local_pref = 150; }
if ((123456,0,200) ~ bgp_large_community) then { bgp_local_pref = 95; }

so community-prefs will overwrite some values in as-prefs.

Is this the original intention? I guess put as-prefs under community-prefs is better, but changing the order may let the old config work in the unexpected way.

@natesales natesales added this to the v7 milestone Oct 24, 2023
Dennis-de-Houx added a commit to as215956/pathvector that referenced this issue Apr 19, 2024
See issue "Priority of community-prefs and as-prefs natesales#198"
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