Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- ## Last commit: 2012-07-10 00:33:23 UTC by root
- version 10.4R4.5;
- groups {
- rsvp {
- logical-systems {
- <*> {
- protocols {
- rsvp {
- interface all;
- }
- }
- }
- }
- }
- }
- apply-groups rsvp;
- system {
- host-name P-network;
- services {
- ssh {
- root-login allow;
- }
- }
- syslog {
- user * {
- any emergency;
- }
- file messages {
- any notice;
- authorization info;
- }
- }
- }
- logical-systems {
- C1 {
- interfaces {
- ge-1/2/11 {
- unit 0 {
- family inet {
- address 172.16.0.6/30;
- }
- }
- }
- ge-1/3/0 {
- unit 0 {
- family inet {
- address 172.16.0.2/30;
- }
- }
- }
- lo0 {
- unit 11 {
- family inet {
- address 200.200.0.1/32;
- address 200.200.0.254/32;
- }
- }
- }
- }
- protocols {
- bgp {
- group pe {
- type external;
- export [ c1-lo0 c1-lo0-254 ];
- peer-as 65412;
- neighbor 172.16.0.5;
- }
- group ce {
- type external;
- multihop;
- local-address 200.200.0.1;
- export c1-lo0-254-custom-community;
- peer-as 65020;
- bfd-liveness-detection {
- minimum-interval 150;
- multiplier 3;
- session-mode multihop;
- }
- neighbor 220.220.0.1;
- }
- }
- }
- policy-options {
- policy-statement c1-lo0 {
- term lo0 {
- from {
- route-filter 200.200.0.1/32 exact;
- }
- then accept;
- }
- }
- policy-statement c1-lo0-254 {
- term lo0 {
- from {
- route-filter 200.200.0.254/32 exact;
- }
- then {
- community add no-export;
- accept;
- }
- }
- term else {
- then reject;
- }
- }
- policy-statement c1-lo0-254-custom-community {
- term lo0 {
- from {
- route-filter 200.200.0.254/32 exact;
- }
- then {
- community add DHANKS-custom;
- accept;
- }
- }
- term else {
- then reject;
- }
- }
- policy-statement null {
- then reject;
- }
- policy-statement r6 {
- term 1 {
- from {
- protocol static;
- route-filter 220.220.0.0/16 exact;
- }
- then accept;
- }
- }
- policy-statement stat {
- from protocol static;
- then accept;
- }
- community DHANKS-custom members 65010:666;
- community no-export members no-export;
- }
- routing-options {
- static {
- route 200.200.0.0/16 reject;
- }
- autonomous-system 65010 loops 2;
- }
- }
- C2 {
- interfaces {
- ge-1/2/9 {
- unit 0 {
- family inet {
- address 172.16.0.10/30;
- }
- }
- }
- lo0 {
- unit 12 {
- family inet {
- address 220.220.0.1/24;
- address 220.220.0.254/32;
- }
- }
- }
- }
- protocols {
- bgp {
- group pe {
- type external;
- export [ c2-lo0 c2-lo0-254 ];
- peer-as 65412;
- neighbor 172.16.0.9;
- }
- group ce {
- type external;
- traceoptions {
- file ce.log;
- flag bfd;
- }
- multihop;
- local-address 220.220.0.1;
- export c2-lo0-254;
- peer-as 65010;
- bfd-liveness-detection {
- minimum-interval 150;
- multiplier 3;
- session-mode multihop;
- }
- neighbor 200.200.0.1;
- }
- }
- }
- policy-options {
- policy-statement c2-lo0 {
- term lo0 {
- from {
- route-filter 220.220.0.1/32 exact;
- }
- then accept;
- }
- }
- policy-statement c2-lo0-254 {
- term lo0 {
- from {
- route-filter 220.220.0.254/32 exact;
- }
- then {
- community add no-export;
- accept;
- }
- }
- term else {
- then reject;
- }
- }
- policy-statement null {
- then reject;
- }
- policy-statement r6 {
- term 1 {
- from {
- protocol static;
- route-filter 220.220.0.0/16 exact;
- }
- then accept;
- }
- }
- policy-statement stat {
- from protocol static;
- then accept;
- }
- community no-export members no-export;
- }
- routing-options {
- autonomous-system 65020 loops 2;
- }
- }
- DC {
- interfaces {
- ge-1/2/3 {
- unit 0 {
- family inet {
- address 10.0.8.1/30;
- }
- family iso;
- }
- }
- ge-1/2/5 {
- unit 0 {
- family inet {
- address 10.0.8.13/30;
- }
- family iso;
- }
- }
- lo0 {
- unit 8 {
- family inet {
- address 192.168.0.1/32;
- }
- family iso {
- address 49.0002.1111.1111.1111.00;
- }
- }
- }
- }
- protocols {
- isis {
- export static;
- level 2 disable;
- interface all;
- }
- rip {
- group r6-r7 {
- export static;
- neighbor ge-1/2/3.0;
- neighbor ge-1/2/5.0;
- }
- }
- }
- policy-options {
- policy-statement static {
- term 1 {
- from {
- route-filter 192.168.0.0/22 upto /24;
- }
- then accept;
- }
- }
- }
- routing-options {
- static {
- route 192.168.0.0/24 discard;
- }
- }
- }
- P1 {
- interfaces {
- ge-1/0/2 {
- unit 0 {
- family inet {
- address 10.0.5.254/24;
- }
- family mpls;
- }
- }
- lo0 {
- unit 21 {
- family inet {
- address 120.120.0.1/24;
- }
- }
- }
- }
- protocols {
- bgp {
- group r1-r2 {
- type external;
- export r1-r2;
- peer-as 65412;
- neighbor 10.0.5.1;
- neighbor 10.0.5.2;
- }
- }
- }
- policy-options {
- policy-statement null {
- then reject;
- }
- policy-statement r1-r2 {
- term 1 {
- from {
- protocol static;
- route-filter 120.120.0.0/16 exact;
- }
- then accept;
- }
- }
- policy-statement static {
- term 1 {
- from protocol static;
- then accept;
- }
- term 2 {
- from {
- route-filter 120.120.0.0/16 orlonger reject;
- route-filter 200.200.0.0/16 orlonger reject;
- route-filter 220.220.0.0/16 orlonger reject;
- }
- }
- }
- }
- routing-options {
- static {
- route 120.120.0.0/16 discard;
- }
- autonomous-system 65050 loops 2;
- }
- }
- R1 {
- interfaces {
- ge-1/0/0 {
- unit 0 {
- family inet {
- address 10.0.5.1/24;
- }
- family iso;
- family mpls;
- }
- }
- ge-1/0/4 {
- unit 0 {
- family inet {
- address 10.0.4.5/30;
- }
- family iso;
- family mpls;
- }
- }
- ge-1/0/6 {
- unit 0 {
- family inet {
- address 10.0.4.18/30;
- }
- family iso;
- family mpls;
- }
- }
- ge-1/0/8 {
- unit 0 {
- family inet {
- address 10.0.4.14/30;
- }
- family iso;
- family mpls;
- }
- }
- lo0 {
- unit 1 {
- family inet {
- address 10.0.6.1/32;
- }
- family iso {
- address 49.0001.1111.1111.1111.00;
- }
- }
- }
- }
- protocols {
- mpls {
- interface all;
- }
- bgp {
- group int {
- type internal;
- local-address 10.0.6.1;
- neighbor 10.0.6.2;
- neighbor 10.0.3.3;
- neighbor 10.0.3.4;
- neighbor 10.0.3.5;
- neighbor 10.0.9.6;
- neighbor 10.0.9.7;
- }
- group p1 {
- type external;
- export ebgp-out;
- neighbor 10.0.5.254 {
- peer-as 65050;
- }
- }
- }
- isis {
- level 2 disable;
- interface ge-1/0/0.0 {
- passive;
- }
- interface ge-1/0/4.0;
- interface ge-1/0/6.0;
- interface ge-1/0/8.0;
- interface lo0.1;
- }
- }
- policy-options {
- policy-statement ebgp-out {
- term 1 {
- from {
- protocol aggregate;
- route-filter 10.0.0.0/16 exact;
- }
- then accept;
- }
- term 2 {
- from community transit;
- then reject;
- }
- }
- community transit members 65412:420;
- }
- routing-options {
- autonomous-system 65412;
- }
- }
- R2 {
- interfaces {
- ge-1/0/1 {
- unit 0 {
- family inet {
- address 10.0.5.2/24;
- }
- family iso;
- family mpls;
- }
- }
- ge-1/0/5 {
- unit 0 {
- family inet {
- address 10.0.4.6/30;
- }
- family iso;
- family mpls;
- }
- }
- ge-1/0/10 {
- unit 0 {
- family inet {
- address 10.0.4.2/30;
- }
- family iso;
- family mpls;
- }
- }
- ge-1/1/0 {
- unit 0 {
- family inet {
- address 10.0.4.10/30;
- }
- family iso;
- family mpls;
- }
- }
- lo0 {
- unit 2 {
- family inet {
- address 10.0.6.2/32;
- }
- family iso {
- address 49.0001.2222.2222.2222.00;
- }
- }
- }
- }
- protocols {
- mpls {
- interface all;
- }
- bgp {
- group int {
- type internal;
- local-address 10.0.6.2;
- neighbor 10.0.6.1;
- neighbor 10.0.3.3;
- neighbor 10.0.3.4;
- neighbor 10.0.3.5;
- neighbor 10.0.9.6;
- neighbor 10.0.9.7;
- }
- group p1 {
- type external;
- export ebgp-out;
- neighbor 10.0.5.254 {
- peer-as 65050;
- }
- }
- }
- isis {
- level 2 disable;
- interface ge-1/0/1.0 {
- passive;
- }
- interface ge-1/0/5.0;
- interface ge-1/0/10.0;
- interface ge-1/1/0.0;
- interface lo0.2;
- }
- }
- policy-options {
- policy-statement ebgp-out {
- term 1 {
- from {
- protocol aggregate;
- route-filter 10.0.0.0/16 exact;
- }
- then accept;
- }
- term 2 {
- from community transit;
- then reject;
- }
- }
- community transit members 65412:420;
- }
- routing-options {
- autonomous-system 65412;
- }
- }
- R3 {
- interfaces {
- ge-1/0/9 {
- unit 0 {
- family inet {
- address 10.0.4.13/30;
- }
- family iso;
- family mpls;
- }
- }
- ge-1/0/11 {
- unit 0 {
- family inet {
- address 10.0.4.1/30;
- }
- family iso;
- family mpls;
- }
- }
- ge-1/1/2 {
- unit 0 {
- family inet {
- address 10.0.2.5/30;
- }
- family iso;
- family mpls;
- }
- }
- ge-1/1/4 {
- unit 0 {
- family inet {
- address 10.0.2.2/30;
- }
- family iso;
- family mpls;
- }
- }
- ge-1/2/6 {
- unit 0 {
- family inet {
- address 172.16.0.13/30;
- }
- }
- }
- ge-1/3/2 {
- unit 0 {
- family inet {
- address 10.0.2.14/30;
- }
- family iso;
- family mpls;
- }
- }
- lo0 {
- unit 3 {
- family inet {
- address 10.0.3.3/32;
- }
- family iso {
- address 49.0001.3333.3333.3333.00;
- }
- }
- }
- }
- protocols {
- mpls {
- interface all;
- }
- bgp {
- advertise-inactive;
- group int {
- type internal;
- local-address 10.0.3.3;
- export nhs;
- neighbor 10.0.6.1 {
- export r1;
- }
- neighbor 10.0.6.2 {
- export r2;
- }
- neighbor 10.0.3.4;
- neighbor 10.0.3.5;
- neighbor 10.0.9.6;
- neighbor 10.0.9.7;
- }
- group ext {
- import ebgp-in;
- export ebgp-out;
- neighbor 172.16.0.14 {
- peer-as 65222;
- }
- }
- }
- isis {
- interface ge-1/0/9.0 {
- level 2 disable;
- }
- interface ge-1/0/11.0 {
- level 2 disable;
- }
- interface ge-1/1/2.0 {
- level 1 disable;
- }
- interface ge-1/1/4.0 {
- level 1 disable;
- }
- interface ge-1/3/2.0 {
- level 1 disable;
- }
- interface lo0.3 {
- level 1 disable;
- }
- }
- }
- policy-options {
- policy-statement ebgp-in {
- term 1 {
- from {
- protocol bgp;
- neighbor 172.16.0.14;
- }
- then {
- community add transit;
- }
- }
- }
- policy-statement ebgp-out {
- term 1 {
- from {
- protocol aggregate;
- route-filter 10.0.0.0/16 exact;
- }
- then accept;
- }
- }
- policy-statement nhs {
- term 1 {
- from {
- protocol bgp;
- neighbor 172.16.0.14;
- }
- then {
- next-hop self;
- }
- }
- }
- policy-statement r1 {
- term 1 {
- from {
- protocol aggregate;
- route-filter 10.0.0.0/16 exact;
- }
- then {
- next-hop 10.0.4.13;
- accept;
- }
- }
- term 2 {
- from {
- protocol bgp;
- neighbor 172.16.0.14;
- }
- then {
- next-hop self;
- }
- }
- }
- policy-statement r2 {
- term 1 {
- from {
- protocol aggregate;
- route-filter 10.0.0.0/16 exact;
- }
- then {
- next-hop 10.0.4.1;
- accept;
- }
- }
- term 2 {
- from {
- protocol bgp;
- neighbor 172.16.0.14;
- }
- then {
- next-hop self;
- }
- }
- }
- community transit members 65412:420;
- }
- routing-options {
- aggregate {
- route 10.0.0.0/16;
- }
- autonomous-system 65412;
- }
- firewall {
- family mpls {
- filter deny {
- term 1 {
- then discard;
- }
- }
- }
- }
- }
- R4 {
- interfaces {
- ge-1/0/7 {
- unit 0 {
- family inet {
- address 10.0.4.17/30;
- }
- family iso;
- family mpls;
- }
- }
- ge-1/1/1 {
- unit 0 {
- family inet {
- address 10.0.4.9/30;
- }
- family iso;
- family mpls;
- }
- }
- ge-1/1/3 {
- unit 0 {
- family inet {
- address 10.0.2.6/30;
- }
- family iso;
- family mpls;
- }
- }
- ge-1/1/6 {
- unit 0 {
- family inet {
- address 10.0.2.10/30;
- }
- family iso;
- family mpls;
- }
- }
- ge-1/2/0 {
- unit 0 {
- family inet {
- address 10.0.2.18/30;
- }
- family iso;
- family mpls;
- }
- }
- ge-1/2/10 {
- unit 0 {
- family inet {
- address 172.16.0.5/30;
- }
- }
- }
- lo0 {
- unit 4 {
- family inet {
- address 10.0.3.4/32;
- }
- family iso {
- address 49.0001.4444.4444.4444.00;
- }
- }
- }
- }
- protocols {
- mpls {
- label-switched-path r4-r6 {
- to 10.0.9.6;
- no-cspf;
- }
- label-switched-path r4-r7 {
- to 10.0.9.7;
- no-cspf;
- }
- interface all;
- }
- bgp {
- advertise-inactive;
- group int {
- type internal;
- local-address 10.0.3.4;
- export nhs;
- neighbor 10.0.6.1 {
- export r1;
- }
- neighbor 10.0.6.2 {
- export r2;
- }
- neighbor 10.0.3.3;
- neighbor 10.0.3.5;
- neighbor 10.0.9.6 {
- family inet {
- unicast;
- }
- family inet-vpn {
- unicast;
- }
- }
- neighbor 10.0.9.7 {
- family inet {
- unicast;
- }
- family inet-vpn {
- unicast;
- }
- }
- }
- }
- isis {
- interface ge-1/0/7.0 {
- level 2 disable;
- }
- interface ge-1/1/1.0 {
- level 2 disable;
- }
- interface ge-1/1/3.0 {
- level 1 disable;
- }
- interface ge-1/1/6.0 {
- level 1 disable;
- }
- interface ge-1/2/0.0 {
- level 1 disable;
- }
- interface lo0.4 {
- level 1 disable;
- }
- }
- }
- policy-options {
- policy-statement ebgp-out {
- term 1 {
- from {
- protocol aggregate;
- route-filter 10.0.0.0/16 exact;
- }
- then accept;
- }
- }
- policy-statement nhs {
- term 1 {
- from {
- protocol bgp;
- neighbor 172.16.0.6;
- }
- then {
- next-hop self;
- }
- }
- }
- policy-statement r1 {
- term 1 {
- from {
- protocol aggregate;
- route-filter 10.0.0.0/16 exact;
- }
- then {
- next-hop 10.0.4.17;
- accept;
- }
- }
- term 2 {
- from {
- protocol bgp;
- neighbor 172.16.0.6;
- }
- then {
- next-hop self;
- }
- }
- }
- policy-statement r2 {
- term 1 {
- from {
- protocol aggregate;
- route-filter 10.0.0.0/16 exact;
- }
- then {
- next-hop 10.0.4.9;
- accept;
- }
- }
- term 2 {
- from {
- protocol bgp;
- neighbor 172.16.0.6;
- }
- then {
- next-hop self;
- }
- }
- }
- }
- routing-instances {
- c1 {
- instance-type vrf;
- interface ge-1/2/10.0;
- vrf-target target:65412:420;
- protocols {
- bgp {
- group c1 {
- type external;
- peer-as 65010;
- neighbor 172.16.0.6;
- }
- }
- }
- }
- }
- routing-options {
- aggregate {
- route 10.0.0.0/16;
- }
- route-distinguisher-id 10.0.3.4;
- autonomous-system 65412;
- }
- }
- R5 {
- interfaces {
- ge-1/1/5 {
- unit 0 {
- family inet {
- address 10.0.2.1/30;
- }
- family iso;
- family mpls;
- }
- }
- ge-1/1/7 {
- unit 0 {
- family inet {
- address 10.0.2.9/30;
- }
- family iso;
- family mpls;
- }
- }
- ge-1/1/8 {
- unit 0 {
- family inet {
- address 10.0.8.6/30;
- }
- family iso;
- family mpls;
- }
- }
- ge-1/1/10 {
- unit 0 {
- family inet {
- address 10.0.8.9/30;
- }
- family iso;
- family mpls;
- }
- }
- lo0 {
- unit 5 {
- family inet {
- address 10.0.3.5/32;
- }
- family iso {
- address 49.0002.5555.5555.5555.00;
- }
- }
- }
- }
- protocols {
- mpls {
- interface all;
- }
- bgp {
- group int {
- type internal;
- local-address 10.0.3.5;
- neighbor 10.0.6.1;
- neighbor 10.0.6.2;
- neighbor 10.0.3.3;
- neighbor 10.0.3.4;
- neighbor 10.0.9.6;
- neighbor 10.0.9.7;
- }
- }
- isis {
- export l1-l2;
- interface ge-1/1/5.0 {
- level 1 passive;
- }
- interface ge-1/1/7.0 {
- level 1 passive;
- }
- interface ge-1/1/8.0 {
- level 2 disable;
- }
- interface ge-1/1/10.0 {
- level 2 disable;
- }
- interface lo0.5;
- }
- }
- policy-options {
- policy-statement l1-l2 {
- term 1 {
- from {
- protocol isis;
- level 1;
- route-filter 192.168.0.0/22 longer;
- }
- to level 2;
- then accept;
- }
- }
- }
- routing-options {
- autonomous-system 65412;
- }
- }
- R6 {
- interfaces {
- ge-1/1/9 {
- unit 0 {
- family inet {
- address 10.0.8.5/30;
- }
- family iso;
- family mpls;
- }
- }
- ge-1/2/2 {
- unit 0 {
- family inet {
- address 10.0.8.2/30;
- }
- family iso;
- }
- }
- ge-1/2/8 {
- unit 0 {
- family inet {
- address 172.16.0.9/30;
- }
- }
- }
- ge-1/3/3 {
- unit 0 {
- family inet {
- address 10.0.2.13/30;
- }
- family iso;
- family mpls;
- }
- }
- lo0 {
- unit 6 {
- family inet {
- address 10.0.9.6/32;
- }
- family iso {
- address 49.0002.6666.6666.6666.00;
- }
- }
- }
- }
- protocols {
- mpls {
- label-switched-path r6-r4 {
- to 10.0.3.4;
- no-cspf;
- }
- label-switched-path r6-r7 {
- to 10.0.9.7;
- no-cspf;
- }
- interface all;
- }
- bgp {
- group int {
- type internal;
- local-address 10.0.9.6;
- export nhs;
- neighbor 10.0.6.1;
- neighbor 10.0.6.2;
- neighbor 10.0.3.3;
- neighbor 10.0.3.4 {
- family inet {
- unicast;
- }
- family inet-vpn {
- unicast;
- }
- }
- neighbor 10.0.3.5;
- neighbor 10.0.9.7 {
- family inet {
- unicast;
- }
- family inet-vpn {
- unicast;
- }
- }
- }
- }
- isis {
- export rip-isis;
- interface ge-1/1/9.0 {
- level 2 disable;
- }
- interface ge-1/2/2.0 {
- level 2 disable;
- level 1 passive;
- }
- interface ge-1/3/3.0 {
- level 1 disable;
- }
- interface lo0.6;
- }
- rip {
- group dc {
- export static-rip;
- neighbor ge-1/2/2.0;
- }
- }
- }
- policy-options {
- policy-statement ebgp-out {
- term 1 {
- from {
- protocol aggregate;
- route-filter 10.0.0.0/16 exact;
- }
- then accept;
- }
- term 2 {
- from {
- route-filter 192.168.0.0/22 upto /24;
- }
- then accept;
- }
- }
- policy-statement ibgp {
- term 1 {
- from {
- protocol bgp;
- neighbor 172.16.0.10;
- }
- then {
- next-hop self;
- }
- }
- term 2 {
- from {
- route-filter 192.168.0.0/22 longer;
- }
- then accept;
- }
- }
- policy-statement isis-ospf {
- term 1 {
- from {
- protocol isis;
- route-filter 192.168.0.0/22 longer;
- }
- then accept;
- }
- }
- policy-statement nhs {
- term 1 {
- from {
- protocol bgp;
- neighbor 172.16.0.10;
- }
- then {
- next-hop self;
- }
- }
- term 2 {
- from {
- route-filter 192.168.0.0/22 longer;
- }
- then accept;
- }
- }
- policy-statement ospf-isis {
- term 1 {
- from {
- protocol ospf;
- route-filter 0.0.0.0/0 exact;
- }
- then accept;
- }
- }
- policy-statement rip-isis {
- term 1 {
- from {
- protocol rip;
- route-filter 192.168.0.0/22 longer;
- }
- then accept;
- }
- }
- policy-statement static-rip {
- term 1 {
- from {
- protocol static;
- route-filter 0.0.0.0/0 exact;
- }
- then accept;
- }
- }
- }
- routing-instances {
- c2 {
- instance-type vrf;
- interface ge-1/2/8.0;
- vrf-target target:65412:420;
- protocols {
- bgp {
- group c2 {
- type external;
- peer-as 65020;
- neighbor 172.16.0.10;
- }
- }
- }
- }
- }
- routing-options {
- static {
- route 0.0.0.0/0 reject;
- }
- aggregate {
- route 10.0.0.0/16;
- }
- route-distinguisher-id 10.0.9.6;
- autonomous-system 65412;
- }
- }
- R7 {
- interfaces {
- ge-1/1/11 {
- unit 0 {
- family inet {
- address 10.0.8.10/30;
- }
- family iso;
- family mpls;
- }
- }
- ge-1/2/1 {
- unit 0 {
- family inet {
- address 10.0.2.17/30;
- }
- family iso;
- family mpls;
- }
- }
- ge-1/2/4 {
- unit 0 {
- family inet {
- address 10.0.8.14/30;
- }
- family iso;
- }
- }
- ge-1/3/1 {
- unit 0 {
- family inet {
- address 172.16.0.1/30;
- }
- }
- }
- lo0 {
- unit 7 {
- family inet {
- address 10.0.9.7/32;
- }
- family iso {
- address 49.0002.7777.7777.7777.00;
- }
- }
- }
- }
- protocols {
- mpls {
- label-switched-path r7-r4 {
- to 10.0.3.4;
- no-cspf;
- }
- label-switched-path r7-r6 {
- to 10.0.9.6;
- no-cspf;
- }
- interface all;
- }
- bgp {
- group int {
- type internal;
- local-address 10.0.9.7;
- export nhs;
- neighbor 10.0.6.1;
- neighbor 10.0.6.2;
- neighbor 10.0.3.3;
- neighbor 10.0.3.4 {
- family inet {
- unicast;
- }
- family inet-vpn {
- unicast;
- }
- }
- neighbor 10.0.3.5;
- neighbor 10.0.9.6 {
- family inet {
- unicast;
- }
- family inet-vpn {
- unicast;
- }
- }
- }
- }
- isis {
- export rip-isis;
- interface ge-1/1/11.0 {
- level 2 disable;
- }
- interface ge-1/2/1.0 {
- level 1 disable;
- }
- interface ge-1/2/4.0 {
- level 2 disable;
- level 1 passive;
- }
- interface lo0.7;
- }
- rip {
- group dc {
- export static-rip;
- neighbor ge-1/2/4.0;
- }
- }
- }
- policy-options {
- policy-statement ebgp-out {
- term 1 {
- from {
- protocol aggregate;
- route-filter 10.0.0.0/16 exact;
- }
- then accept;
- }
- term 2 {
- from {
- route-filter 192.168.0.0/22 upto /24;
- }
- then accept;
- }
- }
- policy-statement isis-ospf {
- term 1 {
- from {
- protocol isis;
- route-filter 192.168.0.0/22 longer;
- }
- then accept;
- }
- }
- policy-statement nhs {
- term 1 {
- from {
- protocol bgp;
- neighbor 172.16.0.2;
- }
- then {
- next-hop self;
- }
- }
- term 2 {
- from {
- route-filter 192.168.0.0/22 longer;
- }
- then accept;
- }
- }
- policy-statement ospf-isis {
- term 1 {
- from {
- protocol ospf;
- route-filter 0.0.0.0/0 exact;
- }
- then accept;
- }
- }
- policy-statement rip-isis {
- term 1 {
- from {
- protocol rip;
- route-filter 192.168.0.0/22 longer;
- }
- then accept;
- }
- }
- policy-statement static-rip {
- term 1 {
- from {
- protocol static;
- route-filter 0.0.0.0/0 exact;
- }
- then accept;
- }
- }
- }
- routing-instances {
- c1 {
- instance-type vrf;
- interface ge-1/3/1.0;
- vrf-target target:65412:420;
- protocols {
- bgp {
- group c1 {
- type external;
- peer-as 65010;
- neighbor 172.16.0.2;
- }
- }
- }
- }
- }
- routing-options {
- aggregate {
- route 10.0.0.0/16;
- }
- route-distinguisher-id 10.0.9.7;
- autonomous-system 65412;
- }
- }
- T1 {
- interfaces {
- ge-1/2/7 {
- unit 0 {
- family inet {
- address 172.16.0.14/30;
- }
- }
- }
- lo0 {
- unit 31 {
- family inet {
- address 130.130.0.1/32;
- }
- }
- }
- }
- protocols {
- bgp {
- group test {
- type internal;
- cluster 130.130.1.1;
- neighbor 10.0.1.201 {
- export null;
- }
- }
- group ext {
- type external;
- export static;
- neighbor 172.16.0.13 {
- peer-as 65412;
- }
- }
- }
- }
- policy-options {
- policy-statement null {
- then reject;
- }
- policy-statement r1-r2 {
- term 1 {
- from {
- protocol static;
- route-filter 120.120.0.0/16 exact;
- }
- then accept;
- }
- }
- policy-statement static {
- term 1 {
- from protocol static;
- then accept;
- }
- term 2 {
- from {
- route-filter 120.120.0.0/16 orlonger reject;
- route-filter 200.200.0.0/16 orlonger reject;
- route-filter 220.220.0.0/16 orlonger reject;
- }
- }
- }
- }
- routing-options {
- static {
- route 130.130.0.0/16 discard;
- }
- autonomous-system 65222 loops 2;
- }
- }
- }
- interfaces {
- fxp0 {
- unit 0 {
- family inet {
- address 172.16.1.254/24;
- }
- }
- }
- }
- protocols {
- lldp {
- interface all;
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement