[Nocrancid] autopop-onenet.net router config diffs

rancid at rancid.noc.onenet.net rancid at rancid.noc.onenet.net
Mon Sep 4 14:04:56 CDT 2017


Index: configs/hub.osuokc.onenet.net
===================================================================
--- configs/hub.osuokc.onenet.net	(revision 156345)
+++ configs/hub.osuokc.onenet.net	(working copy)
@@ -26,6 +26,16 @@
 #       TFEB 0 TBB PFE Chip            OK        
 #       TFEB 0 TFEB PCIE TSen          OK        
 #       TFEB 0 TFEB PCIE Chip          OK        
+#       TFEB 0 QX 0 TSen               OK        
+#       TFEB 0 QX 0 Chip               OK        
+#       TFEB 0 LU 0 TSen               OK        
+#       TFEB 0 LU 0 Chip               OK        
+#       TFEB 0 MQ 0 TSen               OK        
+#       TFEB 0 MQ 0 Chip               OK        
+#       TFEB 0 TBB PFE TSen            OK        
+#       TFEB 0 TBB PFE Chip            OK        
+#       TFEB 0 TFEB PCIE TSen          OK        
+#       TFEB 0 TFEB PCIE Chip          OK        
 # Fans  Fan 1                          OK
 #       Fan 2                          OK
 #       Fan 3                          OK
Index: configs/core.owtcred.onenet.net
===================================================================
--- configs/core.owtcred.onenet.net	(revision 156345)
+++ configs/core.owtcred.onenet.net	(working copy)
@@ -275,9 +275,9 @@
 #pfe-0/0/0.16383 up up
 #pfh-0/0/0 up up
 #pfh-0/0/0.16383 up up
-#xe-0/0/0 up up
-#xe-0/0/0.42 up up
-#xe-0/0/0.32767 up up
+#xe-0/0/0 up down
+#xe-0/0/0.42 up down
+#xe-0/0/0.32767 up down
 #xe-0/0/1 up up
 #xe-0/0/1.42 up up
 #xe-0/0/1.32767 up up
Index: configs/acx.cai.cleet.onenet.net
===================================================================
--- configs/acx.cai.cleet.onenet.net	(revision 155338)
+++ configs/acx.cai.cleet.onenet.net	(working copy)
@@ -1,12 +1,12 @@
 # RANCID-CONTENT-TYPE: juniper
 #
 # grnoc-mon at CAI-CLEET-ACX2100> show system commit 
+#   2017-09-04 13:30:48 CDT by andrew via cli
 #   2017-07-30 12:49:06 CDT by andrew via cli
 #   2017-07-29 21:04:23 CDT by andrew via cli
 #   2017-07-26 19:37:53 CDT by andrew via cli
 #   2017-07-25 19:36:35 CDT by andrew via cli commit confirmed, rollback in 3mins
 #   2017-05-23 10:36:51 CDT by andrew via cli
-#   2017-03-03 18:35:32 CST by andrew via cli
 # grnoc-mon at CAI-CLEET-ACX2100> show chassis environment 
 # Class Item                           Status     Measurement
 #       PCB Left                       OK        
@@ -180,7 +180,7 @@
 # grnoc-mon at CAI-CLEET-ACX2100> show system uptime 
 # System booted: 2017-07-29 09:33 CDT 
 # Protocols started: 2017-07-29 09:35 CDT 
-# Last configured: 2017-07-30 12:49 CDT  by andrew
+# Last configured: 2017-09-04 13:30 CDT  by andrew
 # 
 # grnoc-mon at CAI-CLEET-ACX2100> show interface terse 
 #Interface Admin Link
@@ -244,7 +244,7 @@
 #pime up up
 #tap up up
 # grnoc-mon at CAI-CLEET-ACX2100> show configuration 
-## Last commit: 2017-07-30 12:49:06 CDT by andrew
+## Last commit: 2017-09-04 13:30:48 CDT by andrew
 version 12.3X54-D20.9;
 groups {
     ISIS-L2-INTERFACE {
@@ -764,6 +764,158 @@
             then accept;
         }
     }
