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

File config_J2300_2007-03-28.cfg, 3.0 KB (added by alladoum, 18 years ago)
Line 
1## Last commit: 2007-03-26 00:36:01 CEST by christophe
2version 8.2R1.7;
3system {
4    host-name GATEWAY1.ENT2;
5    time-zone Europe/Paris;
6    authentication-order password;
7    root-authentication {
8        encrypted-password "";
9    }
10    login {
11        user christophe {
12            full-name "Christophe Alladoum";
13            uid 2000;
14            class superuser;
15            authentication {
16                encrypted-password ".GkM1Fb4yY6aXpEqfiwM1";
17            }
18        }
19        user geraldine {
20            full-name geraldine;
21            uid 2001;
22            class superuser;
23            authentication {
24                encrypted-password ".Hh/LAhIry6ts/";
25            }
26        }
27    }
28    services {
29        telnet;
30        xnm-clear-text;
31        web-management {
32            http {
33                interface [ fe-0/0/0.0 fe-0/0/1.0 ];
34            }
35        }
36    }
37    syslog {
38        user * {
39            any emergency;
40        }
41        file messages {
42            any any;
43            authorization info;
44        }
45        file interactive-commands {
46            interactive-commands any;
47        }
48    }
49    ntp {
50        server 10.40.253.10;
51    }
52}
53interfaces {
54    fe-0/0/0 {
55        unit 0 {
56            family inet {
57                address 10.40.253.6/30;
58            }
59            family inet6;
60        }
61    }
62    fe-0/0/1 {
63        mtu 1500;
64        unit 0 {
65            family inet {
66                address 10.30.254.10/30;
67            }
68            family inet6;
69        }
70    }
71    lo0 {
72        unit 0 {
73            family inet {
74                address 127.0.0.1/32;
75            }
76        }
77    }
78}
79snmp {
80    name GATEWAY1.ENT2;
81    description "Gateway#1 d'access a AS65004";
82    location "LIP6 / salle 747";
83    contact Geraldine,Christophe;
84    engine-id {
85        local GATEWAY1.ENT2;
86    }
87    view jweb-view-all {
88        oid .1 include;
89    }
90    community entreprise2 {
91        view jweb-view-all;
92        authorization read-write;
93    }
94    community public {
95        authorization read-only;
96    }
97    health-monitor {
98        interval 300;
99    }
100}
101routing-options {
102    graceful-restart;
103    static {
104        route 10.40.0.0/16 discard;
105    }
106    router-id 10.40.253.6;
107    autonomous-system 65004;
108}
109protocols {
110    bgp {
111        group jweb-bgp {
112            type external;
113            local-address 10.30.254.10;
114            export dist-static;
115            peer-as 65003;
116            neighbor 10.30.254.9;
117        }
118    }
119    rip {
120        send multicast;
121        receive both;
122        update-interval 60;
123        group jweb-rip {
124            export [ jweb-policy-rip jweb-policy-direct ];
125            neighbor fe-0/0/0.0;
126        }
127        graceful-restart;
128    }
129}
130policy-options {
131    policy-statement dist-static {
132        from protocol static;
133        then accept;
134    }
135    policy-statement jweb-policy-direct {
136        from {
137            protocol direct;
138            interface fe-0/0/0.0;
139        }
140        then accept;
141    }
142    policy-statement jweb-policy-rip {
143        from protocol rip;
144        then accept;
145    }
146}