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

Add commandline flag to not delete the prefixlist first #60

Open
crami opened this issue Jun 30, 2022 · 1 comment
Open

Add commandline flag to not delete the prefixlist first #60

crami opened this issue Jun 30, 2022 · 1 comment

Comments

@crami
Copy link

crami commented Jun 30, 2022

I call bgpq4 twice once for normal filtering and one with -r 32 -R 32 for black holing, I use the same object name. It would be nice if on the second call i could suppress the "no ...."

Example:
bgpq4 -S $sources -A -4 -R {maxlen4} -l {name4} {object}
bgpq4 -S $sources -4 -r 32 -R 32 -l {name4} {object}

@job
Copy link
Member

job commented Jul 1, 2022

what about using fgrep?

bgpq4 .... -l {name4} | fgrep -v "no ip prefix-list {name4}"

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