Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

250



SRX1


Code Block
titleSRX1 as PE
collapsetrue
interfaces {
    ge-0/0/0 {
        unit 0 {
            family inet {
                address 172.16.60.23/16;
            }
        }
    }
    gr-0/0/0 {
        unit 0 {
            point-to-point;
            tunnel {
                source 172.16.60.23;
                destination 172.16.80.23;
            }
            family inet {
                sampling {
                    input;
                    output;
                }
                address 10.255.255.1/30;
            }
            family mpls;
        }
    }
    fe-0/0/2 {
        vlan-tagging;
        encapsulation vlan-ccc;
        unit 512 {
            encapsulation vlan-ccc;
            vlan-id 512;
        }
    }
    lo0 {
        unit 0 {
            family inet {
                address 10.73.73.60/32;
            }
        }
    }
}
protocols {
    rsvp {
        interface gr-0/0/0.0;
    }
    mpls {
        label-switched-path to-80 {
            to 10.73.73.80;
            no-cspf;
            primary via-gre-to-80;
        }
        path via-gre-to-80 {
            10.73.73.80 loose;
        }
        interface gr-0/0/0.0;
        interface lo0.0;
    }
    bgp {
        group ibgp {
            type internal;
            local-address 10.73.73.60;
            family l2vpn {
                signaling;
            }
            local-as 1;
            neighbor 10.73.73.80;
        }
    }
    ospf {
        export ospf-policy;
        area 0.0.0.0 {
            interface gr-0/0/0.0 {
                interface-type p2p;
            }
            interface lo0.0;
        }
    }
}
policy-options {
    policy-statement ospf-policy {
        term lo {
            from {
                route-filter 10.73.73.0/24 orlonger;
            }
            then accept;
        }
    }
}
security {
    inactive: zones {
        security-zone Internet {
            host-inbound-traffic {
                system-services {
                    all;
                }
                protocols {
                    all;
                }
            }
            interfaces {
                ge-0/0/0.0;
                gr-0/0/0.0;
            }
        }
    }
    forwarding-options {
        family {
            mpls {
                mode packet-based;
            }
        }
    }
}
routing-instances {
    customer-1 {
        instance-type l2vpn;
        interface fe-0/0/2.512;
        route-distinguisher 10.73.73.60:1;
        vrf-target target:65412:100;
        protocols {
            l2vpn {
                traceoptions {
                encapsulation-type ethernet-vlan;
                site DC2 {
                    site-identifier 1;
                    interface fe-0/0/2.512;
                }
            }
        }
    }
}


SRX2


View file
nameSRX_PE2.txt
height
Code Block
titleSRX2 PE
collapsetrue
interfaces {
    ge-0/0/0 {
        unit 0 {
            family inet {
                address 172.16.80.23/16;
            }
        }
    }
    gr-0/0/0 {
        unit 0 {
            point-to-point;
            tunnel {
                source 172.16.80.23;
                destination 172.16.60.23;
            }
            family inet {
                  address 10.255.255.2/30;
            }
            family mpls;
        }
    }
    fe-0/0/2 {
        vlan-tagging;
        mtu 1500;
        encapsulation vlan-ccc;
        unit 512 {
            encapsulation vlan-ccc;
            vlan-id 512;
        }
    }
    lo0 {
        unit 0 {
            family inet {
                address 10.73.73.80/32;
            }
        }
    }
}
protocols {
    rsvp {
        interface gr-0/0/0.0;
    }
    mpls {
        label-switched-path to-60 {
            to 10.73.73.60;
            no-cspf;
            primary via-gre-to-60;
        }
        path via-gre-to-60 {
            10.73.73.60 loose;
        }
        interface gr-0/0/0.0;
        interface lo0.0;
    }
    bgp {
        group ibgp {
            type internal;
            local-address 10.73.73.80;
            family l2vpn {
                signaling;
            }
            local-as 1;
            neighbor 10.73.73.60;
        }
    }
    ospf {
        export ospf-policy;
        area 0.0.0.0 {
            interface gr-0/0/0.0 {
                interface-type p2p;
            }
            interface lo0.0;
        }
    }
}
policy-options {
    policy-statement ospf-policy {
        term lo {
            from {
                route-filter 10.73.73.0/24 orlonger;
            }
            then accept;
        }
    }
}
security {
    forwarding-options {
        family {
            mpls {
                mode packet-based;
            }
        }
    }
}
routing-instances {
    customer-2 {
        instance-type l2vpn;
        interface fe-0/0/2.512;
        route-distinguisher 10.73.73.80:1;
        vrf-target target:65412:100;
        protocols {
            l2vpn {
                encapsulation-type ethernet-vlan;
                site DC1 {
                    site-identifier 2;
                    interface fe-0/0/2.512;
                }
             }
        }
    }
}