Skip to content

Instantly share code, notes, and snippets.

@NeilHanlon
Created September 23, 2019 18:28
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save NeilHanlon/4fb7064d7f72105913c8e8a4c1e21a8f to your computer and use it in GitHub Desktop.
Save NeilHanlon/4fb7064d7f72105913c8e8a4c1e21a8f to your computer and use it in GitHub Desktop.
term from-ospf {
from {
protocol ospf;
route-filter 10.0.0.0/8 orlonger;
}
then accept;
}
term from-ospf_accept-only-large-externals {
from {
protocol ospf;
route-filter 10.0.0.0/16 longer reject;
route-type external;
}
then accept;
}
term default {
then reject;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment