· 8 years ago · Oct 18, 2016, 02:22 PM
1S2#show vlan brief
2
3VLAN Name Status Ports
4---- -------------------------------- --------- -------------------------------
51 default active Fa0/2, Fa0/3, Fa0/4, Fa0/5
6 Fa0/6, Fa0/7, Fa0/8, Fa0/9
7 Fa0/10, Fa0/12, Fa0/13, Fa0/14
8 Fa0/15, Fa0/16, Fa0/17, Fa0/19
9 Fa0/20, Fa0/21, Fa0/22, Fa0/23
10 Fa0/24, Gi0/1, Gi0/2
1110 Student active
1220 Faculty-Admin active Fa0/11, Fa0/18
131002 fddi-default act/unsup
141003 token-ring-default act/unsup
151004 fddinet-default act/unsup
161005 trnet-default act/unsup
17
18-------------------------------------------
19
20Building configuration...
21
22Current configuration : 1712 bytes
23!
24! Last configuration change at 00:22:22 UTC Mon Mar 1 1993
25!
26version 15.0
27no service pad
28service timestamps debug datetime msec
29service timestamps log datetime msec
30no service password-encryption
31!
32hostname S2
33!
34boot-start-marker
35boot-end-marker
36!
37enable secret 5 $1$uKFz$GGgDxCoQ1WW17gHCuTXHy0
38!
39no aaa new-model
40system mtu routing 1500
41!
42!
43no ip domain-lookup
44!
45!
46!
47!
48!
49!
50!
51!
52spanning-tree mode pvst
53spanning-tree extend system-id
54!
55vlan internal allocation policy ascending
56!
57!
58!
59!
60!
61!
62interface FastEthernet0/1
63 switchport mode trunk
64!
65interface FastEthernet0/2
66!
67interface FastEthernet0/3
68!
69interface FastEthernet0/4
70!
71interface FastEthernet0/5
72!
73interface FastEthernet0/6
74!
75interface FastEthernet0/7
76!
77interface FastEthernet0/8
78!
79interface FastEthernet0/9
80!
81interface FastEthernet0/10
82!
83interface FastEthernet0/11
84 switchport access vlan 20
85 switchport mode access
86!
87interface FastEthernet0/12
88!
89interface FastEthernet0/13
90!
91interface FastEthernet0/14
92!
93interface FastEthernet0/15
94!
95interface FastEthernet0/16
96!
97interface FastEthernet0/17
98!
99interface FastEthernet0/18
100 switchport access vlan 20
101 switchport mode access
102!
103interface FastEthernet0/19
104!
105interface FastEthernet0/20
106!
107interface FastEthernet0/21
108!
109interface FastEthernet0/22
110!
111interface FastEthernet0/23
112!
113interface FastEthernet0/24
114!
115interface GigabitEthernet0/1
116!
117interface GigabitEthernet0/2
118!
119interface Vlan1
120 no ip address
121!
122interface Vlan10
123 ip address 192.168.10.12 255.255.255.0
124!
125ip default-gateway 192.168.10.1
126ip http server
127ip http secure-server
128!
129banner motd ^C
130Gr. nr 6, Wt. 14:15, 18.10.2016^C
131!
132line con 0
133 password cisco
134 logging synchronous
135 login
136line vty 0 4
137 password cisco
138 login
139line vty 5 15
140 password cisco
141 login
142!
143end
144
145---------------------------------------------------
146
147S2#show vlan brief
148
149VLAN Name Status Ports
150---- -------------------------------- --------- -------------------------------
1511 default active Fa0/2, Fa0/3, Fa0/4, Fa0/5
152 Fa0/6, Fa0/7, Fa0/8, Fa0/9
153 Fa0/10, Fa0/11, Fa0/12, Fa0/13
154 Fa0/14, Fa0/15, Fa0/16, Fa0/17
155 Fa0/19, Fa0/20, Fa0/21, Fa0/22
156 Fa0/23, Fa0/24, Gi0/1, Gi0/2
15710 Students active
15820 Faculty active Fa0/18
1591002 fddi-default act/unsup
1601003 token-ring-default act/unsup
1611004 fddinet-default act/unsup
1621005 trnet-default act/unsup
163
164
165------------------------------------------------------------
166
167S2#show running-config
168Building configuration...
169
170Current configuration : 1844 bytes
171!
172! Last configuration change at 00:39:45 UTC Mon Mar 1 1993
173!
174version 15.0
175no service pad
176service timestamps debug datetime msec
177service timestamps log datetime msec
178no service password-encryption
179!
180hostname S2
181!
182boot-start-marker
183boot-end-marker
184!
185enable secret 5 $1$s.dT$5nP2nbLGGXU5I5AhVSHaT/
186!
187no aaa new-model
188system mtu routing 1500
189!
190!
191no ip domain-lookup
192!
193!
194!
195!
196!
197!
198!
199!
200spanning-tree mode pvst
201spanning-tree extend system-id
202!
203vlan internal allocation policy ascending
204!
205!
206!
207!
208!
209!
210interface FastEthernet0/1
211 switchport mode trunk
212!
213interface FastEthernet0/2
214 shutdown
215!
216interface FastEthernet0/3
217 shutdown
218!
219interface FastEthernet0/4
220 shutdown
221!
222interface FastEthernet0/5
223 shutdown
224!
225interface FastEthernet0/6
226 shutdown
227!
228interface FastEthernet0/7
229 shutdown
230!
231interface FastEthernet0/8
232 shutdown
233!
234interface FastEthernet0/9
235 shutdown
236!
237interface FastEthernet0/10
238 shutdown
239!
240interface FastEthernet0/11
241 shutdown
242!
243interface FastEthernet0/12
244 shutdown
245!
246interface FastEthernet0/13
247 shutdown
248!
249interface FastEthernet0/14
250 shutdown
251!
252interface FastEthernet0/15
253 shutdown
254!
255interface FastEthernet0/16
256 shutdown
257!
258interface FastEthernet0/17
259 shutdown
260!
261interface FastEthernet0/18
262 switchport access vlan 20
263 switchport mode access
264!
265interface FastEthernet0/19
266 shutdown
267!
268interface FastEthernet0/20
269 shutdown
270!
271interface FastEthernet0/21
272 shutdown
273!
274interface FastEthernet0/22
275 shutdown
276!
277interface FastEthernet0/23
278 shutdown
279!
280interface FastEthernet0/24
281 shutdown
282!
283interface GigabitEthernet0/1
284 shutdown
285!
286interface GigabitEthernet0/2
287 shutdown
288!
289interface Vlan1
290 ip address 192.168.1.12 255.255.255.0
291!
292ip default-gateway 192.168.1.1
293ip http server
294ip http secure-server
295!
296banner motd ^C
297Gr. nr 6, Wt. 14:15, 18.10.2016^C
298!
299line con 0
300 password cisco
301 login
302line vty 0 4
303 password cisco
304 login
305line vty 5 15
306 password cisco
307 login
308!
309end
310
311
312--------------------------------------------------------------------------
313
314
315S2#show vlan brief
316
317VLAN Name Status Ports
318---- -------------------------------- --------- -------------------------------
3191 default active Fa0/2, Fa0/3, Fa0/4, Fa0/5
320 Fa0/6, Fa0/7, Fa0/8, Fa0/9
321 Fa0/10, Fa0/11, Fa0/12, Fa0/13
322 Fa0/14, Fa0/15, Fa0/16, Fa0/17
323 Fa0/19, Fa0/20, Fa0/21, Fa0/22
324 Fa0/23, Fa0/24, Gi0/1, Gi0/2
32510 R&D active
32620 Engineering active Fa0/18
3271002 fddi-default act/unsup
3281003 token-ring-default act/unsup
3291004 fddinet-default act/unsup
3301005 trnet-default act/unsup
331
332
333-------------------------------------------------------
334
335S2#show running-config
336Building configuration...
337
338Current configuration : 1649 bytes
339!
340! Last configuration change at 00:48:44 UTC Mon Mar 1 1993
341!
342version 15.0
343no service pad
344service timestamps debug datetime msec
345service timestamps log datetime msec
346no service password-encryption
347!
348hostname S2
349!
350boot-start-marker
351boot-end-marker
352!
353enable secret 5 $1$MjOC$W6WxbmSc6EFOhEiyAn7Xf1
354!
355no aaa new-model
356system mtu routing 1500
357!
358!
359no ip domain-lookup
360!
361!
362!
363!
364!
365!
366!
367!
368spanning-tree mode pvst
369spanning-tree extend system-id
370!
371vlan internal allocation policy ascending
372!
373!
374!
375!
376!
377!
378interface FastEthernet0/1
379 switchport mode trunk
380 switchport nonegotiate
381!
382interface FastEthernet0/2
383!
384interface FastEthernet0/3
385!
386interface FastEthernet0/4
387!
388interface FastEthernet0/5
389!
390interface FastEthernet0/6
391!
392interface FastEthernet0/7
393!
394interface FastEthernet0/8
395!
396interface FastEthernet0/9
397!
398interface FastEthernet0/10
399!
400interface FastEthernet0/11
401!
402interface FastEthernet0/12
403!
404interface FastEthernet0/13
405!
406interface FastEthernet0/14
407!
408interface FastEthernet0/15
409!
410interface FastEthernet0/16
411!
412interface FastEthernet0/17
413!
414interface FastEthernet0/18
415 switchport access vlan 20
416 switchport mode access
417!
418interface FastEthernet0/19
419!
420interface FastEthernet0/20
421!
422interface FastEthernet0/21
423!
424interface FastEthernet0/22
425!
426interface FastEthernet0/23
427!
428interface FastEthernet0/24
429!
430interface GigabitEthernet0/1
431!
432interface GigabitEthernet0/2
433!
434interface Vlan1
435 ip address 192.168.1.12 255.255.255.0
436!
437ip default-gateway 192.168.1.1
438ip http server
439ip http secure-server
440!
441banner motd ^C
442Gr. nr 6, Wt. 14:15, 18.10.2016^C
443!
444line con 0
445 password cisco
446 logging synchronous
447 login
448line vty 0 4
449 password cisco
450 login
451line vty 5 15
452 password cisco
453 login
454!
455end