Realisations/2006-2007/Projet/Entreprise2/Gateway1: config_J2300_2007-03-24.cfg

File config_J2300_2007-03-24.cfg, 2.5 KB (added by alladoum, 18 years ago)
Line 
1version 8.2R1.7;
2system {
3    host-name GATEWAY1.ENT2;
4    time-zone Europe/Paris;
5    authentication-order password;
6    root-authentication {
7        encrypted-password "$1$mpjpYTO7$AneeTD3Y53iMvBEF8DtXm0";
8    }
9    login {
10        user christophe {
11            full-name "Christophe Alladoum";
12            uid 2000;
13            class superuser;
14            authentication {
15                encrypted-password "$1$KtffD0YJ$V.GkM1Fb4yY6aXpEqfiwM1";
16            }
17        }
18        user geraldine {
19            full-name geraldine;
20            uid 2001;
21            class superuser;
22            authentication {
23                encrypted-password "$1$I0Qvv.Hh$yGobHKyj2rM/LAhIry6ts/";
24            }
25        }
26    }
27    services {
28        telnet;
29        xnm-clear-text;
30        web-management {
31            http {
32                interface [ fe-0/0/0.0 fe-0/0/1.0 ];
33            }
34        }
35    }
36    syslog {
37        user * {
38            any emergency;
39        }
40        file messages {
41            any any;
42            authorization info;
43        }
44        file interactive-commands {
45            interactive-commands any;
46        }
47    }
48    ntp {
49        server 10.40.253.10;
50    }
51}
52interfaces {
53    fe-0/0/0 {
54        unit 0 {
55            family inet {
56                address 10.40.253.6/30;
57            }
58        }
59    }
60    fe-0/0/1 {
61        mtu 1500;
62        unit 0 {
63            family inet {
64                address 10.30.254.10/30;
65            }
66        }
67    }
68    lo0 {
69        unit 0 {
70            family inet {
71                address 127.0.0.1/32;
72            }
73        }
74    }
75}
76routing-options {
77    graceful-restart;
78    static {
79        route 10.40.0.0/16 discard;
80    }
81    router-id 10.40.253.6;
82    autonomous-system 65004;
83}
84protocols {
85    bgp {
86        group jweb-bgp {
87            type external;
88            local-address 10.30.254.10;
89            export dist-static;
90            peer-as 65003;
91            neighbor 10.30.254.9;
92        }
93    }
94    rip {
95        send multicast;
96        receive both;
97        update-interval 60;
98        group jweb-rip {
99            export [ jweb-policy-rip jweb-policy-direct ];
100            neighbor fe-0/0/0.0;
101        }
102        graceful-restart;
103    }
104}
105policy-options {
106    policy-statement dist-static {
107        from protocol static;
108        then accept;
109    }
110    policy-statement jweb-policy-direct {
111        from {
112            protocol direct;
113            interface fe-0/0/0.0;
114        }
115        then accept;
116    }
117    policy-statement jweb-policy-rip {
118        from protocol rip;
119        then accept;
120    }
121}