+    policy-statement IBGP-CORE-RR-V4-EXPORT {
+        term UPSTREAM-AGGREGATES {
+            from {
+                protocol aggregate;
+                tag 5000;
+            }
+            then {
+                local-preference 200;
+                community add CAICLEET;
+                community add ONENET_ADV_UPSTREAM;
+                next-hop self;
+                accept;
+            }
+        }
+        term INTERAL-ONLY-AGGREGATES {
+            from protocol aggregate;
+            then {
+                local-preference 200;
+                community add CAICLEET;
+                next-hop self;
+                accept;
+            }
+        }
+        term UPSTREAM-STATICS {
+            from {
+                protocol static;
+                tag 5000;
+            }
+            then {
+                local-preference 200;
+                community add CAICLEET;
+                community add ONENET_ADV_UPSTREAM;
+                next-hop self;
+                accept;
+            }
+        }
+        term INTERNAL-ONLY-STATICS {
+            from protocol static;
+            then {
+                local-preference 200;
+                community add CAICLEET;
+                next-hop self;
+                accept;
+            }
+        }
+        term INTERNAL-ONLY-DIRECTS {
+            from protocol direct;
+            then {
+                local-preference 200;
+                community add CAICLEET;
+                next-hop self;
+                external {
+                    type 1;
+                }
+                accept;
+            }
+        }
+        term BLACKHOLE-BGP {
+            from {
+                protocol bgp;
+                community ONENET_BLACKHOLE;
+            }
+            then {
+                community add CAICLEET;
+                accept;
+            }
+        }
+        term REDISTRIBUTE-BGP {
+            from protocol bgp;
+            then {
+                community add CAICLEET;
+                next-hop self;
+                accept;
+            }
+        }
+    }
+    policy-statement IBGP-CORE-RR-V6-EXPORT {
+        term UPSTREAM-AGGREGATES {
+            from {
+                protocol aggregate;
+                tag 5000;
+            }
+            then {
+                local-preference 200;
+                community add CAICLEET;
+                community add ONENET_ADV_UPSTREAM;
+                next-hop self;
+                accept;
+            }
+        }
+        term INTERAL-ONLY-AGGREGATES {
+            from protocol aggregate;
+            then {
+                local-preference 200;
+                community add CAICLEET;
+                next-hop self;
+                accept;
+            }
+        }
+        term UPSTREAM-STATICS {
+            from {
+                protocol static;
+                tag 5000;
+            }
+            then {
+                local-preference 200;
+                community add CAICLEET;
+                community add ONENET_ADV_UPSTREAM;
+                next-hop self;
+                accept;
+            }
+        }
+        term INTERNAL-ONLY-STATICS {
+            from protocol static;
+            then {
+                local-preference 200;
+                community add CAICLEET;
+                next-hop self;
+                accept;
+            }
+        }
+        term INTERNAL-ONLY-DIRECTS {
+            from protocol direct;
+            then {
+                local-preference 200;
+                community add CAICLEET;
+                next-hop self;
+                external {
+                    type 1;
+                }
+                accept;
+            }
+        }
+        term BLACKHOLE-BGP {
+            from {
+                protocol bgp;
+                community ONENET_BLACKHOLE;
+            }
+            then {
+                community add CAICLEET;
+                accept;
+            }
+        }
+        term REDISTRIBUTE-BGP {
+            from protocol bgp;
+            then {
+                community add CAICLEET;
+                next-hop self;
+                accept;
+            }
+        }
+    }
     policy-statement LOAD-BALANCE {
         then {
             load-balance per-packet;
@@ -927,6 +1079,7 @@
     community OMES-MGMT-VPN members target:5078:2550;
     community OMES-VOIP-VPN members target:5078:2549;
     community ONENET-MGMT-VPN members target:5078:2543;
+    community ONENET_ADV_UPSTREAM members 5078:5000;
     community ONENET_BLACKHOLE members 5078:911;
 }
 firewall {
Index: configs/acx.cai.jef.onenet.net
===================================================================
--- configs/acx.cai.jef.onenet.net	(revision 155338)
+++ configs/acx.cai.jef.onenet.net	(working copy)
@@ -1,12 +1,12 @@
 # RANCID-CONTENT-TYPE: juniper
 #
 # grnoc-mon at CAI-JEF-ACX2100> show system commit 
+#   2017-09-04 13:25:01 CDT by andrew via cli
 #   2017-07-30 12:51:11 CDT by andrew via cli
 #   2017-07-29 21:04:40 CDT by andrew via cli
 #   2017-07-26 19:39:09 CDT by andrew via cli
 #   2017-07-25 19:38:30 CDT by andrew via cli
 #   2017-03-14 12:33:55 CDT by sky via cli
-#   2017-03-14 12:31:58 CDT by sky via cli
 # grnoc-mon at CAI-JEF-ACX2100> show chassis environment 
 # Class Item                           Status     Measurement
 #       PCB Left                       OK        
@@ -179,7 +179,7 @@
 # grnoc-mon at CAI-JEF-ACX2100> show system uptime 
 # System booted: 2017-02-22 13:45 CST 
 # Protocols started: 2017-02-22 13:47 CST 
-# Last configured: 2017-07-30 12:51 CDT  by andrew
+# Last configured: 2017-09-04 13:25 CDT  by andrew
 # 
 # grnoc-mon at CAI-JEF-ACX2100> show interface terse 
 #Interface Admin Link
@@ -239,7 +239,7 @@
 #pime up up
 #tap up up
 # grnoc-mon at CAI-JEF-ACX2100> show configuration 
-## Last commit: 2017-07-30 12:51:11 CDT by andrew
+## Last commit: 2017-09-04 13:25:01 CDT by andrew
 version 12.3X54-D20.9;
 groups {
     ISIS-L2-INTERFACE {
@@ -742,6 +742,158 @@
             then reject;
         }
     }
+    policy-statement IBGP-CORE-RR-V4-EXPORT {
+        term UPSTREAM-AGGREGATES {
+            from {
+                protocol aggregate;
+                tag 5000;
+            }
+            then {
+                local-preference 200;
+                community add CAIJEF;
+                community add ONENET_ADV_UPSTREAM;
+                next-hop self;
+                accept;
+            }
+        }
+        term INTERAL-ONLY-AGGREGATES {
+            from protocol aggregate;
+            then {
+                local-preference 200;
+                community add CAIJEF;
+                next-hop self;
+                accept;
+            }
+        }
+        term UPSTREAM-STATICS {
+            from {
+                protocol static;
+                tag 5000;
+            }
+            then {
+                local-preference 200;
+                community add CAIJEF;
+                community add ONENET_ADV_UPSTREAM;
+                next-hop self;
+                accept;
+            }
+        }
+        term INTERNAL-ONLY-STATICS {
+            from protocol static;
+            then {
+                local-preference 200;
+                community add CAIJEF;
+                next-hop self;
+                accept;
+            }
+        }
+        term INTERNAL-ONLY-DIRECTS {
+            from protocol direct;
+            then {
+                local-preference 200;
+                community add CAIJEF;
+                next-hop self;
+                external {
+                    type 1;
+                }
+                accept;
+            }
+        }
+        term BLACKHOLE-BGP {
+            from {
+                protocol bgp;
+                community ONENET_BLACKHOLE;
+            }
+            then {
+                community add CAIJEF;
+                accept;
+            }
+        }
+        term REDISTRIBUTE-BGP {
+            from protocol bgp;
+            then {
+                community add CAIJEF;
+                next-hop self;
+                accept;
+            }
+        }
+    }
+    policy-statement IBGP-CORE-RR-V6-EXPORT {
+        term UPSTREAM-AGGREGATES {
+            from {
+                protocol aggregate;
+                tag 5000;
+            }
+            then {
+                local-preference 200;
+                community add CAIJEF;
+                community add ONENET_ADV_UPSTREAM;
+                next-hop self;
+                accept;
+            }
+        }
+        term INTERAL-ONLY-AGGREGATES {
+            from protocol aggregate;
+            then {
+                local-preference 200;
+                community add CAIJEF;
+                next-hop self;
+                accept;
+            }
+        }
+        term UPSTREAM-STATICS {
+            from {
+                protocol static;
+                tag 5000;
+            }
+            then {
+                local-preference 200;
+                community add CAIJEF;
+                community add ONENET_ADV_UPSTREAM;
+                next-hop self;
+                accept;
+            }
+        }
+        term INTERNAL-ONLY-STATICS {
+            from protocol static;
+            then {
+                local-preference 200;
+                community add CAIJEF;
+                next-hop self;
+                accept;
+            }
+        }
+        term INTERNAL-ONLY-DIRECTS {
+            from protocol direct;
+            then {
+                local-preference 200;
+                community add CAIJEF;
+                next-hop self;
+                external {
+                    type 1;
+                }
+                accept;
+            }
+        }
+        term BLACKHOLE-BGP {
+            from {
+                protocol bgp;
+                community ONENET_BLACKHOLE;
+            }
+            then {
+                community add CAIJEF;
+                accept;
+            }
+        }
+        term REDISTRIBUTE-BGP {
+            from protocol bgp;
+            then {
+                community add CAIJEF;
+                next-hop self;
+                accept;
+            }
+        }
+    }
     policy-statement LOAD-BALANCE {
         then {
             load-balance per-packet;
@@ -865,6 +1017,7 @@
     community CAIJEF members 5078:16;
     community ONENET-MGMT-VPN members target:5078:2543;
     community ONENET-POP-APPLIANCES members target:5078:2012;
+    community ONENET_ADV_UPSTREAM members 5078:5000;
     community ONENET_BLACKHOLE members 5078:911;
 }
 firewall {
Index: configs/core.ponc.onenet.net
===================================================================
--- configs/core.ponc.onenet.net	(revision 156345)
+++ configs/core.ponc.onenet.net	(working copy)
@@ -26,6 +26,16 @@
 #       TFEB 0 TBB PFE Chip            OK        
 #       TFEB 0 TFEB PCIE TSen          OK        
 #       TFEB 0 TFEB PCIE Chip          OK        
+#       TFEB 0 QX 0 TSen               OK        
+#       TFEB 0 QX 0 Chip               OK        
+#       TFEB 0 LU 0 TSen               OK        
+#       TFEB 0 LU 0 Chip               OK        
+#       TFEB 0 MQ 0 TSen               OK        
+#       TFEB 0 MQ 0 Chip               OK        
+#       TFEB 0 TBB PFE TSen            OK        
+#       TFEB 0 TBB PFE Chip            OK        
+#       TFEB 0 TFEB PCIE TSen          OK        
+#       TFEB 0 TFEB PCIE Chip          OK        
 # Fans  Fan 1                          OK
 #       Fan 2                          OK
 #       Fan 3                          OK
Index: configs/acx.cai.law.onenet.net
===================================================================
--- configs/acx.cai.law.onenet.net	(revision 155338)
+++ configs/acx.cai.law.onenet.net	(working copy)
@@ -1,12 +1,12 @@
 # RANCID-CONTENT-TYPE: juniper
 #
 # grnoc-mon at LAWTON-INDIAN-HOSPITAL-ACX2100> show system commit 
+#   2017-09-04 13:27:50 CDT by andrew via cli
 #   2017-07-30 12:56:30 CDT by andrew via cli
 #   2017-07-29 21:04:46 CDT by andrew via cli
 #   2017-07-26 19:41:34 CDT by andrew via cli
 #   2017-07-25 19:39:03 CDT by andrew via cli
 #   2017-02-10 14:08:20 CST by admin via netconf
-#   2017-01-28 21:38:07 CST by andrew via cli
 # grnoc-mon at LAWTON-INDIAN-HOSPITAL-ACX2100> show chassis environment 
 # Class Item                           Status     Measurement
 #       PCB Left                       OK        
@@ -180,7 +180,7 @@
 # grnoc-mon at LAWTON-INDIAN-HOSPITAL-ACX2100> show system uptime 
 # System booted: 2017-01-03 14:09 CST 
 # Protocols started: 2017-01-03 14:11 CST 
-# Last configured: 2017-07-30 12:56 CDT  by andrew
+# Last configured: 2017-09-04 13:27 CDT  by andrew
 # 
 # grnoc-mon at LAWTON-INDIAN-HOSPITAL-ACX2100> show interface terse 
 #Interface Admin Link
@@ -234,7 +234,7 @@
 #pime up up
 #tap up up
 # grnoc-mon at LAWTON-INDIAN-HOSPITAL-ACX2100> show configuration 
-## Last commit: 2017-07-30 12:56:30 CDT by andrew
+## Last commit: 2017-09-04 13:27:50 CDT by andrew
 version 12.3X54-D20.9;
 groups {
     ISIS-L2-INTERFACE {
@@ -687,6 +687,158 @@
     }
 }
 policy-options {
+    policy-statement IBGP-CORE-RR-V4-EXPORT {
+        term UPSTREAM-AGGREGATES {
+            from {
+                protocol aggregate;
+                tag 5000;
+            }
+            then {
+                local-preference 200;
+                community add CAILAW;
+                community add ONENET_ADV_UPSTREAM;
+                next-hop self;
+                accept;
+            }
+        }
+        term INTERAL-ONLY-AGGREGATES {
+            from protocol aggregate;
+            then {
+                local-preference 200;
+                community add CAILAW;
+                next-hop self;
+                accept;
+            }
+        }
+        term UPSTREAM-STATICS {
+            from {
+                protocol static;
+                tag 5000;
+            }
+            then {
+                local-preference 200;
+                community add CAILAW;
+                community add ONENET_ADV_UPSTREAM;
+                next-hop self;
+                accept;
+            }
+        }
+        term INTERNAL-ONLY-STATICS {
+            from protocol static;
+            then {
+                local-preference 200;
+                community add CAILAW;
+                next-hop self;
+                accept;
+            }
+        }
+        term INTERNAL-ONLY-DIRECTS {
+            from protocol direct;
+            then {
+                local-preference 200;
+                community add CAILAW;
+                next-hop self;
+                external {
+                    type 1;
+                }
+                accept;
+            }
+        }
+        term BLACKHOLE-BGP {
+            from {
+                protocol bgp;
+                community ONENET_BLACKHOLE;
+            }
+            then {
+                community add CAILAW;
+                accept;
+            }
+        }
+        term REDISTRIBUTE-BGP {
+            from protocol bgp;
+            then {
+                community add CAILAW;
+                next-hop self;
+                accept;
+            }
+        }
+    }
+    policy-statement IBGP-CORE-RR-V6-EXPORT {
+        term UPSTREAM-AGGREGATES {
+            from {
+                protocol aggregate;
+                tag 5000;
+            }
+            then {
+                local-preference 200;
+                community add CAILAW;
+                community add ONENET_ADV_UPSTREAM;
+                next-hop self;
+                accept;
+            }
+        }
+        term INTERAL-ONLY-AGGREGATES {
+            from protocol aggregate;
+            then {
+                local-preference 200;
+                community add CAILAW;
+                next-hop self;
+                accept;
+            }
+        }
+        term UPSTREAM-STATICS {
+            from {
+                protocol static;
+                tag 5000;
+            }
+            then {
+                local-preference 200;
+                community add CAILAW;
+                community add ONENET_ADV_UPSTREAM;
+                next-hop self;
+                accept;
+            }
+        }
+        term INTERNAL-ONLY-STATICS {
+            from protocol static;
+            then {
+                local-preference 200;
+                community add CAILAW;
+                next-hop self;
+                accept;
+            }
+        }
+        term INTERNAL-ONLY-DIRECTS {
+            from protocol direct;
+            then {
+                local-preference 200;
+                community add CAILAW;
+                next-hop self;
+                external {
+                    type 1;
+                }
+                accept;
+            }
+        }
+        term BLACKHOLE-BGP {
+            from {
+                protocol bgp;
+                community ONENET_BLACKHOLE;
+            }
+            then {
+                community add CAILAW;
+                accept;
+            }
+        }
+        term REDISTRIBUTE-BGP {
+            from protocol bgp;
+            then {
+                community add CAILAW;
+                next-hop self;
+                accept;
+            }
+        }
+    }
     policy-statement LOAD-BALANCE {
         then {
             load-balance per-packet;
@@ -714,6 +866,8 @@
         }
     }
     community CAILAW members 5078:17;
+    community ONENET_ADV_UPSTREAM members 5078:5000;
+    community ONENET_BLACKHOLE members 5078:911;
 }
 firewall {
     family inet {
Index: configs/acx.cai.dun.onenet.net
===================================================================
--- configs/acx.cai.dun.onenet.net	(revision 155338)
+++ configs/acx.cai.dun.onenet.net	(working copy)
@@ -1,12 +1,12 @@
 # RANCID-CONTENT-TYPE: juniper
 #
 # grnoc-mon at DUNCAN-PUBLIC-LIB-ACX2100> show system commit 
+#   2017-09-04 13:24:45 CDT by andrew via cli
 #   2017-07-30 12:57:27 CDT by andrew via cli
 #   2017-07-29 21:04:34 CDT by andrew via cli
 #   2017-07-26 19:38:16 CDT by andrew via cli
 #   2017-07-25 19:37:56 CDT by andrew via cli
 #   2017-02-10 14:08:20 CST by admin via netconf
-#   2017-01-28 21:31:19 CST by andrew via cli
 # grnoc-mon at DUNCAN-PUBLIC-LIB-ACX2100> show chassis environment 
 # Class Item                           Status     Measurement
 #       PCB Left                       OK        
@@ -181,7 +181,7 @@
 # grnoc-mon at DUNCAN-PUBLIC-LIB-ACX2100> show system uptime 
 # System booted: 2016-06-22 16:57 CDT 
 # Protocols started: 2016-06-22 16:59 CDT 
-# Last configured: 2017-07-30 12:57 CDT  by andrew
+# Last configured: 2017-09-04 13:24 CDT  by andrew
 # 
 # grnoc-mon at DUNCAN-PUBLIC-LIB-ACX2100> show interface terse 
 #Interface Admin Link
@@ -236,7 +236,7 @@
 #pime up up
 #tap up up
 # grnoc-mon at DUNCAN-PUBLIC-LIB-ACX2100> show configuration 
-## Last commit: 2017-07-30 12:57:27 CDT by andrew
+## Last commit: 2017-09-04 13:24:45 CDT by andrew
 version 12.3X54-D20.9;
 groups {
     ISIS-L2-INTERFACE {
@@ -716,6 +716,158 @@
     }
 }
 policy-options {
+    policy-statement IBGP-CORE-RR-V4-EXPORT {
+        term UPSTREAM-AGGREGATES {
+            from {
+                protocol aggregate;
+                tag 5000;
+            }
+            then {
+                local-preference 200;
+                community add CAIDUN;
+                community add ONENET_ADV_UPSTREAM;
+                next-hop self;
+                accept;
+            }
+        }
+        term INTERAL-ONLY-AGGREGATES {
+            from protocol aggregate;
+            then {
+                local-preference 200;
+                community add CAIDUN;
+                next-hop self;
+                accept;
+            }
+        }
+        term UPSTREAM-STATICS {
+            from {
+                protocol static;
+                tag 5000;
+            }
+            then {
+                local-preference 200;
+                community add CAIDUN;
+                community add ONENET_ADV_UPSTREAM;
+                next-hop self;
+                accept;
+            }
+        }
+        term INTERNAL-ONLY-STATICS {
+            from protocol static;
+            then {
+                local-preference 200;
+                community add CAIDUN;
+                next-hop self;
+                accept;
+            }
+        }
+        term INTERNAL-ONLY-DIRECTS {
+            from protocol direct;
+            then {
+                local-preference 200;
+                community add CAIDUN;
+                next-hop self;
+                external {
+                    type 1;
+                }
+                accept;
+            }
+        }
+        term BLACKHOLE-BGP {
+            from {
+                protocol bgp;
+                community ONENET_BLACKHOLE;
+            }
+            then {
+                community add CAIDUN;
+                accept;
+            }
+        }
+        term REDISTRIBUTE-BGP {
+            from protocol bgp;
+            then {
+                community add CAIDUN;
+                next-hop self;
+                accept;
+            }
+        }
+    }
+    policy-statement IBGP-CORE-RR-V6-EXPORT {
+        term UPSTREAM-AGGREGATES {
+            from {
+                protocol aggregate;
+                tag 5000;
+            }
+            then {
+                local-preference 200;
+                community add CAIDUN;
+                community add ONENET_ADV_UPSTREAM;
+                next-hop self;
+                accept;
+            }
+        }
+        term INTERAL-ONLY-AGGREGATES {
+            from protocol aggregate;
+            then {
+                local-preference 200;
+                community add CAIDUN;
+                next-hop self;
+                accept;
+            }
+        }
+        term UPSTREAM-STATICS {
+            from {
+                protocol static;
+                tag 5000;
+            }
+            then {
+                local-preference 200;
+                community add CAIDUN;
+                community add ONENET_ADV_UPSTREAM;
+                next-hop self;
+                accept;
+            }
+        }
+        term INTERNAL-ONLY-STATICS {
+            from protocol static;
+            then {
+                local-preference 200;
+                community add CAIDUN;
+                next-hop self;
+                accept;
+            }
+        }
+        term INTERNAL-ONLY-DIRECTS {
+            from protocol direct;
+            then {
+                local-preference 200;
+                community add CAIDUN;
+                next-hop self;
+                external {
+                    type 1;
+                }
+                accept;
+            }
+        }
+        term BLACKHOLE-BGP {
+            from {
+                protocol bgp;
+                community ONENET_BLACKHOLE;
+            }
+            then {
+                community add CAIDUN;
+                accept;
+            }
+        }
+        term REDISTRIBUTE-BGP {
+            from protocol bgp;
+            then {
+                community add CAIDUN;
+                next-hop self;
+                accept;
+            }
+        }
+    }
     policy-statement LOAD-BALANCE {
         then {
             load-balance per-packet;
@@ -743,6 +895,8 @@
         }
     }
     community CAIDUN members 5078:12;
+    community ONENET_ADV_UPSTREAM members 5078:5000;
+    community ONENET_BLACKHOLE members 5078:911;
 }
 firewall {
     family inet {



More information about the Nocrancid mailing list