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