· 5 years ago · Oct 30, 2019, 09:04 AM
1export@cisco.com.
2
3Cisco CISCO1941/K9 (revision 1.0) with 491520K/32768K bytes of memory.
4Processor board ID FTX152400KS
52 Gigabit Ethernet interfaces
6DRAM configuration is 64 bits wide with parity disabled.
7255K bytes of non-volatile configuration memory.
8249856K bytes of ATA System CompactFlash 0 (Read/Write)
9
10Press RETURN to get started!
11
12
13
14Router>en
15Router#conf t
16Enter configuration commands, one per line. End with CNTL/Z.
17Router(config)#int g0/0
18Router(config-if)#ip addres
19Router(config-if)#ip address 192.168.1.1 255.255.255.248
20Router(config-if)#no shut
21Router(config-if)#no shutdown
22
23Router(config-if)#
24%LINK-5-CHANGED: Interface GigabitEthernet0/0, changed state to up
25
26%LINEPROTO-5-UPDOWN: Line protocol on Interface GigabitEthernet0/0, changed state to up
27int g0/0
28Router(config-if)#int g0/0
29Router(config-if)#int g0/1
30Router(config-if)#ip adre
31Router(config-if)#ip adres
32Router(config-if)#ip addre
33Router(config-if)#ip address 192.168.1.33 255.255.255.248
34Router(config-if)#no shut
35
36Router(config-if)#
37%LINK-5-CHANGED: Interface GigabitEthernet0/1, changed state to up
38
39%LINEPROTO-5-UPDOWN: Line protocol on Interface GigabitEthernet0/1, changed state to up
40do wr
41Building configuration...
42[OK]
43Router(config-if)#^Z
44Router#
45%SYS-5-CONFIG_I: Configured from console by console
46
47Router#conf t
48Router#conf terminal
49Enter configuration commands, one per line. End with CNTL/Z.
50Router(config)#hostnam
51Router(config)#hostname R1
52R1(config)#ip domain-na
53R1(config)#ip domain-name termilab.ru
54R1(config)#line vty 0 15
55R1(config-line)#^Z
56R1#
57%SYS-5-CONFIG_I: Configured from console by console
58
59R1#conf t
60Enter configuration commands, one per line. End with CNTL/Z.
61R1(config)#pass
62 ^
63% Invalid input detected at '^' marker.
64
65R1(config)#end
66R1#
67%SYS-5-CONFIG_I: Configured from console by console
68
69R1#conf t
70Enter configuration commands, one per line. End with CNTL/Z.
71R1(config)#ip ssh a
72% Incomplete command.
73R1(config)#ip ssh aut
74R1(config)#ip ssh authentication-retries 5
75R1(config)#ip ssh time
76% Incomplete command.
77R1(config)#ip ssh time-out 60
78R1(config)#aaa new
79R1(config)#aaa new-model
80R1(config)#line vty 0 4
81R1(config-line)#no login local
82R1(config-line)#tran
83% Incomplete command.
84R1(config-line)#tra
85R1(config-line)#transport inp
86R1(config-line)#transport input ssh
87R1(config-line)#exit
88R1(config)#pass
89 ^
90% Invalid input detected at '^' marker.
91
92R1(config)#line console 0
93R1(config-line)#password cisco
94R1(config-line)#login
95% You can only use the command "[no] login authentication ..." when aaa is enabled.
96R1(config-line)#^Z
97R1#
98%SYS-5-CONFIG_I: Configured from console by console
99
100R1#
101R1#conf t
102Enter configuration commands, one per line. End with CNTL/Z.
103R1(config)#enable pass
104R1(config)#enable password qazwsx
105R1(config)#exit
106R1#
107%SYS-5-CONFIG_I: Configured from console by console
108
109R1#conf t
110Enter configuration commands, one per line. End with CNTL/Z.
111R1(config)#enable secret qazwsx
112The enable secret you have chosen is the same as your enable password.
113This is not recommended. Re-enter the enable secret.
114R1(config)#line vty 0 15
115R1(config-line)#end
116R1#
117%SYS-5-CONFIG_I: Configured from console by console
118
119R1#conf t
120Enter configuration commands, one per line. End with CNTL/Z.
121R1(config)#crypro
122R1(config)#cry
123R1(config)#crypto key generate rsa
124% You already have RSA keys defined named R1.termilab.ru .
125% Do you really want to replace them? [yes/no]: yes
126The name for the keys will be: R1.termilab.ru
127Choose the size of the key modulus in the range of 360 to 2048 for your
128 General Purpose Keys. Choosing a key modulus greater than 512 may take
129 a few minutes.
130
131How many bits in the modulus [512]: 512
132% Generating 512 bit RSA keys, keys will be non-exportable...[OK]
133
134R1(config)#ip ssh aut
135*мар 1 0:25:14.2: RSA key size needs to be at least 768 bits for ssh version 2
136*мар 1 0:25:14.2: %SSH-5-ENABLED: SSH 1.5 has been enabled
137R1(config)#ip ssh authentication-retries 5
138R1(config)#ip ssh time
139% Incomplete command.
140R1(config)#ip ssh time-ou
141R1(config)#ip ssh time-out 60
142R1(config)#aa new
143R1(config)#aaa new
144R1(config)#aaa new-mode
145R1(config)#aaa new-model
146R1(config)#line vty 0 4
147R1(config-line)#no login local
148R1(config-line)#trans
149R1(config-line)#transport inp
150R1(config-line)#transport input ssh
151R1(config-line)#exit
152R1(config)#int g0/0
153R1(config-if)#ip ad
154R1(config-if)#ip address 192.168.1.1 255.255.255.248
155R1(config-if)#no shu
156R1(config-if)#no shutdown
157R1(config-if)#
158R1(config-if)#^Z
159R1#
160%SYS-5-CONFIG_I: Configured from console by console
161int g0/0
162 ^
163% Invalid input detected at '^' marker.
164
165R1#conf t
166Enter configuration commands, one per line. End with CNTL/Z.
167R1(config)#int g0/0
168R1(config-if)#ip addres
169R1(config-if)#ip address 192.168.1.38 255.255.255.248
170% 192.168.1.32 overlaps with GigabitEthernet0/1
171R1(config-if)#ip address 192.168.1.32 255.255.255.248
172Bad mask /29 for address 192.168.1.32
173R1(config-if)#ip address 192.168.1.33 255.255.255.248
174% 192.168.1.32 overlaps with GigabitEthernet0/1
175R1(config-if)#ip address 192.168.1.14 255.255.255.248
176R1(config-if)#no shut
177R1(config-if)#no shutdown
178R1(config-if)#exit
179R1(config)#cryp
180R1(config)#crypto key gene
181R1(config)#crypto key generate rsa
182% You already have RSA keys defined named R1.termilab.ru .
183% Do you really want to replace them? [yes/no]: yes
184The name for the keys will be: R1.termilab.ru
185Choose the size of the key modulus in the range of 360 to 2048 for your
186 General Purpose Keys. Choosing a key modulus greater than 512 may take
187 a few minutes.
188
189How many bits in the modulus [512]: 1024
190% Generating 1024 bit RSA keys, keys will be non-exportable...[OK]
191
192R1(config)#
193*мар 1 0:30:11.48: %SSH-5-ENABLED: SSH 1.99 has been enabled
194R1(config)#
195R1(config)#
196R1(config)#^Z
197R1#
198%SYS-5-CONFIG_I: Configured from console by console
199^Z
200R1#
201
202
203
204
205
206
207
208C2960 Boot Loader (C2960-HBOOT-M) Version 12.2(25r)FX, RELEASE SOFTWARE (fc4)
209Cisco WS-C2960-24TT (RC32300) processor (revision C0) with 21039K bytes of memory.
2102960-24TT starting...
211Base ethernet MAC Address: 0006.2ACD.C54E
212Xmodem file system is available.
213Initializing Flash...
214flashfs[0]: 1 files, 0 directories
215flashfs[0]: 0 orphaned files, 0 orphaned directories
216flashfs[0]: Total bytes: 64016384
217flashfs[0]: Bytes used: 4414921
218flashfs[0]: Bytes available: 59601463
219flashfs[0]: flashfs fsck took 1 seconds.
220...done Initializing Flash.
221
222Boot Sector Filesystem (bs:) installed, fsid: 3
223Parameter Block Filesystem (pb:) installed, fsid: 4
224
225
226Loading "flash:/c2960-lanbase-mz.122-25.FX.bin"...
227######################### [OK]
228 Restricted Rights Legend
229
230Use, duplication, or disclosure by the Government is
231subject to restrictions as set forth in subparagraph
232(c) of the Commercial Computer Software - Restricted
233Rights clause at FAR sec. 52.227-19 and subparagraph
234(c) (1) (ii) of the Rights in Technical Data and Computer
235Software clause at DFARS sec. 252.227-7013.
236
237 cisco Systems, Inc.
238 170 West Tasman Drive
239 San Jose, California 95134-1706
240
241
242
243
244Cisco IOS Software, C2960 Software (C2960-LANBASE-M), Version 12.2(25)FX, RELEASE SOFTWARE (fc1)
245Copyright (c) 1986-2005 by Cisco Systems, Inc.
246Compiled Wed 12-Oct-05 22:05 by pt_team
247Image text-base: 0x80008098, data-base: 0x814129C4
248
249
250
251Cisco WS-C2960-24TT (RC32300) processor (revision C0) with 21039K bytes of memory.
252
253
25424 FastEthernet/IEEE 802.3 interface(s)
2552 Gigabit Ethernet/IEEE 802.3 interface(s)
256
25763488K bytes of flash-simulated non-volatile configuration memory.
258Base ethernet MAC Address : 0006.2ACD.C54E
259Motherboard assembly number : 73-9832-06
260Power supply part number : 341-0097-02
261Motherboard serial number : FOC103248MJ
262Power supply serial number : DCA102133JA
263Model revision number : B0
264Motherboard revision number : C0
265Model number : WS-C2960-24TT
266System serial number : FOC1033Z1EY
267Top Assembly Part Number : 800-26671-02
268Top Assembly Revision Number : B0
269Version ID : V02
270CLEI Code Number : COM3K00BRA
271Hardware Board Revision Number : 0x01
272
273
274Switch Ports Model SW Version SW Image
275------ ----- ----- ---------- ----------
276* 1 26 WS-C2960-24TT 12.2 C2960-LANBASE-M
277
278Cisco IOS Software, C2960 Software (C2960-LANBASE-M), Version 12.2(25)FX, RELEASE SOFTWARE (fc1)
279Copyright (c) 1986-2005 by Cisco Systems, Inc.
280Compiled Wed 12-Oct-05 22:05 by pt_team
281
282Press RETURN to get started!
283
284
285%LINK-5-CHANGED: Interface FastEthernet0/1, changed state to up
286
287%LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet0/1, changed state to up
288
289%LINK-5-CHANGED: Interface FastEthernet0/2, changed state to up
290
291%LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet0/2, changed state to up
292
293
294Switch>en
295Switch#conf t
296Enter configuration commands, one per line. End with CNTL/Z.
297Switch(config)#line vty 0 15
298Switch(config-line)#pass
299Switch(config-line)#password class
300Switch(config-line)#vlan 1
301Switch(config-vlan)#ip 192.168.1.12
302 ^
303% Invalid input detected at '^' marker.
304
305Switch(config-vlan)#ip addres 192.168.1.12
306Switch(config-vlan)#ip addres 192.168.1.12
307 ^
308% Invalid input detected at '^' marker.
309
310Switch(config-vlan)#ip addr 192.168.1.12 255.255.255.128
311 ^
312% Invalid input detected at '^' marker.
313
314Switch(config-vlan)#int vlan1
315Switch(config-if)#ip addr 192.168.1.12 255.255.255.128
316Switch(config-if)#no shut
317
318Switch(config-if)#
319%LINK-5-CHANGED: Interface Vlan1, changed state to up
320
321%LINEPROTO-5-UPDOWN: Line protocol on Interface Vlan1, changed state to up
322
323Switch(config-if)#^Z
324Switch#
325%SYS-5-CONFIG_I: Configured from console by console
326
327Switch#conf t
328Enter configuration commands, one per line. End with CNTL/Z.
329Switch(config)#line vty 0 15
330Switch(config-line)#vlan 1
331Switch(config-vlan)#ip add
332Switch(config-vlan)#ip addr
333Switch(config-vlan)#ip addre
334Switch(config-vlan)#int vlan
335 ^
336% Invalid input detected at '^' marker.
337
338Switch(config-vlan)#int vlan1
339Switch(config-if)#ip add
340Switch(config-if)#ip address 192.168.1.12 255.255.255.128
341Switch(config-if)#no sh
342Switch(config-if)#no shutdown
343Switch(config-if)#enable pass
344Switch(config-if)#enable passw
345Switch(config-if)#enable passw^Z
346Switch#
347%SYS-5-CONFIG_I: Configured from console by console
348^Z
349Switch#enable pass
350Switch#enable passw
351Switch#conf t
352Switch#conf terminal
353Enter configuration commands, one per line. End with CNTL/Z.
354Switch(config)#enabl
355Switch(config)#enable pass
356Switch(config)#enable password cisco
357Switch(config)#line con
358Switch(config)#line console 0
359Switch(config-line)#pas
360Switch(config-line)#password
361Switch(config-line)#password qazwsx
362Switch(config-line)#login
363Switch(config-line)#login
364Switch(config-line)#end
365Switch#
366%SYS-5-CONFIG_I: Configured from console by console
367
368Switch#conf t
369Enter configuration commands, one per line. End with CNTL/Z.
370Switch(config)#line vty 0 15
371Switch(config-line)#pas
372Switch(config-line)#password class
373Switch(config-line)#vlan 1
374Switch(config-vlan)#ip add
375Switch(config-vlan)#ip addr
376Switch(config-vlan)#ip addre
377Switch(config-vlan)#ip address
378Switch(config-vlan)#ip address 192.168.1.12
379 ^
380% Invalid input detected at '^' marker.
381
382Switch(config-vlan)#^Z
383Switch#
384%SYS-5-CONFIG_I: Configured from console by console
385^Z
386Switch#
387Switch#^Z
388Switch#^Z
389Switch#en
390Switch#end
391Translating "end"...domain server (255.255.255.255)
392% Unknown command or computer name, or unable to find computer address
393
394Switch#
395Switch#