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

File config_J2300_2007-03-30.cfg, 3.2 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            family inet6;
59        }
60    }
61    fe-0/0/1 {
62        mtu 1500;
63        unit 0 {
64            family inet {
65                address 10.30.254.10/30;
66            }
67            family inet6 {
68                address 2001:db8:0:1002::2/64;
69            }
70        }
71    }
72    lo0 {
73        unit 0 {
74            family inet {
75                address 127.0.0.1/32;
76            }
77        }
78    }
79}
80snmp {
81    name GATEWAY1.ENT2;
82    description "Gateway#1 d'access a AS65004";
83    location "LIP6 / salle 747";
84    contact Geraldine,Christophe;
85    engine-id {
86        local GATEWAY1.ENT2;
87    }
88    view jweb-view-all {
89        oid .1 include;
90    }
91    community entreprise2 {
92        view jweb-view-all;
93        authorization read-write;
94    }
95    community public {
96        authorization read-only;
97    }
98    health-monitor {
99        interval 300;
100    }
101}
102routing-options {
103    graceful-restart;
104    static {
105        route 10.40.0.0/16 discard;
106    }
107    router-id 10.40.253.6;
108    autonomous-system 65004;
109}
110protocols {
111    bgp {
112        group jweb-bgp {
113            type external;
114            local-address 10.30.254.10;
115            export dist-static;
116            peer-as 65003;
117            neighbor 10.30.254.9;
118        }
119    }
120    rip {
121        send multicast;
122        receive both;
123        update-interval 60;
124        group jweb-rip {
125            export [ jweb-policy-rip jweb-policy-direct dist-bgp ];
126            neighbor fe-0/0/0.0;
127        }
128        graceful-restart;
129    }
130}
131policy-options {
132    policy-statement dist-bgp {
133        from protocol bgp;
134        then accept;
135    }
136    policy-statement dist-static {
137        from protocol static;
138        then accept;
139    }
140    policy-statement jweb-policy-direct {
141        from {
142            protocol direct;
143            interface fe-0/0/0.0;
144        }
145        then accept;
146    }
147    policy-statement jweb-policy-rip {
148        from protocol rip;
149        then accept;
150    }
151}