Public paste
jnpr
By: thevoke | Date: Aug 8 2007 12:46 | Format: None | Expires: never | Size: 699 B | Hits: 1211

  1. mvanopst@bb1.ams3.nl# show policy-options policy-statement amsix-out
  2. term bgp {
  3.     from {
  4.         community [ as-realroute partial-customer ];
  5.         route-filter 0.0.0.0/0 upto /24;
  6.     }
  7. }
  8. term prepend-1 {
  9.     from community amsix-prepend-1;
  10.     then {
  11.         as-path-prepend 9009;
  12.         next policy;
  13.         accept;
  14.     }
  15. }
  16. term prepend-2 {
  17.     from community amsix-prepend-2;
  18.     then {
  19.         as-path-prepend "9009 9009";
  20.         next policy;
  21.         accept;
  22.     }
  23. }
  24. term prepend-3 {
  25.     from community amsix-prepend-3;
  26.     then {
  27.         as-path-prepend "9009 9009 9009";
  28.         next policy;
  29.         accept;
  30.     }
  31. }
  32. term default {
  33.     then reject;
  34. }
  35.  
  36.