Advertisement
Guest User

Untitled

a guest
Apr 8th, 2020
53
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.42 KB | None | 0 0
  1. function bgp_out(int peerID)
  2. {
  3.  
  4. if (XXX,peerID) ~ bgp_community then return false;
  5. if (XXX,0) ~ bgp_community then return false;
  6. return true;
  7. }
  8.  
  9. ipv4 table X;
  10.  
  11. protocol pipe PX {
  12. table master;
  13. peer table X;
  14. import all;
  15. export where bgp_out(X);
  16. }
  17.  
  18. protocol bgp RX {
  19. local as myas;
  20. neighbor X.X.X.X as X;
  21. ipv4 {
  22. import all;
  23. export all;
  24. table X;
  25. };
  26. rs client;
  27. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement