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

Version 7 (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 R4.core2;
    domain-name root;
    root-authentication {
        encrypted-password "$1$xceST8Jk$83wgCN2DIiG6jBDcrgl1h.";
    }
    login {
        user florian {
            full-name "Florian Le Goff";
            uid 2000;
            class super-user;
            authentication {
                encrypted-password "$1$i6vCpHQB$wzZ8o8eoyQ4yJCNQO1y1X/";
            }
        }
        user yjarma {
            full-name "Yesid Jarma";
            uid 2001;
            class super-user;
            authentication {
                encrypted-password "$1$XxDK7BZ9$rhVFToICSNU/MkyJOr3My0";
            }
        }
    }
    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 {
        description toR2viaSwitch;
        unit 0 {
            description toR3;
            family inet {
                address 10.30.254.22/30;
            }
            family inet6 {
                address 2001:db8:0:2002::2/64;
            }
        }
    }
    ge-0/0/1 {
        description toR3crossover;
        unit 0 {
            family inet {
                address 10.30.254.26/30;
            }
            family inet6 {
                address 2001:db8:0:2001::2/64;
            }
        }
    }
    ge-0/0/2 {
        description toAS4routeur2;
        unit 0 {
            family inet {
                address 10.30.254.29/30;
            }
            family inet6 {
                address 2001:db8:0:1003::1/64;
            }
        }
    }
    ge-0/0/3 {
        unit 0 {
            description vlanAdministration;
            family inet {
                address 10.30.253.13/24;
            }
            family inet6 {
                address 2001:db8:0:3000::4/64;
            }
        }
    }
    lo0 {
        unit 0 {
            family inet {
                address 127.0.0.1/32;
            }
        }
    }
}
snmp {
    description R4;
    location "Baie AS3 / Salle 747 / LIP6";
    contact "AS3 Mainteners";
    community public {
        authorization read-only;
    }
}
routing-options {
    rib inet6.0 {
        static {
            route 2001:db8:20::/64 next-hop 2001:db8:0:2001::3;
        }
    }
    static {
        route 10.70.0.0/16 next-hop 10.30.254.21;
    }
    router-id 10.30.253.13;
    autonomous-system 3;
}
protocols {
    router-advertisement {
        interface ge-0/0/0.0 {
            managed-configuration;
            prefix 2001:db8:0:1002::/64;
        }
    }
    mpls {
        interface ge-0/0/0.0;
        interface ge-0/0/1.0;
        interface ge-0/0/2.0;
    }
    bgp {
        local-as 65003;
        group external-AS65004 {
            type external;
            description backupG4;
            import filter-AS4;
            export [ set-nexthop-self dist-static ];
            neighbor 10.30.254.30 {
                peer-as 65004;
            }
        }
        group internal {
            type internal;
            export set-nexthop-self;
            neighbor 10.30.254.21;
            neighbor 10.30.254.25;
        }
    }
    ospf {
        area 2.2.2.2 {
            interface ge-0/0/0.0;
            interface ge-0/0/1.0;
            interface ge-0/0/2.0;
        }
        area 8.8.8.8 {
            interface ge-0/0/3.0 {
                passive;
            }
        }
    }
    ospf3 {
        area 2.2.2.2 {
            interface ge-0/0/0.0;
            interface ge-0/0/1.0;
            interface ge-0/0/2.0;
        }
        area 8.8.8.8 {
            interface ge-0/0/3.0 {
                passive;
            }
        }
        area 10.10.10.10 {
            interface lo0.1;
        }
    }
}
policy-options {
    policy-statement dist-static {
        from protocol static;
        then accept;
    }
    policy-statement filter-AS4 {
        term 1 {
            from {
                route-filter 10.40.0.0/16 orlonger accept;
            }
        }
        term 2 {
            from {
                route-filter 0.0.0.0/0 orlonger reject;
            }
        }
    }
    policy-statement set-nexthop-self {
        from protocol bgp;
        then {
            next-hop self;
        }
    }
}

Retour a la page du groupe : Groupe1Core2?