Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- function bgp_out(int peerID)
- {
- if (XXX,peerID) ~ bgp_community then return false;
- if (XXX,0) ~ bgp_community then return false;
- return true;
- }
- ipv4 table X;
- protocol pipe PX {
- table master;
- peer table X;
- import all;
- export where bgp_out(X);
- }
- protocol bgp RX {
- local as myas;
- neighbor X.X.X.X as X;
- ipv4 {
- import all;
- export all;
- table X;
- };
- rs client;
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement