wiki:Realisations/2006-2007/Projet/Core2/J4350r3

Version 2 (modified by legoff, 18 years ago) (diff)

--

Groupe 3, Routeur Juniper 4350

Matériel : Routeur J-4350, pas d'extensions

Configuration

version 8.0R2.8;
system {
    host-name R3.core2;
    domain-name root;
    time-zone CET;
    root-authentication {
        encrypted-password "$1$t7ic3/JU$3mLLlSEVCxNFnDOUjdzuS."; ## SECRET-DATA
    }
    login {
        user florian {
            full-name "Florian Le Goff";
            uid 2000;
            class super-user;
            authentication {
                encrypted-password "$1$OJEYiBly$YcG/C6mKB7PePM0dwscUl."; ## SECRET-DATA
            }
        }
        user yjarma {
            full-name "Yesid Jarma";
            uid 2001;
            class super-user;
            authentication {
                encrypted-password "$1$nJsAoc9x$ysTjUUbg2zxOjBEgPedYb0"; ## SECRET-DATA
            }
        }
    }
    services {
        ssh;
        telnet;
        web-management {
            http {
                interface ge-0/0/3.0;
            }
        }
    }
    syslog {
        user * {
            any emergency;
        }
        file messages {
            any any;
            authorization info;
        }
        file interactive-commands {
            interactive-commands any;
        }
    }
    ntp {
        server 10.30.253.3;
    }
}
interfaces {
    ge-0/0/0 {      
        unit 0 {
            description toR1.Ent2link;
            family inet {
                address 10.30.254.9/30;
            }
            family inet6 {
                address 2001:db8:0:1002::1/64;
            }
        }
    }
    ge-0/0/1 {
        unit 0 {
            description toR1link;
            family inet {
                address 10.30.254.18/30;
            }
            family inet6 {
                address 2001:db8:0:2000::2/64;
            }
        }
    }
    ge-0/0/2 {
        unit 0 {
            description toR4link;
            family inet {
                address 10.30.254.25/30;
            }
            family inet6 {
                address 2001:db8:0:2002::1/64;
            }
        }
    }
    ge-0/0/3 {
        unit 0 {
            description adminVlan;
            family inet {
                address 10.30.253.12/24;
            }
            family inet6 {
                address 2001:db8:0:3000::3/64;
            }
        }
    }
    lo0 {
        unit 0 {
            family inet {
                address 127.0.0.1/32;
            }
        }
    }
}
snmp {              
    description R3;
    location "Baie AS3 / Salle 747 / LIP6";
    contact "AS3 Mainteners";
    community public {
        authorization read-only;
    }
}
routing-options {
    static {
        route 10.30.0.0/16 discard;
    }
    router-id 10.30.253.12;
    autonomous-system 65003;
}
protocols {
    bgp {
        group ent1-bgp {
            type external;
            export [ set-nexthop-self dist-static ];
            peer-as 65004;
            neighbor 10.30.254.10;
        }
        group internal-31 {
            type internal;
            export set-nexthop-self;
            neighbor 10.30.254.17;
        }
        group internal-34 {
            type internal;
            export set-nexthop-self;
            neighbor 10.30.254.26;
        }
        group internal-35 {
            type internal;
            export set-nexthop-self;
            neighbor 10.30.254.14;
        }
    }
    ospf {
        area 0.0.0.0 {
            interface ge-0/0/1.0;
        }
        area 2.2.2.2 {
            interface ge-0/0/2.0;
        }
        area 5.5.5.5 {
            interface ge-0/0/0.0 {
                passive;
            }
        }
    }
    ospf3 {         
        area 0.0.0.0 {
            interface ge-0/0/1.0;
        }
        area 2.2.2.2 {
            interface ge-0/0/2.0;
        }
        area 5.5.5.5 {
            interface ge-0/0/0.0 {
                passive;
            }
        }
    }
}
policy-options {
    policy-statement dist-static {
        from protocol static;
        then accept;
    }
    policy-statement set-nexthop-self {
        from protocol bgp;
        then {
            next-hop self;
        }
    }
}

Retour a la page du groupe : Groupe1Core2?