Академический Документы
Профессиональный Документы
Культура Документы
CCNA Cisco Certified Network Associate. Учебное руководство PDF
CCNA Cisco Certified Network Associate. Учебное руководство PDF
Cisco Certified
Network Associate
640-507
SrBEX
100 000
""
CCNA
Cisco Certified
Network Associate
Study Guide
Second Edition
Todd Lammle
SVBEX
CCNA
Cisco Certified
Network Associate
640-507
CCNA
Cisco Certified Network Associate
Study Guide
Second Edition
Todd Lammle
Copyright 2000
All rights reserved
CCNA
Cisco Certified Network Associate
640-507
.
.
.
Copyright 2000 SYBEX Inc., 1151 Marina Village Parkway, Alameda, CA 94501
All rights reserved.
Except as permitted under the Copyright Act of 1976, no part of this publication may
be reproduced or distributed in any form or by any means, or stored in a database or
retrieval system, without the prior written permission of the publisher, with the exception that the program listings may be entered, stored, and executed in a computer system, but they may not be reproduced for publication.
ISBN 0-7821-2647-2
"", 2002
. N : OAI (03)
N : 070612 30.09.97 .
ISBN 5-85582-180-3
5.07.2002 70x100/16
.. 36 3200 N 646
"". , 123557 . ., . 40, . 2
: (095)259-01-62
WWW.LORY-PRESS.RU
" "
109044, , . . 18
Cisco .
, .
, ,
.
! ,
.
,
. ,
.
CCNA Sybex.
. , . ,
, ,
'. ,
.
OSI
OSI
Ethernet
Ethernet
Ethernet
Ethernet
Cisco
Cisco
Ethernet
Ethernet
UTP (RJ-45)
Cisco
Cisco
Cisco
Cisco
1.1. OSI
1.2. OSI
1.3.
1.1
1.2
1.3
2
2
2
1
2
2
. 3
3
5
18
19
20
25
26
28
29
31
.31
32
32
33
34
36
40
40
41
,42
44
44
45
46
47
50
.50
51
51
52
53
54
54
55
2
55
. . . . . . . .
55
. . . . . . . 57
. . . . . . . .
57
STP Spanning-Tree Protocol. . . . . .-. . . . . <. . . . . 58
59
. . . . . . . . . . . .'
59
.
61
. . . . . 6 1
. . . 62
63
" "
64
( )
.
64
65
.
65
. . . . . ' . . . . . . . ^. . ;
66
b'oq; . ; . . .; . . ,
69
. . . . . * . . . . . . . . ." . . 70
. . . . . . . . . . . . 71
TCP/IP DoD
72
/
73
78
.
. . . . . . 85
IP
93
IP- . . . .; . .
93
IP- . . . . . . . . .
94
.100
./....
101
102
109
..
115
. . . . . . . '
118
118
.
122
. . . . . . . . . . .
122
4 IOS . . . . . . 123
Cisco
IOS Cisco
Cisco
()
CLI
124
124
124
125
130
, . 131
132
133
135
xi
139
140
146
147
151
.
151
. . . .
152
. . - . . . . . . . 154
. .
158
159
4.1. . . 159
4.2.
160
4.3.
161
4.4. .
162
4.5. ,
, IP-
164
165
,.169
169
5 IP .
171
172
IP- .
172
IP-
176
IP-
180
181
186
187
188
189
191
RIP
194
RIP
195
RIP
195
RIP . . . . . 197
RIP . 199
IGRP
199
IGRP
200
IGRP
200
IGRP
201
2621
201
2501
202
2501
202
2501.
. . . . . . 202
|[
*,
IGRP
203
204
Show Protocols
, .
205
Show IP Protocol
..". . . 205
Debug IP RIP
207
Debug IP IGRP
208
209
,210
5.1. . . . . 210
5.2.
RIP
212
5.3.
IGRP
213
.
. . . . 214
217
. . . . . . . . . . . . . . . . 218
(VLAN) . . . . . . . . . 219
(Virtual LAN)
. . ......
VLAN
. .
VLAN
.
VLAN
VLAN
, .
VLAN
ISL
VLAN
VTP
VTP
VTP
.
. . . . . . .... . . .
. . . . . .
. .
220
220
221
222
. 223
223
. 224
. 224
225
225
226
227
227
228
229
230
231
. 231
232
235
236
Cisco
237
Cisco
. . . . . . . . . .
238
239
239
239
.. .
. . . . . . 241
. . . . . . . . . . . 241
,. '
242
Cisco IOS .. . . . . . 245
-
245
Cisco IOS. . . . . . . . . . . . . . . . 246
Cisco IOS . . 248
Cisco . . . . . . . 250
Cisco
251
Cisco . . . . 252
. .
. 253
Cisco Discovery Protocol . . . . . . . 254
. . . . . . . . . . . . . . . .254
255
. . . . . . . 257
. ... . . 257
Telnet
. . . ....,.,,.,, . . . . . 259
Telnet
. . .... . . . . . . . 260
Telnet
......... . . . . .... 262
Telnet
262
Telnet
262
264
.....
264
DNS . . . . . . . . . . . 266
268
Ping
. . 268
Trace . . . . . . .,,........... . 269
xiii
Xl'v
290
IPX Cisco
292
IPX
292
IPX . . . . . . . . . 292
IPX
294
IPX 2621
. 294
IPX 2501
294
IPX 2501
295
IPX 2501 . . . . . .
295
IPX. . . . . . . . . . . . . . 295
. . . . . . .
297
298
298
Ethernet . . . . . ; < . . .
... . . . . 299
2621
.
299
2501
300
2501
301
2501
301
IPX
302
IPX Cisco
303
Show IPX Servers
. . .
303
Show IPX Route
304
Show IPX Traffic . . .
305
Show IPX Interfaces . . . . . . . . . . . . .... . . . . . . . . . . 306
Show Protocols . . .
307
Debug IPX.
. 307
RouterA#IPX Ping
309
. .
310
310
8.1.
Internetworking Packet Exchange (IPX)
311
8.2. IPX
312
314
.
317
318
XV
319
IP
VTY (Telnet)
IP
IP
IPX
IPX
IPX
SAP IPX
IPX
9.1. IP .
9.2. IP .
9.3. IPX
. . ..... .
10
.
.
.
.
320
322
326
326
332
332
332
334
334
335
336
337
337
338
340
341
345
345
347
.
. .
348
348
.
349
.
350
HDLC
351
. 352
Link Control Protocol (LCP)
353
353
. . . . . . . . . . . . . . . . . . 354
Cisco
354
355
. 356
Frame Relay
357
Frame Relay
. 357
Frame Relay
359
Data Link Connection Identifier (DLCI)
360
Local Management Interface (LMI) .
361
362
Frame Relay
366
Frame Relay . . . . . ' . "
367
CIR (Committed Information Rate) . . . . ' .
367
Frame Relay
368
Integrated Services Digital Network (ISDN)
371
ISDN
372
Basic Rate Interface (BRI)
375
Primary Rate Interface (PRI) . . . . . . , .'. . . . . . . . . . 375
xyi
ISDN Cisco
376
Dial-on-Demand Routing (DDR)
377
DDR
377
378
""
378
378
380
DDR
381
ISDN
381
382
383
10.1.
383
10.2. HDLC . . 384
10.3. Frame Relay
385
10.4. ISDN BRI386
.
. . . . . 389
. . . 392
393
395
396
. . . . . . . . 407
Catalyst 1900
409
1900
410
411
411
1900
412
Ethernet
413
IOS Cisco 1900 . . . . . . 414
414
417
IP
418
419
422
423
IP
424
425
-
425
-
427
429
Show Version.
430
'
. . . . . . . . . . 431
VLAN
431
VLAN. . . . . . . 433
. . , . , . . . . .... '. '. . . .". .'. 434
VLAN . . . . . .". . . . 435
. . . . . . . . . . . . . . . . 436
ISL
437
. , , , . ; -> 438
. . . . . . . . . . . . 438
VTP
439
VTP
. . . . . . ' . . .'.'440
IOS
Catalyst 1900
440
Catalyst 1900 . . . . , . , .
441
CDP 1900 . . . . . . . . ' . . . . . . 442
. , . . . . . . . . . . . . . ..... . . . . . . '.' . . . . 443
.444
.1.
1900
,,.'. , . . . . . . . . . . .'."444
.2. 1900 . . 445
.. VLAN
446
.4.
VLAN
447
.5. . 449
.6. VTP
.450
.7.
VLAN ISL
. . ." 1" . . . 4 5 1
452
. . . . . . . . . . . . . . . ' . * . 456
. ; . . . . . . . . . . . . . . . 457
Cisco. . . . . . . . . . . . . . . . . 459
. . . . . . . . . . .../.'. . . . . . . . . . . . .469
xyii
xix
Cisco CCNA. , , , MCSE
CNE. .
Cisco
Cisco . , MCSE, ,
, , , Cisco.
80- (Len) (Sandy) (Bosack),
, cisco Systems (
). , IP. 1984 .
Cisco Systems , . ,
San Francisco Systems,
. ? 1992 . Cisco Systems, Inc.
, , AGS (Advanced Gateway Server ). MGS (Mid-Range Gateway Server ), CGS
(Compact Gateway Server ), IGS (Integrated Gateway Server ) AGS+.
1993 . Cisco 4000,
7000, 2000 3000. -
(, ).
Cisco Systems
.
, . Cisco
, .
Cisco Systems ,
, , . ,
. , Cisco Systems ,
XX
,
, ,
Cisco Systems .
Cisco , Cisco IOS (Internetwork Operating System
). Cisco IOS ,
.
Cisco IOS, Cisco
Cisco Certified Internetwork Expert (CCIE Cisco )
, Cisco. :
Cisco,
, .
'Cisco. -
. , ,
. ,
Cisco CCIE , . , , .
Cisco , .
CCIE Cisco Career Certifications .
, .
Cisco
Cisco , . .
, Cisco ,
. , CCIE?
xxj
Cisco Certified
Network Associate (CCNA) 2
Cisco Certified Network Associate (CCNA Cisco)
Cisco Cisco. Cisco CCIE.
CCNA, $100
.
Cisco Certified Network Professional
(CCNP Cisco).
CCNP ,
CCIE.
,
, .
CCNA
Microsoft Novell, Cisco ,
, ,
. CCNA .
CCNA
Cisco IOS Cisco, , . ( Cisco) Cisco,
.
CCNA Cisco , .
CCNA
:
, , , ,
ATM
IP, IGRP, IPX, , AppleTalk, Frame Relay, IP RIP, , IPX RIP, Ethernet
/
, , , ,
,
,
XXJJ
, ,
, , , . .
CCN!
, .
"" . CCNA. ( , !) ,
, ( ),
, .
, , , Cisco.
2500 .
, ; , ( , ) CCNA.
,
Globalnet Training Solutions, Inc. (www.lammle.com),
Cisco. , Virtual Networks/Ikon Technologies CCNA, Cisco.
Cyberstate University, Sybex Cisco (www.cyberstateu.com).
Cisco Keystone Learning Systems
(www.klscorp.com).
[ "CCNA: Cisco Certified Network Associate Study Guide"
Sybex, CCNA. ,
CiscoTests (http://www.networkstudyguides.com) ,
CCNA, CCNP CCIE.
|
|
Cisco www.boston.com.
xxiii
CCNP?
CCNP . , CCNA, :
, , ,
, .
,
, , IP, IGRP, IPX, , AppleTalk, , IP RIP, , IPX RIP, ,
OSPF, , BGP,
, IGRP, Frame Relay, ISDN,
(ISL), X.25, , (DDR),
(PSTN), PPP, , Ethernet, ATM, , 802.10, FDDI, .
, :
/ , ,
,
XXIV
CCNP!
CCNP CCNA :
640-503 , ICRC.
, , , , .
640-504 ,
, Cisco.
640-506 :
, Cisco.
640-505 , , , Cisco ISDN .
I , ,
CCNA CIT,
640-509 Foundation R/S (
).. CCNP,
: - ,
.
! $100,
. ,
640-509 ,
, .
.
Web- Cisco
(www.cisco.com)
xxv
CCIE
CCIE Router and Switching , ,
,
, . CCIE .
. ,
, CCIE, .
:
, , ,
,
/ Cisco
XXVi
,
,
, , , , ,
, ,
, , , ; Cisco, ,
; ; ; ; ,
Cisco,
( ), , ,
,
( )
, , " IP" " ATM"
Cisco
,
Cisco . : Cisco Certified Design Associate
(CCDA Cisco) Cisco
Certified Design Professional (CCDP
Cisco). CCDA CCDP .
, , ATM.
xxvii
: ; ; ,
!
, CCNA.
!
800
Sylvan Prometric Authorized Testing Center, .
(800)
755-3926. Sylvan Prometric Registration Center.
CCNA, :
1. , . (
CCNA 640-507.)
2. Sylvan Prometric Registration Center. . $100,
, , 6 . - ,
24 . Cisco .
XXVJii
3.
,
.
CCNA
CCNA 70 , 90 .
24 ( Novell Microsoft) .
, , . , .
, .
Novell Microsoft
Cisco , . , . Cisco . :
access-list 101 deny ip any eq 23 denies Telnet access to all systems.
, , 23,
, Telnet. , IP ( UDP TCP)
.
, , ,
.
, ,
Cisco.
, , Cisco.
,
:
,
, IP-,
, .
, . ,
, .
.
.
,
, . .
Cisco , Next.
xxix
.
, . ( .) Cisco ,
. ,
Cisco ( 2 - 4 ).
?
CCNA. , :
1. ,
, .
2. ,
. Cisco, .
3. . ( .)
4. .
5. ,
.
, . ,
.
. !
?
Globalnet System
Solutions, Inc. (www.lammle.com)
todd@lammle.com.
1. , 0x0101?
A. -
B. ROM
C. Boot ROM
D. NVRAM
XXX
xxxi
14.
192.168.10.33 255.255.255.224?
A. 192.168.10.32-63
B. 192.168.10.33-63
C. 192.168.10.33-62
D. 192.168.10.33-61
15. ?
A.
B.
C.
D.
16. IPX RIP,
?
A. Showip rip
B. shipxint
C. debug ipx routing activity
D. debug ipx interface
17. IP- 192.168.100.30 255.255.255.248?
A. 192.168.100.32
B. 192.168.100.24
C. 192.168.100.0
D. 192.168.100.16
18. ?
A. , VLAN
("") VLAN
B. , VLAN
C. ,
D.
19. ( ).
A. Token Ring.
B.
.
C.
.
D. -.
XXXJil
20.
Cisco TFTP?
A. copy run tftp
B. copy flash tftp
C. copy nvram startup
D. copy tftp flash
21. show cdp entry * (
)?
A. IP-
B.
C.
D.
E.
F.
G.
. , show version
I.
J.
.
22. ?
A.
B.
C.
D.
E.
F.
G.
23.
( )?
.. Cut-through ()
B. Store and forward ( )
C. FragmentCheck ( )
D. FragmentFree ( )
24. Cisco ?
A.
B.
C.
D.
2 ).646
xxxiv
E.
F.
25. ,
, "cl"?
A. Show commands cl
B. Cl?
C. Cl?
D. Cl? more
26. VLAN?
A.
B.
C.
D.
27. ( )?
A.
B.
C.
D.
28. , Telnet?
A. show vty line
B. showvers
C. show users
D. show connections
29. ?
A.
B. .
C.
D. 0
30. IP ?
A. access-list 110 permit ip any host 1.1.1.1 eq ftp
B. access-list 10 permit tcp ip any any eq 21
C. access-list 99 permit udp any host 2.2.2.2 eq ip
D. access-list 199 permit tcp any 0.0.0.0 255.255.255.255 eq 21
31.
STP ( )?
XXXV
A.
B.
C.
D.
.
BPDU.
.
BPDU.
32. 1900?
A. FastForward ( )
B. Cut-through ()
C. 1
D. FragmentFree ( )
E. Store and forward ( )
33. ( )?
A. .
B. .
C. .
D. .
E.
.
F.
.
34.
RIP?
A. 1
B. 100
C. 120
D. 150
35. , (
)?
Routertfclock set 10:30:10
% Incomplete command.
A. IOS .
B. .
C. " "
.
D. " ", Tab.
E. .
xxxvi
36. 175 ?
Ip route 150.150.0.0 255.255.0.0 150.150.150.150175
A.
B.
C.
D. ,
37. ,
?
A.
B.
C.
D.
38. 7c8.0001.00c8.1234?
A. : 78.0001, : 008.1234
B. : 78, : 0001.00c8.1234
C. : 0001.00c8.1234, : 78
D. : 7c8.0001.00c8, : 1234
39. PDU ?
A.
B.
C.
D.
E.
F.
40. Cisco
?
A. Virtual Trunk Protocol (VTP)
B. 802. Iq
C. ISL
D. VLANs
41. RIP IPX ( )?
A.
B.
C.
D. , 1/18
42. ?
A. 1-10
B. 1-99
xxxvii
C. 100-199
D. 1000-1999
43.
Access-list 110 permit ip any 0.0.0.0 255.255.255.255?
A. IP,
0.0.0.0
B. IP,
0.0.0.0
C. ,
D.
44. VLAN?
A. VLAN,
B. VLAN,
C. , VLAN
D. , VLAN VTP
45. isdn switch-type?
A.
B.
C. ,
.
D.
46. - Frame Relay?
A. HDLC
B. DLCI
C. FECN
D. BECN
47. Frame Relay
PVC IP-?
A. ARP
B. LMI
C. SLARP
D. DLCI
48. Ethernet IPX ?
A.
B.
C.
D.
xxxviii
49. ?
A. 5
B. 50
C.
D. 100
50. Telnet CLI
1900?
A. telnet Atlanta.
B. telnet 172.16.10.1.
C. ping 172.16.10.1.
D. He CLI 1900
51. -, -?
A. (config)#delete nvram
B. #delete nvram
C. (config)#dear mac-address-table dynamic
D. #dear mac-address-table dynamic
52.
1900 ( )?
A. Clear config
B. Delete nvram
C. Delete vtp
D. Delete start
E. Erase startup-config
F. Just reboot the switch.
53. 27
1900?
A. Show port 27
B. Show trunk
C. Show trunk
D. Show trunk fO/27
E. Show trunk eO/27
54. 1900
VTP?
A. Show vtp stat
B. Show stat
C. Sh vtp domain
D. ShinteO/9
XXXIX
1.
2.
3.
4.
5.
6.
7.
8.
9.
10.
11.
12.
13.
14.
15.
16.
17.
18.
19.
20.
21.
22.
23.
24.
25.
26.
27.
(. 7)
D (. 9)
D (. 10)
(. 4)
(. !)
(. 3)
(. 9)
(. 4)
, D (. 8)
(. 5)
(. 6)
(. 3)
(. 3)
(. 3)
(. 2)
(. 8)
(. 3)
(. 6)
, (. 10)
(. 7)
, , , D, F, G, H, I, J
(. 7)
D (. 1)
A, D (. 2)
(. 1)
(. 4)
(. 6)
, , (. 1)
28.
29.
30.
31.
32.
33.
34.
35.
36.
37.
38.
39.
40.
41.
42.
43.
44.
45.
46.
47.
48.
49.
50.
51.
52.
53.
54.
(. 7)
(. 5)
D (. 9)
, (. 2)
D (. 2)
, (. 4)
(. 5)
, (. 4)
(. 5)
(. 5)
(. 8)
, (. !)
(. 6)
, D (. 8)
(. 9)
(. 9)
(. 6)
(. 10)
D (. 10)
D (. 10)
, (. 8)
(. 2)
D (. )
D (. )
, (. )
(. )
(. )
9. , DECnet, IBM,
. 80-
(International Standards
Organization, ISO) OSI (Open Systems Interconnection
). , , . , ,
, ,
.
OSI ,
. , , , . OSI
.
Cisco , , . Cisco . ,
Cisco, .
OSI Cisco.
(reference model) . , ,
(layer). ,
OSI, (layered
architecture).
.
. , , , , . .
, ,
, ,
.
. ,
. , , ,
,
, , i . .
, , ,
, .
, . .
,
, .
.
, ,
. , , , -
. . (binding). , ,
.
OSI, Cisco, . . OSI Cisco:
,
OSI
() OSI 70- . OSI
,
() Unix ().
OSI ', . . , OSI
(framework) , .
OSI , .
. . . 1.1
OSI, . 1.2 .
'
.
. 1.1. OSI
,
-
,
,
.
. 1.2. OSI
. 1.1 , . . '
..,
. (. . 1.2).
, ,
.
OSI
(International Standards
Organization, ISO) .
OSI
.
. OSI
:
( )
. 1.3 OSI.
, , ,
,
. 1.3. OSI
OSI , .
. ,
.
, ,
, , / .
, . 90-
, .
, :
WWW (World Wide Web " ") ( ),
. , , , , -
. Web- Netscape Navigator, Internet Explorer
, Mosaic.
SMTP
.400 .
,
, , , , .
, , ,
.
.
Gopher WAIS,
, Yahoo!, Excite Alta Vista, .
. , , , , .
. , , ,
.
.
; ,
(, EBCDIC ASCII).
,
. OSI ,
.
, , . . :
PICT , Macintosh
PowerPC QuickDraw.
TIFF
.
JPEG ,
(JPEG).
:
MIDI , .
MPEG ,
-, .
1.5 /.
Quick Time , Macintosh PowerPC
- .
, ,
, . ,
, : (simplex), (half-duplex) (full-duplex).
.
:
, , .
.
, TCP UPD (. 3), ,
TCP () ,
UPD . .
, . , ,
. .
. -
,
-, .
, , , :
,
,
,
. . 1.4 ,
. , . , .
<
<Zj
()
. 1.4.
, ,
.
, (. . 1.4):
" "
.
.
, , .
.
- ,
, , ,
.
.
.
, , . , . , .
,
, .
:
. , -
" " (. . 1.5).
.
, ,
<
" " - !
!
. 1.5.
11
"". ,
- .
, , . ,
, . ,
.
,
,
, , . , , .
,
.
, TCP/IP .
. 1.6 1 3. 1, - .
3, . , . ; ,
. , .
! :
.^J^ " 1
:
<^
2 If-'R'.-..
^- .,.....-
vg|
3
^>
2
3 -1
.
4
->;| 4
">*
. 1.6.
12
<
HI2I3I4I5I6I
1I213I4I5I6I
1
2 |
3 1
<
4
5
6 |
<
5
| 7
. 1.7.
, .
, .
.
.
,
. , , - , .
. 1.7 1, 2 3. 4.
, 4, 5 6.
5 , 5. - , 7.
, .. ,
. (router)
13
3
.
,
IP- . ,
. .
. , () .
: ().
.
. IP IPX ( IP . 3, IPX
8).
, . (, RIP, EIGRP, OSPF ..).
.
. 1.8.
1.0
Routing Table -
NET-
INT-
METRIC -
. 1.8.
14
:
.
,
.
, .
, .
. . 5. ,
(
, ), , (1/18 ).
, ..
. ,
(), 2.
. , , .
:
.
.
,
, , .
2,
. , .
3 ( ) VLAN
(Virtual LAN).
| I VLAN
2 6.
QoS' (Quality of Service)
.
15
(Data Link Layer ) .
,
. ,
, . .
. . 1.9
Ethernet . , IEEE 802.2 IEEE, .
802.3
802.2
. 1.9.
, *
.
,
.
, ,
.
.
,
. . ,
.
, .
IEEE Ethernet,
:
16
(MAC) . () 2 ,
ASIC (Application-Specific Integrated Circuits, ). ASIC .
.
2
, ,
. .
2,
, .
, , 2 .
, - . (transparent bridging,
).
2 () , .
"" , ,
.
17
. .
, ,
.
2
2.
3 ().
,
(), . , ,
.
,
. ,
. .
, ..
Ethernet. Token Ring ,
.
.
0 1 , . , . ,
.-
, , .
, ,
, , .
(DTE)
().
18
, .
DTE / (CSU/DSU).
() OSI, . CCNA
Ethernet.
.
,
, .
. . , ,
. ,
"" .
, , .
. ,
'' , . Ethernet
, .. .
( ) .
Ethernet
Ethernet ,
. Ethernet ,
(, FastEthernet Gigabit Ethernet). Ethernet
.
Ethernet CSMA/CD (Carrier Sense
Multiple Access with Collision Detect, ).
, .
CSMA/CD
(),
. ,
19
, CSMA/CD
,
.
.
CSMA/CD. ,
. "" ( ),
. . ,
.
, "" (jam),
.
"" , . ""
. 15 ,
- (time-out).
Ethernet
Ethernet 802.3
Ethernet,
.
CSMA/CD .
,
, . Ethernet (
lOBaseT) 50 60 % ( , Cisco). lOBaseT
3-4 /.
() Ethernet . "-" . ,
. Ethernet 100 % , .. 20 /
Ethernet, 10 / 200 / FastEthernet. (aggregate rate),
100 % ,
.
Ethernet,
FastEthernet.
(auto-detect mechanism).
20
, .. 10 100 /. .
, .
Ethernet
Ethernet Ethernet, (-). , Ethernet ,
,
Ethernet
. Ethernet:
Ethernet_II
IEEE 802.3
IEEE 802.2
SNAP
.
Ethernet
Ethernet - (Media Access Control, ), ""
NIC (Network Interface Card )
Ethernet. - . 48 , , ,
.
. 1.10 48- - .
OUI (Organizationally Unique
Identifier) IEEE - (24 3 ). , (globally administered address),
24 (3 ) () -. 46 0
1 .
24
1/G
1/G
( IEEE)
24
L/G - /
. 1.10. Ethernet -
21
Ethernet
,
(frame). , ,
. (
): (Ethernet),
(Token Ring FDDI) ( IBM
lOOVGAnylan). CCNA Ethernet ( ).
Ethernet
, MAC. CRC (cyclic redundancy check). , . 802.3 Ethernet
. 1.11.
EthernetJI
(8 )
DA
(6 )
SA
(6 )
FSC
(4 )
FSC
802.3 Ethernet
(8 )
DA
(6 )
( )
802.3 Ethernet.
(Preamble) 5 . . SFD (synch)
.
SFD (Start Frame Delimiter, )/5 SFD
1,0,1,0,1,0 .., (synch) .
SFD/synch 64 .
DA (Destination Address)
48- , " LSB" (Least Significant Bit, ). DA
,
. , -. ( F
22
), .
.
| 10
( F).
16 .
SA (Source Address) SA 48-
-, .
" LSB".
SA.
802.3 , Ethernet , . 802.3
,
, IPX.
,
. 46 - 1500 .
FCS (Frame Check Sequence)
FCS CRC.
,
Etherpeek. : , . Ethernet_II. ,
IP (08-00 ).
Destination:.
Source:
Protocol Type:
00:60:f5:00:lf:27
00:60:f5:00:lf:2c
08-00 IP
,
Ethernet_II. ,
: IPX (81-37h). ,
,
( F ).
Destination:
Source:
Protocol Type:
. ,
802.3. ?
, IPX, Novell
802.3 ( , IEEE,
23
802.2 SNAP
802.3 Ethernet
() , ( ) 802.2 LLC
IEEE. . 1.12 IEEE 802.3 LLC (802.2) SNAP
Subnetwork Architecture Protocol ( ).
802.2 (SNAP)
SAP = M
SAP=AA
1 2
03
OUI
802.2 (SAP)
1
1 2
SAP
SAP
802.2
802.2 . , , 802.3? DSAP ( SAP) SSAP ( SAP), , 802.2 (, 802.2 802.3
LLC , ):
24
Flags:
0x80 802.3
Status:
0x02 Truncated ()
Packet Length:64
Slice Length: 51
Timestamp: 12:42:00.592000 03/26/1998
Destination: ff:ff:ff:ff:ff:ff Ethernet Broadcast
( Ethernet)
Source:
00:80:c7:a8:fO:3d
LLC Length: 37
Dest. SAP:
OxeO NetWare
Source SAP: OxeO NetWare Individual LLC Sublayer Management Function
( LLC)
Command: 0x03 Unnumbered Information
( )
SNAP
SNAP . Ethernet_II
802.3.
, Ethernet_.II
( ).
Flags: 0x80802.3
Status:
OxOO
Packet Length: 78
Timestamp:
09:32:48.26400001/04/2000
802.3 Header
Destination: Q9:00:Q7:ff:ff:ff ATPh 2Broadcast
( 2)
Source:
00:00:86:10:C1:6F
LLC Length: 60
802.2 Logical Link Control (LLC) Header
( )
Dest. SAP: OxAASAMP
Source SAP: 5
Command: 0x03 Unnumbered Information
( )
Protocol:
0x0800078098 AppieTalk
SNAP, DSAP SSAP , 3.
, 802.3
Ethernet. (ether-type).
LLC IEEE SNAP. AppieTalk
25
Ethernet
Ethernet
.
. .
. , (). 1984
IEEE Ethernet () Carrier Sense Multiple Access
with Collision Detect (CSMA/CD). ,
.
Ethernet , .. . , Ethernet
(baseband technology), ..
. IEEE 802.3:
1 DBase! 10 /, , 185 . Ethernet (thinnet). 30
.
10Base5 10 /, , 500 . Ethernet (thicknet).
lOBaseT 10 / 3.
10Base2 lOBaseS,
, .
802.3 AUI (Attachment Unit Interface),
, . - ,
. AUI 15-
3 ).646
'' "
26
,
OSI.
.
PDU (Protocol Data Unit). , . .
(trailer), .
PDU
OSI. PDU , .
,
.
. 1.13 PDU .
,
. ,
. .
( PDU ) . , . , .
. (, IP) . ;!
.
27
'
PDU
TCP
-=L
IP
LLC
MAC
0101110101001000010
J=-
FCS
FCS
^=J_
^--i
i _^,
'~~~~^~~**'
^>
/
\
\
/
\
/>
1
/
. 1.13.
. ,
,
.
PDU
, .
( ).
,
. ,
.
, .
, .
,
, . .
, (CRC),
FCS . ,
, . (de-encapsulation). , .
, ,
28
. ,
.
.
:
1.
.
2. , .
3. ,
,
.
4. . ( Ethernet) .
5.
.
(
Cisco
"" ( ,
, , ).
, . , .
. , . ,
.
,
, .
. , .
Cisco , ,
. Cisco (. 1.14), .
:
29
. 1.14. Cisco
(Core layer)
(Distribution layer)
(Access layer)
.
. OSI
.
.
.
OSI, . , ,
. , , .
(. . 1.15).
" " , .
.
.
.
. .
30
. 1.15.
. , .
, . ,
.
, . , :
, ,
VLAN
.
.
(, ).
, , .
:
. (, FDDI, Fast Ethernet
ATM).
31
.
.
. !
. - (
.
, , ( ) .
(, ). , , .
,
.
:
, ,
.
,
.
,
.
VLAN
.
.
,
.
.
. .
. :
( )
()
32
DDR Ethernet.
( ).
,
. , .
Cisco
.
Cisco,
Ethernet.
Ethernet ,
, 1 . , Ethernet.
" ", Ethernet.
Ethernet
Ethernet DIX (Digital, Intel Xerox). Ethernet , IEEE 802.3. 10 /
- , " ".
IEEE 802.3 : 802.3u (FastEthernet) 802.3z (Gigabit Ethernet),
" " - . 1.16
IEEE 802.3
Ethernet.
Ethernet. , Gigabit Ethernet
10 / ,
(-)
802.3
"S
"
U-
" :
U
m $
8
. 1.16. Ethernet
33
.
Ethernet , .
Ethernet :
10 / .'
100 . ,
10 /.
FastEthernet . 10 / " ".
FastEthernet ( Gigabit)
. , .
.
Ethernet
Ethernet. () ,
.
EIA/TIA (Electronic Industries Association
Telecommunications Industry Association) Ethernet. EIA/TIA
Ethernet RJ (registered jack - )
4 5 (UTP)
RJ-45. Ethernet:
lOBasel 50- ( Ethernet). 185
30 .
AUI.
10Base5 50- ( Ethernet). 500 208 .
AUI. 2500 1024 .
lOBaseT 3, 4 5 EIA/TIA
UTP (unshielded twisted-pair).
100 . RJ-45 "" .
100BaseTX UTP 5, 6 7 EIA/TIA
. 100 . RJ-45 "" .
34
lOOVG-AnyLAN ,
100 /.
Ethernet (
),
.
UTP (RJ-45)
RJ-45 8
, '.
. ( ) ,
(tip). (ring). RJ-45
,
8 1.
. 1.17 UTP
RJ-45.
UTP , . ,
1
2
3
4
5
6
7
8
Pair2T2
Pair2R2
PairSTS
Pair 1 R1
Pair 1 T1
Pair 3 R3
Pair4T4
Pair4R4
RJ-45
-
R -
. 1.17. UTP RJ-45
35
. , .
, 5 6
UTP 3.
: (straight-through) (crossover).
UTP
. . 1.18 .
1
2
3
4
5
6
7
8
-L
TDi
NC
NC
NC
NC
-*
3
4
5
7
8
TD+
TDRD+
NC
NC
RDNC
NC
. 1.18. UTP
. .
:
""
. . ' Transmit () Receive (), a Receive Transmit, ,
. . 1.19
UTP.
36
1 3
, 2 6.
, 1
RD+ ^,
2
3
4
5
6
7
8
RD->T^>
-<^]*2
TD+ -^
NC
NC
4
J)><^^-
JX^ TSv 5
TD- ^
NC
NC
>Vi
7
8
RD-f
RD-1NC
NC
TDNC
NC
. 1.19. DTP
:
() (uplink)
| i ,
.
"X",
. ,
.
(WAN, wide area network)
Cisco, a
WAN. ISDN BRI. '
Cisco .
37
( 10.
, .. .
8 ,
.
Cisco 60-
, Cisco .
, . : EIA/TIA-232, EIA/TIA-449, V.35 ( CSU/DSU), X.21 ( .25)
EIA-530.
(). (bandwidth).
(/),
.
' ; : -
38
DTE . DCE CSU/DSU,
,
CSU/DSU .
(.. ).
Cisco ,
. (, 2500) . , 2501 AUI lOBaseT.
,
! 1600, 1700, 2600, 3600
,
. 1600 1700 , , ,
2600 , FastEthernet .
ISDN
ISDN (Integrated Services Digital Network) BRI (Basic Rate
Interface ) (Bearer ) 64 k (Bata, )
16 k .
ISBN BRI U S/T. U ISBN ISBN.
S/T , Network Termination type 1 (NT 1) ISBN.
( I ISDN 10.
U NT 1. NT 1, S/T. Cisco BRI U S/T.
ISBN BRI RJ-45
5. , . Cisco
, - .
39
Cisco , , . ,
RJ-45.
:
1-8
2-7
3-6
,
4-5 .
5-4
6-3
7-2
8-1
RJ-45: , .
DB9 (com port)
HyperTerminal. Cisco RJ-45,
Catalyst 5000 DB25.
9600 /, 8 , (no parity), (no flow control).
(dumb-terminal) VT100, ,
.
(aux port,
auxiliary port) . aux.
.
, Telnet.
(out-of-band management), " ". Telnet (in-band).
40
Cisco
Cisco . Cisco.
Cisco
, . ,
, .
, .
, Frame
Relay . , Cisco, -.
:
, 1.544 /, Frame Relay ISDN ( ). xDSL, , .
. , -
, Frame Relay. , ISDN
.
I
'
Cisco
Cisco .
,
: 10 100 /. Cisco 10 /,
10 100 /. .
,
. . 1.20 Cisco . .
:
- (10 100 /)
41
Cisco
FastHub400
Cisco
FastHub300
Cisco 1528
Micro Hub 10/100
Cisco 1500
Micro Hub
. 1.20. Cisco
Cisco
Cisco, , , .
Cisco .
.
, Cisco .
-. ,
IP, Frame Relay (VPN), IPX, AppleTalk
DECnet. Cisco.
()
(port density) . , . ,
12000 Cisco .
.
12000
, $12 . $100 . . , 12000 .
. Cisco , .
42
1
Cisco
12000 GSR
Cisco 7000
(p^iliji
Cisco 4000
AS 5000
SOHO ( / )
. 1.21. Cisco
. 1.21 Gisco.
Cisco 800 Cisco 700, 700 Cisco
IOS. , Cisco 700,
.
Cisco :
Cisco
, .
Cisco , Catalyst 2900 30%. 12-
10/100 Catalyst 5000 $15 .
Catalyst 5000 10/100
43
$7500 . , , . ,
? ,
.
Cisco . ,
10/100 1000 /,
. ,
ATM (asynchronous transfer mode ), Gigabit Ethernet 10 /, ATM . .
12 , () .
. 1.22 Cisco.
Cisco :
- (10,100 1000 /)
( VLAN)
Catalyst 8500
Catalyst 5000
Catalyst
1900/2820
__
__.
/
>^
44
1.1. OS/
OSI:
1. , , ; ;
?
2. ?
3. , ?
4. ,
,
?
5. ,
?
6. ,
, , , ?
7. , , ;
; ?
8. ?
9. , ,
?
10. , -, ?
11. ?
12. ?
13. ?
14. ?
45
15. ?
16. :
17. :
.
1.2. OS/
, OSI (, , ).
OSI
.
.
.
.
Ethernet.
.
.
.
.
.
,
.
.
46
1.3.
. 1.23 .
. 1.23.
47
1. Cisco
?
A.
B.
C.
1 D.
E.
F.
2. PDU OSI?
A.
B.
C.
D.
E.
F.
G.
3. Cisco ?
A.
B.
C.
D.
E.
F.
4. PDU ?
A.
B.
C.
D.
E.
F.
5. OSI
?
A.
B.
C.
D.
48
1
E.
F.
6. ?
A.
B.
C.
D.
7.
?
A.
B.
C.
D.
8. ?
A. 18
.
B. 18 .
C. 1 3 , 2 6.
D. 2 3 , 1- 6.
9. OSI ?
A.
B.
C.
D.
10. OSI
?
A.
B.
C.
D.
11. OSI ?
A.
B.
C.
D.
12. Cisco ?
49
A.
B.
C.
D.
E.
F.
G.
13. ?
A.
B.
C.
D.
E. PDU
14. OSI ?
A.
B.
C.
D.
E.
15. ?
.
A.
B.
C.
D.
16. Cisco
?
A.
B.
C.
D.
E.
17. ?
A. 6
B. 16
C. 46
D. 48
50
1
18.
?
A.
B.
C.
D. "plug-and-play"
19. ?
A. 100BaseFX
B. 100BaseTX
C. lOOVG-AnyLAN
D. lOBaseT
E. lOOBaseSX
20. "Base" lOBaseT?
A. , .
B. ,
.
1.1
1.
2.
3.
4.
5.
6.
7.
8.
9.
10.
11.
12.
13.
51
14.
15.
16. , , ,
17. , , ,
1.2
OSI
LLC
.
Ethernet.
.
.
MAC
.
.
.
,
.
1.3
D
4
52
1.
2.
3.
4.
5.
6.
7.
8.
?.
10.
D
,
11.
12.
13.
14.
15.
16.
17.
18.
1.
20.
, , , D
, , D
54
2
() 2 , ..
- . ASIC (Application-Specific Integrated
Circuits ),
. 2 .
2 , , .
2:
(MAC)
2 , , , , , .
2
( ).
, lOBaseT. 2 , ()
,
.
2
2 , . , ..
. ,
80 % .
,
. 2 () ,
.
. , , 2 ( 3)
.
55
2
. :
, ,
ASIC
.
,
(. ).
16 ,
.
;
2
2 :
2
-.
,
- .
, . STP (Spanning-Tree Protocol )
.
, ,
.
- . ,
,
- . ,
.
,
- , , . - "-",
56
. 2
. .
. 2.1 -.
.
, -
.
1. 1 3. -
0000.8c01.llll, - 0000.8c01.2222.
2. /1 ( )
- .
3. - ,
.
4. 3 1. 2
-.
5. 1 3 "-", . 2 4 "" .
, , .
1 3.
,
.
0000.8c01.111l
0000.8c01.2222
0000.8c01.3333
/1: 0000.8c01.3333
0000.8c01.4444
/3: .01.4444
. 2.1.
57
, /
-. , , . , ,
. , (frame filtering).
-,
, ,
. , - ().
,
. , , . , , .
:
1. ,
.
(broadcast storm). . 2.2
. , !
2
. 2.2.
4 $.646
58
2. , . . 2.3
.
2
. 2.3.
3. - , . ,
, - . "" (thrashing) -.
4. . , ,
.
()
Spanning-Tree Protocol (. ).
59
STP ,
.
(root bridge), . . ^
(designated port),
(forwarding-state).
.
(nonroot bridge) . . 2.4.
( )
(root port) .
100BaseT
(F)
soo/Lf
(F)
LjJfiOJLr
(F)
^ ()
. 2.4.
,
. (nondesignated) (blocking mode).
STP BPDU (Bridge Protocol
Data Unit). BPDU . BPDU
.
. 8
- .
, STP IEEE,
32 768.
,
- .
, -
. ,
32 768,
-. - 0000..1111.1111,
- - ..2222.2222,
.
BPDU 1900.
BPDU . , , 2,
3.
1 , 802.2, 802.3 DSAP SSAP LLC.
Flags:
0x80 802.3
Status:
OxOO
Packet Length: 64
Timestamp:
19:33:18.726314 02/28/2000
802.3 Header
Destination:
01:80:c2:00:00:00
Source:
00:bO:64:75:6b:c3
LLC Length:
38
802.2 Logical Link Control (LLC) Header
Dest. SAP:
0x42 802.1 Bridge Spanning Tree
Source SAP:
0x42 802.1 Bridge Spanning Tree
Command:
0x03 U n n u m b e r e d Information
802.1- Bridge Spanning Tree
( 802.1)
Protocol Identifier: 0
Protocol Version ID: 0
Message Type:
0 Configuration Message
Flags:
%00000000
Root Priority/ID:
0x8000 / 00:bO:64:75:6b:cO
Cost Of Path To Root: 0x00000000 (0)
Bridge Priority/ID: 0x8000 / 00:bO:64:75:6b:cO
Port Priority/ID:
0x80 / 0x03
Message Age:
0/256 seconds
()
Maximum Age:
5120/256 seconds
( 20 )
Hello Time:
512/256 seconds
( 2 )
Forward Delay:
3840/256 seconds
( 15 )
0000000000000000
Ox2e006400
BPDU, . , . .
, , (path cost).
STP
, . 2.2 Ethernet.
2.2.
Ethernet
IEEE
IEEE
10 /
1 /
100 /
19
10
10 /
100
100
, STP, :
Blocking () ,
BPDU.
.
Listening () BPDU
, .
Learning () -
, .
Forwarding () ,
.
. ,
,
(,
), .
.
, , BPDU.
,
, . BPDU, .
() .
. .
. ,
, . 50 . STP,
. .
, .
. 2.5 32 768.
-, - ,
.
1900 - .
, 1900
.
1900 1900
. 0 100 / ( ),
0.
63
190QA
-8110000
32768
(F)
-8111111
32768
-8222222
32768
(F) 1
(BLK)
. 2.5.
. .
1900 1900 , 1900,
.
, 1900, 1900 1 .
. :
Store and forward ( ) , CRC, - .
Cut-through () ,
-.
FragmentFree ( ) Catalyst 1900, (modified cut-through). 64
(- ) .
. 2.6 ,
.
.
64
SFD
2 1500 4
(
)
FCS
( )
" "
( ,
)
. 2.6.
"
'
" "
.
CRC. , .
CRC , ( 64 , CRC)
( 1518 , CRC) .
,
. . Catalyst 5000
.
( )
, . ( ).
- , .
,
.
. .
" ",
65
.
, .
FragmentFree , (64
) .
, 64 .
( , , ). -.
1900.
.
1900
-8110000
32768
1900
-8111111
32768
100BaseT
1. ?
2. ?
3. ?
4. ?
1900
- 8222222
32768
1. CRC
?
A.
B.
C.
D.
2. ?
A.
B.
C.
D.
3.
STP? ( ).
A. ,
B. BPDU.
C. BPDU.
D. .
4. ' 2?
A. (MAC)
B.
C.
D.
5. ? (
)
A.
B.
C. -
D. IP-
6. ?
A.
B.
C. -
D. IP-
7. STP?
A. Learning ()
B. Learned ()
67
C. Listened ()
D. Heard ()
E. Listening ()
F. Forwarding ()
G. Forwarded ()
. Blocking ()
I. Gathering ()
8. 2?
A.
B.
C.
D.
E.
F. IP
9. BPDU?
A. IP
B.
C. STP
D. .
10. ,
, ?
A. Unblocked ()
B. Forwarding ()
C. Listening ()
D. Listened ()
E. Learning ()
F. Learned ()
11. 2? (
.)
A.
.
B.
.
C.
.
D.
.
12. 2? (
)
'. .
B. .
C. .
D. .
13. , '
?
A.
B.
C.
D.
14. , - ?
A.
B.
C.
D.
15.
1900?
A.
B.
C.
D.
16. , ?
A. IP
B. STP
C. STP
D. Bridge Protocol Data Units
E.
17. ?
A.
.
B.
.
69
C. BPDU
,
.
D. ,
.
18. ?
A. 10
B. 1
C.
D. 20
19. , ?
A.
B.
C.
*
D. IP
20. STP ?
A. 32768
B. 3276
C. 100
D. 10
E. 1
1. 1900
2. 0 1 , 0 1900 1900
3. 1 1900
4. 1 1900
70
2
'
1.
2.
3.
4.
5.
6.
7.
8.
9.
10.
,
,
,
,, F,H
, ,
11. ,
12. , D
13.
14. D
15. D
. D
17.
18.
19. ,
20.
72
TCP/IP DoD
DoD (Department of Defense
) OSI. DoD 4 ( ) :
/ (Process/Application)
(Host-to-Host)
(Internet)
(Network Access)
. 3.1 . ,
, .
DoD
051
/ DoD , OSI (, ).
. / , ,
.
OSI , .
73
,
, .
OSI.
.
IP-, .
. , OSI,
.
DoD OSI ,
-.
DoD OSI .
. 3.2 TCP/IP, DoD.
>\
DoD
Telnet
FTP
LPD
SNMP
TFTP
SMTP
NFS
X Window
UDP
TCP
ICMP
ARP
FtARP
IP
Ethernet
Fast
Ethernet
Token Ring
FDDI
. .2. TCP/IP
/
IP.
:
Telnet
FTP
NFS
74
SMTP
LPD
X Window
. SNMP
DNS
BootP
DHCP
Telnet
Telnet ,
, ,
Telnet,
Telnet. Telnet
, , . , , ,
.
,
. Telnet
Telnet,
Telnet.
1 Telnet "telephone network" (
),
Telnet.
FTP
FTP (File Transfer Protocol ) ,
. , .
FTP ,
. , FTP
, . FTP
Telnet
FTP .
FTP .
, ,
, ,
. ,
"anonymous" (),
.
75
FTP , , .
.
TFTP
TFTP (Trivial File Transfer Protocol ) FTP, , ,
. TFTP ,
FTP; , .
TFTP , , FTP.
, TFTP .
- .
| | TFTP
IOS (Internetwork Operating System
) Cisco.
NFS
NFS (Network File System ) . . , NFS Windows NT, a
Unix. NFS
Unix Windows NT, Unix.
Windows NT Unix ( , , ..),
.
SMTP
SMTP (Simple Mail Transfer Protocol ) , . ( ).
.
.
LPD
LPD (Line Printer Daemon )
. LPD LPR
(Line Printer)
.
76
X Window
/ X Window /, . , , , ,
,
, .
SNMP
SNMP (Simple Network Management Protocol
1
)
.
. , , . SNMP
, . , ,
(trap) - .
DNS
(Domain Name Service)
() , , ,
www.routersim.com. . IP- . IP-
, DNS . Web- ? IP-
. DNS IP-. IP-,
Web-.
DNS FQDN (Fully Qualified Domain Name), www.lammle.com todd.lammle.com. FQDN ,
.
"todd", FQDN
(.. todd.lammle.com), . , Cisco ip domain-name lammle.com lammle.com . ,
FQDN, DNS .
77
DHCP
DHCP (Dynamic Host Configuration Protocol) IP-. ( ). DHCP
, Cisco.
DHCP BootP , BootP IP- ,
BootP. DHCP BootP. , BootP , . DHCP
.
DHCP , IP-. DHCP:
IP-
()
DNS
WINS
DHCP , .
78
, .
.
.
TCP
TCP (Transmission Control Protocol )
. , TCP
. TCP ,
.
TCP TCP .
. . TCP ,
.
.
TCP ,
, .
TCP
. ,
. , ,
.
TCP
, , TCP ,
. .
.
.
. 3.3 TCP TCP.
TCP 20 . TCP:
: , .
79
15
(16)
31
16
(16)
(32)
N5
(32)
(4)
(6)
(6)
(16)
(16)
( 1 6)
(0 32, )
( )
. 3.3. TCP
: ,
.
: .
:
.
(HLEN): 32- .
: .
: .
: , .
: CRC. TCP .
: .
:
TCP.
: , TCP .
TCP, :
TCP Transport Control Protocol
Source Port:
5973
80
5
%000000
%011000
Urgent Pointer:
61320
1
No TCP Options
TCP Data Area:
VL5.+.5.+.5.+.5 76 4c 19 35 11 2b 19 35 11 2b 19 35 11 2b 19 35 .+. 11 2b 19
Frame Check Sequence: OxOdOOOOOf
. , TCP . TCP, ,
, UDP.
UDP
UDP (User Datagram Protocol ) TCP. UDP "" , ,
,
TCP.
, , . ( UDP RFC 768.)
UDP,
TCP. SNMP, , , . ,
.
, UDP TCP ,
/. NFS , TCP . ,
, .
UDP
.
1 .
UDP
. , . UDP , ,
, . , UDP ,
.
, UDP .
. UDP
() , .
: TCP UDP .
UDP
UDP, , (. . 3.4).
0
15
16
31
i
Jt
(16)
(16)
(16)
(16)
09
( )
. 3.4. UDP
UDP :
,
.
, .
UDP.
CRC
UDP.
.
TCP, UDP
. ,
FCS .
UDP, :
UDP User Datagram Protocol
Source Port:
1085
82
Destination Port:
Length:
Checksum:
UDP Data Area:
5136
41
Ox7a3c
..Z
00 01 5a 96 00 0100 00 00 00 0011 00 00 00
...C..2...._C._C 2e 03 00 43 02 le 32 Oa 00 Oa 00 80 43 00 80
Frame Check Sequence: 0x00000000
,
, ( UDP).
,
, TCP UDP:
TCP
UDP
TCP . ,
TCP. , : " ?". (acknowledgment) TCP.
: "
?", .
TCP.
UDP .
. UDP, .
( , ),
. ,
UDP .
TCP UDP .
,
83
53
69)^4110)-144
TCP:
Etherpeek, TCP. - , 5973. 23, (Telnet).
TCP - Transport Control Protocol
Source Port:
5973
Destination Port:
23
Sequence Number: 1456389907
Ack Number:
1242056456
Offset:
5
Reserved:
%000000
%011000
Code:
Ack is valid
Push Request
Window:
61320
1
Checksum:
Urgent Pointer:
0
No TCP Options
TCP Data Area:
VL.5.+.5.+.5.+.5 76 4c 19 35 11 2b 19 35 11 2b 19 35 11 2b 19 35 +. 11 2b 19
Frame Check Sequence: OxOdOOOOOf
TCP , -. -. , . TCP
-, . . , ,
FTP.
TCP:
1024 .
, Etherpeek:
TCP - Transport Control Protocol
Source Port:
1144
Destination Port:
80 World Wide Web HTTP '
Sequence Number: 9356570
Ack Number:
0
Offset:
7
Reserved:
%000000
Code:
%000010
Synch Sequence
Window:
8192
Checksum:
Ox57E7
Urgent Pointer:
0
TCP Options:
Option Type:
2 Maximum Segment Size
Length:
4
MSS:
Option Type:
Option Type:
Option Type:
Length:
Opt Value:
No More HTTP Data
Frame Check Sequence:
536
I No Operation
1 No Operation
4
2
0x43697363
85
1024,
80 (.. HTTP).
.
, "syn". syn
.
TCP: Syn
. "Ack is valid" ( ) ,
.
TCP - Transport Control Protocol
Source Port:
80 World Wide Web HTTP
Destination Port:
1144
Sequence Number: 2873580788
AckNumberr
9356571
.(
Offset:
Reserved:
%000000
Code:
%010010
Ack is valid
Synch Sequence
Window:
8576
Checksum:
Ox5F85
Urgent Pointer:
0
TCP Options:
Option Type:
2 Maximum Segment Size
Length:
4
MSS:
1460
No More HTTP Data
Frame Check Sequence: Ox6E203132
80, 1144
.
.
. .
.
86
,
Ethernet, Token Ring .. IP , IP
.
IP. He ,
IP. .
IP
IP (Internet Protocol
). IP
" , ", .. .
() , IP-.
IP .
, . , IP, , ( ).
. ? ? ,
, ( ).
( ). , IP- , . ( IP RFC
791.)
IP
(). IP .
IP- IP- . ( 3), , IP- .
3.6 IP-, ,
.
IP- :
: IP
: , 32-
(ToS):
; .
87
(4)
15
(4)
(8)
(16)
(8)
31
16
(16)
(3)
(8)
(13)
(16)
IP- (32)
IP- () (32)
(0 32, )
( )
. 3.6. IP-
: ( )
: , IP
:
: ,
. MTU
(Maximum Transmission Unit)
TTL (Time to Live):
. TTL,
(
).
: (
TCP 6, UDP 17 )
: CRC
IP- : 32- IP- -
IP- : 32- IP- ,
: , , ..
:
IP, , :
IP Header Internet Protocol Datagram
Version:
4
Header Length:
5
Precedence:
0
%000
Type of Service:
%00
Unused:
187
Total Length:
Identifier:
22486
Fragmentation Flags: %010 Do not Fragment
0
Fragment Off set:
Time To Live:
60
IP Type:
0x06 TCP
Header Checksum:
Oxd031
Source IP Address:
10.7.1.30
Dest. IP Address:
10.7.1.10
No Internet Datagram Options
, , ..
IP-.
( , ) , ,
, IP , .
. 3.7 , , .
TCP
UDP
. ()
> ":
. 3.7. IP-
IP TCP
6, UDP 17 ( ). UDP TCP, . ICMP
89
3.1
IP
1
ICMP
9
IGRP
41
IPv6
GRE
IPX IP
47
111
115
ICMP
ICMP (Internet Control Message Protocol ) , IP.
IP-. ICMP RFC 1256
(ICMP Router Discovery Messages ICMP ), .
, IP- .
, . ,
.
ICMP:
1- , . , , , ,
ICMP- -.
ICMP- ,
, , .
IP- , , .
, ,
, , .
ICMP- .
5 {. 646
90
OxOO
0x00
78
14:04:25.967000 05/06/1998
00:aO:24:6e:Of:a8
00:80:c7:a8:fO:3d
08-00 IP
Protocol Datagram
Version:
Header Length:
Precedence:
Type of Service:
Unused:
Total Length:
Identifier:
Fragmentation Flags:
Fragment Offset:
Time To Live:
IP Type:
Header Checksum:
Source IP Address:
Dest. IP Address:
4
5
0
%000
%00
60
56325
%000
0
32
0x01 ICMP
Ox2dfO
100.100.100.2
100.100.100.1
Identifier:
0x0300
Sequence Number:
ICMP Data Area:
4352
abcdefghijklmnop
61 62 63 64 65 66 67 68 69 6a 6b 6c 6d
91
qrstuvwabcdefghi 71 72 73 74 75 76 77 61 62 63 64 65 66
Frame Check Sequence:
0x00000000
I , Ethernet.
, Ether-type. Ether-type
EthernetJI ( SNAP Ether-type,
802.2 LLC, ).
ARP
(Address Resolution Protocol ) IP-. IP , (,
Ethernet Token Ring) ( IP- ). IP ,
ARP.
IP ARP
IP-, .. ARP
(IP) (, Ethernet , ).
MAC (media access control). . 3.8
ARP.
/ ^
,
.
Ethernet.^
Ethernet
10.1.1.2
'"
10.1.1.2
10.1.1.1
. ^.,
IP- 1 1 1 9 -- '?'?'?
.,,,
'
. 3.8. ARP
92
ARP. , F ( 1) .
Flags:
0x00
Status:
OxOO
Packet Length: 64
Timestamp:
09:17:29.574000 01/04/2000
Ethernet Header
Destination: FF: FF: FF: FF? FF: FF E thernet Broadcast
Source:
00:AO:24:48:60:A5
ProtocolType: 0x0806 IP ARP
ARP - Address Resolution Protocol
Hardware:
1 Ethernet (10Mb)
Protocol:
0x0800 IP
Hardware Address Length: 6
Protocol Address Length: 4
Operation:
1 ARP Request
Sender Hardware Address: 00:AO:24:48:60:A5
Sender Internet Address: 172.16.10.3
Target Hardware Address: 00:00:00:00:00:00 (ignored)
Target Internet Address: 172.16.10.10
Extra bytes (Padding):
OA OA OA OA OA OA OA OA OA OA OA OA OA OA OA OA OA OA
Frame Check Sequence:
0x00000000
RARP
IP ,
IP-, -. RARP (Reverse Address Resolution Protocol )
, -,
IP-, -.
, RARP.
IP- .
. 3.9 IP-
RARP.
93
,
> (
IP-
L
192.168.10.3.
. 3.9. RARP
IP
TCP/IP
IP-. IP- , IP.
. , IP- , ""
. IP- .
IP-
.
| | IP-
,
2 (. ).
IP-
,
(IP).
:
Bit () , 1 0.
Byte () 7 8 , . ,
8 .
Octet () 8 (). Base-8.
94
IP-
IP- 32 ,
() , . IP-:
, , 172.16.30.56
,
10101100.00010000.00011110.00111000
, 10 IE 38
IP-.
,
, , , Windows IP- .
32- IP- , () . ,
.
, ,
32- , 0 1,
232 4.2 . ,
IP-. ,
, , , .
: , .
.
( ) . () . ( )
. IP- . 32- , .
95
. 3.10.
. IP- , , . ,
IP- 172.16.30.56 172.16.
.
, ,
.
. 30.56.
,
.
. . .
IP- . . 3.10 .
. , , - 0,
. , , .
IP- , (.. 0). , 0 127.
:
: 7 , , .
00000000=0
01111111=127
96
, , 0 127. (
).
| ,
,
.
IP- .
8 .
() , .
8- :
128
64
32
16
8 4 2 1
:
128
64
32
16
1
8 4 2 1
0 1 1 0
,
:
( 1) ""
. :
01010101=85
64
16
4
1
=85
00001111=15
10001100=140
11001100=204
97
,
:
00000000=0
10000000=128
11000000=192
11100000=224
11110000=240
11111000=248
11111100=252
11111110=254
11111111=255
RFC ,
,
. , , :
10000000=128
10111111=191
, 128
191.
RFC ,
.
:
11000000=192
11011111=223
, IP- 192 223,
.
D
224 255 D
. D ,
.
.
IP-
. 3.2
.
98
3.2
IP-
" ".
" ".
127.0.0.1
. ,
.
'
'
" ".
" " , 128.2.255.255 "
128.2 ( )".
IP-
Cisco
.
IP- (255.255.255.255)
, " ".
IP- ,
. IP-
:
...
, IP- 49.22.102.70 49,
22.102.70. , 49.
1 , , . ,
128 . ?
0 1, .. 27 128 .
, (0000 0000) , (. 3.2). - , ,
: 1 127.
128-2, .. 126.
IP- 3 (24 ). 224 16 777 216 . , , ,
224 - 2=16 777 214.
99
:
10.0.0.0 ,
.
10.255.255.255 .
: 10.0.0.1
10.255.255.254. ,
255. ,
,
.
IP- ,
. IP-
:
. ..
:
172.16.0.0 ,
.
172.16.255.255 .
: 172.16.0.1
172.16.255.254.
, IP- ,
. IP- :
...
100
:
192.168.100.0 , .
192.168.100.255
.
: 192.168.100.1
192.168.100.254.
, .
. , ,
? (subnetting), .. .
, :
. . . ; ,
. ,
, .
.
,
, ,
.
. .
101
IP-. , . ,
,
.
, . :
1. :
A.
B.
2. :
A. /1-
B.
3. , :
A.
B.
C.
2
2 IP. ,
:
21=2
22=4
, .
. 32- , IP
IP- .
32- ,
0 1. , .
102
, .. ( , ).
3.3 ,
. . ,
255.0.0.0. .
, 255.0.0.0. , 255.255.255.255, " ".
255.255.0.0, - 255.255.255.0.
3.3.
...
255.0.0.0
...
255.255.0.0
...
255.255.255.0
,
.
, .
8 . . :
10000000=128
11000000=192
11100000=224
11110000=240
11111000=248
11111100=252
11111110=254
RFC
, , ,
. , 192, 252,
.
:
. , . , 255.255.255.192.
103
192=11000000 ,
6 . ? , :
01000000=64 ( )
10000000=128 ( )
, , .
, ,
.
. 3.4 64, .
3.4.
64
01
000000=64
( )
01
000001=65
01
111110=126
01
111111=127
( )
3.5 128, .
3.5.
128
10
000000=128
10
000001=129
10
111110=190
JO
111111=191
,
. , 9, 10 20
? , .
104
:
, , . :
1. ?
2. ?
3. ?
4. ?
5. ?
2 (.
). :
1. ? 2 - 2 = _, X (.. ). , 11000000
22 - 2, .. 2 .
2. ? 2 - 2 = ___,
X (.. ). , 11000000 2 6 - 2, .. 62 .
3. ? 256-_ = _. , 256 - 192 = 64.
4. ? , " " " ".
5. ?
, .
, .
.
.
.
1:255.255.255.192
, (255.255.255.192), . 192.168.10.0 255.255.255.192.
192.168.10.0=
255.255.255.192=
105
:
1. ? 192 (11000000),
22 - 2=2. ( 2 , ).
2. ? 6 (11000000),
, 26 - 2=62 .
3. ? 256-192=64 , (). ,
. 64+64=128. 128+64=192, , . ,
: 64 128.
4. ? .
, .
5. ?
.
3.6 64 128,
.
3.6.
64 128
64
128
( )
65
129
( )
126
190
127
191
( )
, ,
. . , , . , ,
.
2:255.255.255.224
192.168.10.0 255.255.255.224.
192.168.10.0=
255.255.255.224=
1. ? 224 11100000, , 2 3 - 2=6.
2. ? 25 - 2=30.
106
3.7.
255.255.255.224
6
32
1 2 3 4 5
64
96
128
160
192
33
65
97
129
161
193
62
94
126
158
190
222
63
95
127
159
191
223
3:255.255.255.240
:
192.168.10.0=
255.255.255.240=
1. 240 11110000 . 2 4 - 2=14 .
2. 2 4 - 2=14.
3. 256-240=16. 16+16=32. 32+16=48. 48+16=64. 64+16=80. 80+16=96.
96+16=112. 112+16=128. 128+16=144. 144+16=160. 160+16=176.
176+16=192. 192+16=208. 208+16=224. 224+16=240 , . , 16, 32, 48, 64, 80, 96, 112, 128, 144, 160, 176,
192,208 224.
4. ?
5. ?
4 5 , , . , .
16
17
30
- 31
107
32
33
46
48
49
62
64
65
78
80
81
94
47
63
79
95
4:255.255.255.248
:
192.168.10.0=
255.255.255.248=
5
2. 2 - 2=6 .
3. 256 - 248=8, 16, 24, 32, 40, 48, 56, 64, 72, 80, 88, 96, 104, 112, 120, 128,
136, 144,152,160, 168,176, 184, 192, 200, 208, 216, 224, 232 240.
4. .5 ,
. 4 .
5. , , .
( ),
255.255.255.248 .
24
224
232
17
25
225
233
241
22
30
230
238
246
31
231
239
247
16
14
15
23
240
5: 255.255.255.252
192.18.10.0=
255.255.255.252=
1. 62.
2.2.
3. 4, 8,12 .. 248.
4. .5 ,
. 4 .
5. , , .
108
( ),
255.255.255.252 .
12
240
244
248
13
241
245
249
10
14
242
246
250
11
15
243
247
251
6: 255.255.255.128
, . . , 126 . ,
.
ip subnet-zero, ,
.
128 1000000 , .
, : 0 128.
,
. ,
255.255.255.128 .
128
129
126
254
127
255
, IP- 192.168.10.5
255.255.255.128, 0 128
. IP- 192.168.10.189, 128
, 128.
.
, . :
192.168.10.33=
255.255.255.224=
109
IP-. . 256-224=32. 32+32=64. !
192.168.10.32. 64, 63 ( ). : 10.33
10.62.
.
:
192.168.10.33=
255.255.255.240=
IP- ? 256-240=16. 16+16=32. 32+16=48.
32 48. ,
192.168.10.32, 47.
33 46.
,
.
. ,
, .
255.255.128.0
255.255.192.0
255.255.224.0
255.255.240.0
255.255.248.0
255.255.252.0
255.255.254.0
255.255.255.0
255.255.255.128
255.255.255.192
255.255.255.224
255.255.255.240
255.255.255.248
255.255.255.252
16 , .. 14 ,
.
.
.
110
, .
.
, .
, , 255 . .
16.0
32.0
16.255
32.255
.
1:255.255.192.0
172.16.0.0=
255.255.192.0=
1.2 2 -2=2.
2. 2 -2=16 382.
3. 256 - 192=64. 64+64=128.
4. . 5, . 4 .
5. ,
.
, .
64.0
128.0
64.1
128.1
127.254
191.254
127.255
191.255
. ,
.
2: 255.255.240.0
172.1..=
255.255.240.0=
1. 24-2=14.
111
2. 212-2=4094.
3. 256 - 240=16, 32, 48 .. 224. , 240.
4. . 5, . 4 .
5. ,
.
, 255.255.240.0.
16.0
32.0
48.0
16.1
32.1
48.1
31.254
47.254
63.254
31.255
47.255
63.255
3:255.255.254.0
1. 2 7 - 2=126.
2. 29-2=510.
3. 256-254=2, 4, 6, 8 .. 252.
4. . 5, . 4 .
5. ,
.
, 255.255.254.0.
2.0
4.0
6.0
8.0
2.1
.4.1
6.1
8.1
3.254
5.254
7.254
9.254
3.255
5.255
7.255
9.255
4:255.255.255.0
, 255.255.255.0 . , . 8- ..
. :
8
1.2 -2=254.
2. 2 8 - 2=254.
112
3. 256-255=1, 2, 3 .. 254.
4. , 5, . 4 .
5. ,
.
,
255.255.255.0 .
1.0
2.0
3.0
254.0
1.1
2.1
3.1
254.1
1.254
2.254
3.254
254.254
1.255
2.255
3.255
254.255
5:255.255.255.128
! ,
.
, 500
126 .
1. 2 9 - 2=510.
2. 27 - 2=126.
3. . 256-255=1, 2, 3 .. . .
? ( 1-
).
, .. 510 . ,
3, 3.0 3.128.
4. . 5, . 4 .
5. ,
.
, 255.255.255.128 .
0.128
1.0
1.128
2.0
2.128
3.0
3.128
0.129
1.1
1.129
2. 1
2.129
3.1
3.129
0.254
1.126
1.254
2. 126
2.254
3.126
3.254
0.255
1.127
1.255
2. 127
2.255
3.127
3.255
113
6:255.255.255.192
. 0 192 . .
1.210-2=1022 .
' ,
'
2. 26 - 2=62 .
3. 256-192=64 128.
, 0 .
, ,
192 .
4. . 5, . 4 .
5. ,
.
, :
0.64
0.128
0.192
1.0
1.64
1.128
1.192
0.65
0.129
0.193
1.1
1.65
1.129
1.193
0.126
0.190
0.254
1.62
1.126
1.190
1.254
0.127
0.191
0.255
1.63
1.127
1.191
1.255
,
0, 64, 128 192 .
0 255.
, 1
: 0, 64, 128 192.
7:255.255.255.224
,
.
1. 2" - 2=2046 .
2. 25 - 2=30 .
3. 256-224=32, 64, 96, 128, 160, 192. ,
224 , 0 255. , .
4. . 5, . 4 .
5. ,
.
:
114
0.32
0.64
0.96
0.128
0.160
0.192
0.224
0.33
0.65
0.97
0.129
0.161
0.193
0.225
0.62
0.94
0.126
0.158
0.190
0.222
0.254
0.63
0.95
0.127
0.159
0.191
0.223
0.255
, . ,
.
1.0
1.32
1.64
1.96
1.128
1.160
1.192
1.129
1.224
1.1
1.33
1.65
1.97
1.161
1.193
1.225
1.30
1.62
1.94
1.126
1.158
1.190
1.222
1,254
1.31
1.63
1.95
1.127
1.159
1,191
1.223
1.255
255.0
255.32
255.64
255.96
255.128
255.160
255.192
255.1
255.33
255.65
255.97
255.129
255.161
255.193
255.62
255.62
255.94
255.126
255,158
255.190
255.222
255.63
255.63
255.95
?
, :
: IP-
172.16.10.33 255.255.255.224?
: 256-224=32. 32+32=64. - 33 32 64.
, ,
: 10.32. 10.63,
10.64 .
:
: IP-
172.16.90.66 255.255.255.192?
: 256-192=64. 64+64=128. - 172.16.90.64. 172.16.90.127,
90.128.
: IP-
172.16.50.97 255.255.255.224?
: 256-224=32, 64, 96, 128. - 172.16.50.96, ' 172.16.50.127,
50.128.
115
: IP-
172.16.10.10 255.255.255.192?
: 256-192=64. 172.16.10.0, -172.16.10.63.
: IP-
172.16.10.10 255.255.255.224?
: 256-224=32. 172.16.10.0, -172.16.10.31.
, 24
16 .
:
255.128.0.0
255.192.0.0
255.224.0.0
255.240.0.0
255.248.0.0
255.252.0.0
255.254.0.0
255.255.0.0
255.255.128.0
255.255.192.0
255.255.224.0
255.255.240.0
255.255.248.0
255.255.252.0
255.255.254.0
255.255.255.0
255.255.255.128
255.255.255.192
255.255.255.224
255.255.255.240
255.255.255.248
255.255.255.252
.
, , .
116
IP-
, , . , (. ).
1:255.255.0.0
255.0.0.0, 22
, .
255.255.0.0 .
8
1.2 - 2=254.
16
2. 2 - 2=65, 534.
3. 256-255=1, 2, 3 .. ( ).
10.1.0.0, 10.2.0.0, 10.3.0.0 .. 10.254.0.0.
4. . 5, . 4 .
5. ,
.
3.8 ,
.
3.8.
10.1.0.0
10.254.0.0
10.1.0.1
10.254.0.1
10.1.255.254
10.254.255.254
10.1.255.255
10.254.255.255
2: 255.255.240.0
255.255.240.0 12 , 12
.
1. 212-2=4094.
2. 212 - 2=4094.
3. 256-240=16. 255 (
), 0, . , 10.1.0.0, 10.1.16.0, 10.1.32.0, 10.1.48.0 .. 10.1.240.0. : 10.2.0.0, 10.2.16.0, 10.2.32.0, 10.2.48.0 ..
10.2.240.0. , 240 ,
.
117
, 10.255.240.0 ,
.
10.255.224.0.
4. . 5, . 4 .
5. ,
.
3.9 .
3.9.
255.255.240.0
10.1.0.0
10.1.16.0
10.255.224.0
10.1.0.1
10.1.16.1
10.255.224.1
10.1.15.254
10.1.31.254
10.255.239.254
10.1.15.255
10.1.31.255
10.255.239.255
3:255.255.255.192
; ,
, .
1. 218 - 2=262 142 .
2. 26 - 2=62 .
3. ,
. 1 255,
, . 256-192=64. 0, .
, 192 ,
.
4. . 5, . 4 .
5. ,
.
,
255.255.255.192 .
118
10.1.0.192
10.1.0.0
10.1.0.64
10.1.0.128
10.1.0.65
10.1.0.129
10.1.0.193
10.1.0.1
10.1.0.62
10.1.0.126
10.1.0.190
10.1.0.254
10.1.0.63
10.1.0.127
10.1.0.191
10.1.0.255
255.255.255.192 .
10.255.255.0 ,
10.255.255.64
10.255.255.128
10.255.255.1
10.255.255.65
10.255.255.129
10.255.255.62
10.255.255.126
10.255.255.190
10.255.255.63
10.255.255.127
10.255.255.191
,
:
1. 172.16.10.5255.255.255.128
2. 172.16.10.33 255.255.255.224
3. 172.16.10.65 255.255.255.192
4. 172.16.10.17255.255.255.252
5. 1726.10.33255.255.255.240
6. 192.168.100.25255.255.255.252
7. 192.168.100.17 4
8. 192.168.100.66 3
9. 192.168.100.17 255.255.255.248
10. 10.10.10.5255.255.255.252
1.
?
A. IP
B. ARP
C. TCP
D. UDP
119
2.
?
A. IP
B. ARP
C. TCP
D. UDP
3. ?
A. IP
B. ARP
C. TCP
D. UDP
'-'
'
:
4. , , IP-,
?
A. RARP
B.
C. ICMP
D. TCP
E. IPX
5. ,
TCP/IP ?
A. RARP
B. ARP
C. ICMP
D. IP
E. TCP
6. IP- 172.16.10.22 255.255.255.240?
A. 172.16.10.20 172.16.10.22
B. 172.16.10.1 172.16.10.255
C. 172.16.10.16 172.16.10.23
D. 172.16.10.17 172.16.10.31
E. 172.16.10.17 172.16.10.30
7. ?
A. 1-126
B. 1-127
120
C. 128-190
D. 128-191
E. 129-192
F. 192-220
8. ?
A. 1 -127
B. 129-192
C. 203-234
D. 192-223
9. Ethernet?
A. 3
B. 4
C. 5
D. 6
E. 7
F. 8
G. 16
10.
?
A. RARP
B.
C. IP
D. ICMP
E. BootP
11.
?
A. 172.16.10.255
B. 172.16.255.255
C. 172.255.255.255
D. 255.255.255.255
12. IP- 254
?
A.
B.
C.
D. D
E.
13. 10.254.255.19
255.255.255.248?
A.
B.
C.
D.
121
10.254.255.23
10.254.255.24
10.254.255.255
10.255.255.255
14. 172.16.99.99
255.255.192.0?
A. 172.16.99.255
B. 172.16.127.255
C. 172.16.255.255
D. 172.16.64.127
15. 12 ,
?
A. 255.255.255.252
B. 255.255.255.248
C. 255.255.255.240
D. 255.255.255.255
16. ,
?
A. 1-1023
B. 1024
C. 1 - 256
D. 1-65534
17. ?
A. 1-1023
B. 1024
C. 1-256
D. 1-65534
18.
10.10.10.10 255.255.254.0?
A. 10.10.10.255
B. 10.10.11.255
C. 10.10.255.255
D. 10.255.255.255
19. 192.168.210.5
255.255.255.252?
A. 192.168.210.255
B. 192.168.210.254
C. 192.168.210.7
D. 192.168.210.15
6 {. 646
122
20. 510 ,
?
A. 255.255.255.252
B. 255.255.255.128
C. 255.255.0.0
D. 255.255.255.192
1. 172.16.10.0, 172.16.10.127, 172.16.10.1 126.
2. 172.16.10.32, 172.16.10.63, 172.16.10.33 10.62
3. 172.16.10.64, 172.16.10.127,
172.16.10.65 172.16.10.126
4. 172.16.10.16, 172.16.10.19, 172.16.10.17 18
5. 172.16.10.32, 172.16.10.47, 172.16.10.33 46
6. 192.168.100.24, 192.168.100.27,
192.168.100.25 26
7. 192.168.100.16, 192.168.100.31,
192.168.100.17 30
8. 192.168.100.64, 192.168.100.95,
192.168.100.65 94
9. 192.168.100.16, 192.168.100.23,
192.168.100.17 22
10. 10.10.10.4, 10.10.10.7,
10.10.10.5 6
1.
2.
3.
4.
5.
6.
7.
8.
?.
10.
11.
12.
13.
14.
D
D
15.
16.
17.
18.
19.
20.
/OS
124
Cisco
() Cisco IOS (Internetwork Operating System
) Cisco.
Cisco Fusion,
Cisco, .
Cisco .
, .
Cisco IOS, .
Cisco IOS, Cisco,
, CLI (Command-Line Interface ).
IOS
Cisco
IOS
. Cisco IOS Cisco
Cisco Catalyst, Catalyst 1900 (.
).
IOS Cisco
, Cisco:
()
Cisco IOS , Telnet. IOS EXEC ( ).
Cisco
Cisco (), .
Cisco, .
IPS
125
RJ-45 . .
.
Cisco (auxiliary port). .
.
.. () ,
.
Cisco
Telnet. ,
(dumbterminal). Telnet , Ethernet .
. 4.1 Cisco 2501.
.
. 4.1. 2501
,
2501
(WAN) AUI
(Attachment Unit Interface, )
10 / Ethernet. , 2501
RJ-45.
Cisco, POST (power-on self test). , Cisco IOS -, . -
" "
EEPROM (electronically erasable programmable read-only memory). IOS
,
(startup-config),
NVRAM (nonvolatile RAM).
NVRAM , (setup mode). .
126
: Basic
Management ( ) Extended Setup ( ). Basic Management , Extended
Setup , .
System Configuration Dialog
( )
Would you like to enterthe initial configuration dialog? [yes/no]:
( ?)
At any point you may enter a question mark'?' for help.
( )
Use ctrl-c to abort configuration dialog at any prompt.
( ctrl-c
)
Default settings are in square brackets'[]'.
( )
Basic Management , Extended Setup .
Would you like to enter basic management setup? [yes/no]: n
( )
First would you like to see the current interface summary? [yes]:return
( )
Any interface listed with OK? value "NO" does not have a valid configuration
( , OK? "NO",
)
Interface IP-Address
(IP-
FastEthernetO/0
OK?
unassigned
Method Status
Protocol
NO
unset up
up
up
(FastEthernetO/0
NO
FastEthernetO/1
unassigned NO
unset up
IPS
127
in the configuration.
(
EXEC .
.)
Enter enable secret: todd
( )
The enable password is used when you do not specify an enable secret password,
with some older software versions, and some boot images,
( , ,
)
Enter enable password: todd
( )
% Please choose a password that is different from the enable secret
(, , )
The virtual terminal password is used to protect access to the router over
a network interface.
(
)
Enter virtual terminal password: todd
( )
Configure SNMP Network Management? [yes]:enter or no
( SNMP?)
Community string [public] :enter
( )
Configure DECnet? [no]:enter
( DECnet?)
Configure AppleTalk? [no] :enter
( AppleTalk?)
Configure IP? [yes]:enter
( IP?)
Configure IGRP routing? [yes]: n
( IGRP?)
Configure RIP routing? [no]:enter
( RIP?)
128
IOS
129
Extended Setup
. FastEthernet: FastEthernet / FastEthernet 0/1. .
Configuring interface parameters:
( )
Do you want to configure FastEthernetO/0 interface? [yes]:return
( FastEthernetO/0?)
Use the 100 Base-TX (RO-45) connector? [yes]:return
( RJ-45 100 Base-TX?)
Operate in full-duplex mode? [no]: and return
( ?)
Configure IP on this interface? fyes]:return
( IP?)
IP address for this interface: 1.1.1.1
(IP- )
Subnet mask forthis interface [255.0.0.0]: 255.255.0.0
( )
Class A network is 1.0.0.0,16 subnet bits; mask is /16
( 1.0.0.0 , 16 , /16)
Do you want to configure FastEthernetO/1 interface? [yes]:return
Use the 100 Base-TX (RJ-45) connector? [yes]:return
Operate in full-duplex mode? [no]:y and return
Configure IP on this interface? [yes]:return
IP address forthis interface: 2.2.2.2
Subnet mask forthis interface [255.0.0.0]: 255.255.0.0
Class A network is 2.0.0.0,16 subnet bits; mask is /16
, . /16,
16- 32- (. 3).
Extended Setup
(running configuration):
The following configuration command script was created:
( )
hostname Todd
enable secret 5 $!$BOwu$5FOm/EDdtRkQ4vy4a8qwC/
enable password toddl
line vty 0 4
password todd
130
no bridge 1
no ipx routing
i
interface FastEthernetO/0
media-type lOOBaseX
full-duplex
ip address 1.1.1.1255.255.0.0
no mop enabled
i
interface FastEthernetO/1
media-type lOOBaseX
full-duplex
ip address 2.2.2.2 255.255.0.0
no mop enabled
dialer-list 1 protocol ip permit
end
[0] Go to the IDS command prompt without saving this config.
( IOS )
[1] Return back to the setup without saving this config.
( )
[2] Save this configuration to nvram and exit.
( NVRAM)
Enter your selection [2]:0
( )
Extended Setup . CLI
running-config [0], [1]
NVRAM, startup-config.
.
"", .. IOS . CLI.
CLI (Command-Line Interface) ,
. CLI
Initial Configuration Dialog.
.
IOS
131
()
Return Router>. (user mode),
,
(privileged mode). , Cisco
,
enable.
132
Router>
Router>enable
Routertf
Router#, . .
disable.
Routertfdisable
Router>
logout, .
Router>logout
Router conO is now available
( conO )
Press RETURN to get started.
( RETURN)
logout exit
.
Router>en
Router#logout
Router conO is now available
Press RETURN to get started.
CLI , config terminal ( :
config t), running-config.
config , Return .
Routertfconfig
Configuring from terminal, memory, or network [terminal]?return
( , )
Enter configuration commands, one per line. End with CNTL/Z.
( , .
CNTL/Z)
Router(config)#
, .
running-config, DRAM (Dynamic RAM) config terminal
IOS
133
CLI
, .
, Cisco.
.
,
, .
interface :
Router(config)#interface ?
Async
Async interface
BVI
Bridge-Group Virtual Interface
Dialer
Dialer interface
FastEthernet
FastEthernet IEEE 802.3
Group-Async
Async Group interface
Lex
Lex interface
Loopback
Loopback interface
Multilink
Multilink-group interface
Null
Null interface
Port-channel
Ethernet Channel of interfaces
Tunnel
Tunnel interface
Virtual-Template
Virtual Template interface
Virtual-TokenRing Virtual TokenRing
Router(config)#interface fastethernet 0/0
Router(config-if)#
, Router(config-if)#, . , (, Cisco ,
Windows).
134
. Router(config-subif)# (. 10
)
Router(config)#int fO/0.?
<0-4294967295> FastEthernet interface number
Router(config)#int fO/0.1
Router(config-subif)#
Line
line.
Router (config-line)#.
Routertfconfigt
Enter configuration commands, one per line. End with CNTL/Z.
Router(config)#line ?
<0-70> First Line number
aux
Auxiliary line
console Primary terminal line
tty
Terminal controller
vty
Virtual terminal
Router(config)#line console 0
Router(config-line)#
line console 0 () ( ,
config-line).
(, RIP IGRP)
(config-router)# (
5).
Routertfconfigt
Enter configuration commands, one per line. End with CNTL/Z.
Router(config)#router rip
Router(config-router)#
I , .
,
.
IOS
135
Cisco. (?)
( . -
).
Routertf?
Exec commands:
access-enable
access-profile
access-template
136
,
.
, !
, .
Routertfclock ?
set Set the time and date
Routerflclock set ?
hh:mm:ss Current Time
Router#clock set 10:30:10 ?
<1-31> Day of the month
MONTH Month of the year
Router#clock set 10:30:10 28 ?
MONTH Month'of the year
Router#clock set 10:30:10 28 may ?
<1993-2035>Year
Router#clockset 10:30:10 28 may 2000 ?
<cr>
Routertf
clock, . ,
, <cr> (carriage return, ).
, :
Routertfclock set 10:30:10
% Incomplete command,
( )
. " "
, .
:
Router(config)#access-list 110 permit host 1.1.1.1
IOS
137
, . ,
.
Routertfsh te?
WORD tech-support terminal
4.1 ,
Cisco.
4.1.
Ctrl+A
Ctrl+E
Esc+B
Ctrl+F
Esc+F
Ctrl+D
Backspace
Ctrl+R
Ctrl+U
Ctrl+W
Ctrl+Z
EXEC
Tab
/
( ) .
. ($)
.
Routertfconfig t
Enter configuration commands, one per line. End with CNTL/Z.
Router(config)#$ 110 permit host 171.10.10.10 0.0.0.0 host
(history)
, 4.2.
138
4.2.
Show history
10
Show terminal
( 256)
show history ,
show terminal.
show history 10 .
Routerftsh history
en
sh history
show terminal
shcdpneig
sh ver
sh flash
shinteO
sh history
shintsO
shintsl
show terminal
.
Router#sh terminal
Line 0, Location: "",Type:""
[ ]
History is enabled, history size is 10.
( , 10)
( )
Allowed transports are lat pad v!20 telnet mop rlogin nasi. Preferred is lat.
( : lat pad v!20 telnet mop rlogin nasi.
lat)'
No output characters are padded
( )
No special data dispatching characters
( )
Group codes:
( )
IOS
139
'
show terminal
Router#sh terminal
Line 0, Location:"", Type:""
[ ]
Editing is enabled,
( )
History is enabled, history size is 25.
( , 25)
Full user help is disabled
( )
Allowed transports are lat pad v!20 telnet mop rlogin nasi. Preferred is lat.
( : lat pad v!20 telnet mop rlogin nasi.
lat)
No output characters are padded
( )
No special data dispatching characters
( )
Group codes:
( )
show version , ,
.
Router#sh version
Cisco Internetwork Operating System Software
IOS (tm) 2500 Software (C2500-JS-L), Version 12.0(8), RELEASE SOFTWARE (fcl)
Copyright (c) 1986-1999 by cisco Systems, Inc.
Compiled Mon 29-Nov-99 14:52 by kpma
Image text-base: Ox0305lC3C, data-base: 0x00001000
ROM: System Bootstrap, Version ll.O(lOc), SOFTWARE
BOOTFLASH: 3000 Bootstrap Software (IGS-BOOT-R), Version ll.O(lOc),
RELEASE SOFTWARE (fcl)
RouterA uptime is 5 minutes
( 5 )
System restarted by power-on
( )
140
Cisco .
, . enable.
, Telnet.
.
Router(config)#enable ?
last-resort
Define enable action if no TACACS servers respond
IOS
password
secret
use-tacacs
141
142
line ?.
0-0, .
Router#config t
Enter configuration commands, one per line. End with CNTL/Z.
Router(config)#line aux ?
<0-0> First Line number
Router(config)#line aux 0
Router(config-line)#login
Router(config-line)#password todd
login, .
line console 0.
line console 0 ?,
. line console 0,
.
"exit".
Router(config-line)#line console ?
% Unrecognized command,
( )
Router(config-line)#exit
Router(config)#line console ?
<0-0> First Line number
Router(config)#line console 0
Router(config-line)#login
Router(config-line)#passwordtoddl
, line console 0.
, .
IOS
143
Router(config-line)#exec-timeout 0 ?
<0-2147483> Timeout in seconds
(- )
<>
Router(config-line)#exec-timeout
Router(config-line)#logging synchronous
Telnet
Telnet
line vty. ,
Enterprise Cisco IOS, VTY ( 0 4). Enterprise 198 (0 197). -.
.
Router(config-line)#line vty 0 ?
<1-197> Last Line Number
<cr>
Router(config-line)#line vty 0197
Router(config-line)#login
Router(config-line)#passwordtodd2
Telnet , VTY,
" , ".
Telnet
, no login.
Router(config-line)#line vty 0 197
Router(config-line)#no login
144
.
-
.
, show running-config
.
Routertfsh run
[ ]
enable secret 5 $l$rFbM$8.aXocHg6yHrM/zzeNkAT.
enable password toddl
[
[ ]
line con 0
password toddl
login
lineauxO
password todd
login
Iinevty04
password todd2
login
Iinevty5197
password toddZ
login
I
end
Router#
service
password-encryption. :
Rputertfconfigt
Enter configuration commands, one per line. End with CNTL/Z.
Router(config)#service password-encryption
Router(config)#enable password todd
Router(config)#line vty 0197
IOS
145
Router(config-line)#login
Router(config-line)#passwordtodd2
Router(config-line)#line con 0
Router(config-line)#login
Router(config-tine)#passwordtoddl
Router(config-line)#line aux 0
Router(config-line)#login
Router(config-line)#passwordtodd
Router(config-line)#exit
Router(config)#no service password-encryption
/v
Router(config)# Z
show running-config ,
.
Routertfsh run
Building configuration...
( )
[ ]
i
line con 0
password 7 111D160113
login
i
line aux 0
password 7 071B2E484A
login
line vty 0 4
password 7 0835434AOD
login
line vty 5 197
password 7 09463724B
login
|
end
Routertf
146
Cisco (banner ), ()
Telnet, , (
,
, ,
.). ,
. ( ):
Router(config)#banner ?
LINE
_ , '' -
exec
-
incoming
Login
()
motd
Message of the Day ( )
Message of the Day, , ( ) Telnet, .
Router(config)#banner motd ?
LINE banner-text , where '' is a delimiting character
Router(config)#banner motd #
Enter TEXT message. End with the character's1.
Sized to be in Acme.com network, then you must disconnect immediately,
ft
Router(config)#AZ
Route r#
00:25:12: %SYS-5-CONFIG_I: Configured from console by console
Routertfexit
Router conO is now available
Press RETURN to get started.
If you are notauthorizedtobeinAcme.com network, then you must disconnect
immediately.
( Acme.com, )
Route >
MOTD , .
. . ,
IOS
147
. ,
. ,
Return, ,
Return. , , , .
:
Exec (line-activation, exec) EXEC (, VTY).
(incoming banner)
, Telnet. Telnet.
(login banner) . MOTD, (
). .
banner login.
. .
. : ,
, .
. , 2522 10- ( 0 9):
Router(config)#int serial ?
<0-9> Serial interface number
,
. , 5:
Router(config)#int serial 5
Router(config)-if)#
2522 Ethernet lOBaseT. interface ethernet 0 .
Router(config)#int ethernet ?
<0-0> Ethernet interface number
148
Router(config)#int ethernet 0
Router(config-if)#
i
2500 ,
.. . . 2600, 3600,
4000 7000
. , 2600 interface type slot/port:
Router(config)#int fastethernet ?
<0-1> FastEthernet interface number
Router(config)#int f astethernet 0
% Incomplete command.
Router(config)#int fastethernet 0?
/
Router(config)#int fastethernet 0/?
<0-1> FastEthernet interface number
, int fastethernet 0.
type slot/port int fastethernet /. ,
type int fa /.
media-type.
.
Router(config)#int fa /
Router(config-if)#media-type ?
lOOBaseX Use RJ45 for -TX; SC FO for -FX
Mil
Use Mil connector
shutdown, no shutdown. " " (administratively down) show interface. show running-config
"" (shut down).
.
RoutertfshinteO
EthernetO is administratively down, line protocol is down
[ ]
no shutdown:
Routertfconfigt
Enter configuration commands, one per line. End with CNTL/Z.
Router(config)#inteO
Router(config-if)#no shutdown
Router(config-if)#AZ
IOS
149
IP-
He IP ,
. IP- ip address
.
Router(config)#int eO
Router(config-if)#ip address 172.16.10.2 255.255.255.0
Router(config-if)#no shut
He no shut. , show interface eO. ( ). show running-config
.
,
secondary. IP- Enter, IP- . IP- secondary.
Router(config-if)#ip address 172.16.20.2 255.255.255.0 secondary
Router(config-if)#AZ
show running-config ( : sh run).
Router#sh run
Building configuration...
Current configuration:
[ ]
I
interface EthernetO
ip address 172.16.20.2 255.255.255.0 secondary
ip address 172.16.10.2 255.255.255.0
VIP
7000 7500 VIP (Versatile Interface
Processor ) interface type slot/port adapter/port number,
:
7000(config)#interface ethernet 2/0/0
150
. CSU/DSU,
.
" ", .
DCE. Cisco DTE, , .
clock rate ( ).
Routertfconfigt
Enter configuration commands, one per line. End with CNTL/Z.
Router(config)#int sO
Router(config-if)#clock rate ?
Speed (bits per second)
1200
2400
4800
9600
19200
38400
56000
64000
72000
125000
148000
250000
500000
800000
1000000
1300000
2000000
4000000
<300-4000000>
IOS
151
, bandwidth.
Cisco
(.. 1.544 /). .
IGRP, EIGRP OSPF . RIP,
.
Router(config-if)#bandwidth ?
<1-10000000> Bandwidth in kilobits
Router(config-if)#bandwidth 64
clock rate, bandwidth .
hostname.
, .. .
Routertfconfigt
Enter configuration commands, one per line. End with CNTL/Z.
Router(config)#hostname todd
todd(config)#hostname Atlanta
Atlanta(config)#
, ,
.
, ,
, . , .
Atlanta(config)#int eO
Atlanta(config-if)#description Sales Lan
Atlanta(config-if)#int sO
Atlanta(config-if)#desc Wan to Miami circuit:6fdda4321
s h o w running-config show interface.
Atlanta#sh run
[ ]
interface EthernetO
152
interface SerialO
,
. yes, DRAM (.. ) , NVRAM startup-config.
DRAM NVRAM
running-config startup-config. : copy run start
also.
Routertfcopy run start
Destination filename [startup-config]?return
Warning: Attempting to overwrite an NVRAM configuration previously written
by a different version of the system image.
(: NVRAM ,
)
Overwrite the previous NVRAM configuration?[confirm]return
( NVRAM)
Building configuration...
( )
, startup-config. IOS
12.8, 11.3.
IPS
153
show runningrconfig
show startup-config . sh run (
show running-config) .
Router#sh run
Building configuration...
Current configuration:
version 12.0
service timestamps debug uptime
service timestamps log uptime
no service password-encryption
t
hostname Router
ip subnet-zero
frame-relay switching
i
[ ]
s
version 12.0
service timestamps debug uptime
service timestamps log uptime
no service password-encryption
j
hostname Router
ip subnet-zero
frame-relay switching
i
[ ]
startup-config erase startup-config.
(startup-config).
Route rtferase startup-config
Erasing the nvram filesystem will remove all files! Continue? [confirm]
7 .646
154
[OK]
Erase of nvram: complete
;
Routertfsh start
,
%% Non-volatile configuration memory is not present
( )
Routerfl
i
,
show running-config. show startup-config , .
running-config,
, Ping Telnet.
Ping ping ? .
Routertfping ?
WORD
Ping destination address or hostname
appletalk Appletalk echo
decnet
DECnetecho
ip
IP echo
ipx
Novell/IPX echo
srb
<cr>
srb echo
, show cdp
nei detail ,
Ping.
Trace ,
. .
Routertftrace ?
WORD
Trace route to destination address or hostname
appletalk AppleTalk Trace
clns
ISO CLNS Trace
ip
IP Trace
oldvines Vines Trace (Cisco)
vines
Vines Trace (Banyan)
<cr>
IOS
155
'
'
- r
'
'
Show Interface
show interface. show interface ?, .
, , Ethernet
Serial ().
Routerflshint?
Ethernet
IEEE 802.3
Null
Null interface
Serial
Serial
accounting Show interface accounting
crb
Show interface /bridging info
irb
Show interface /bridging info
<cr>
show interface ethernet 0 , ,
.
Router#shinteO
EthernetO is up, line protocol is up
Hardware is Lance, address is 0010.7b7f.c26c (bia 0010.7b7f.c26c)
Internet address is 172.16.10.1/24
MTU 1500 bytes, BW10000 Kbit, DLY1000 usec,
reliability 255/255, txload 1/255, rxload 1/255
Encapsulation ARPA, loopback not set keepalive set (10 sec)
ARP type: ARPA, ARP Timeout 04:00:00
Last input 00:08:23, output 00:08:20, output hang never
Last clearing of "show interface" counters never
Queueing strategy: fifo
Output queue 0/40,0 drops; input queue 0/75,0 drops
156
IOS
157
Show Controllers
^ show controllers . , . DTE,
DSU (Data Service Unit).
158
(), .
1.
64k .
2. Telnet "connection refused, password not set" ( ,
).
.
3. show inter et 0 , . ?
4. NVRAM.
5. .
6. cisco.
7. , .
8. .
9. Cisco , TFTP?
10. Chicago?
IOS
159
Cisco,
.
Cisco, .
4.1.
1. Return .
.
2. Router> (?).
3. more .
4. Enter .
5. .
6. ' q .
7. enable en, Enter. , .
8. Router# (?).
.
9. q .
10. config Enter.
1 1. Enter .
12. Router(config)# (?), q .
13. interface eO int eO Enter. Ethernet 0.
14. Router(config-if)# - (?).
15. int sO interface sO ( interface serial 0)
Enter. serial 0.
.
16. encapsulation?.
17. exit. .
18. Control Z. .
19. disable. .
20. exit, .
160
<> 4.2.
;
1. , en enable.
2. (?).
3. cl? Enter. , "cl".
4. clock ? Enter.
| . 3 4. 3
,
, "cl". 4
, ,
.
5. clock ?, ,
.
6. clock ?.
7. clock set ?.
8. clock set 10:30:30 ?.
9. clock set 10:30:30 14 March ?.
10. clock set 10:30:30 14 March 2001.
11. Enter.
12. show clock, .
13. show access-list 10. Enter.
14. Ctrl+A. .
15. Ctrl+E. .
16. Ctrl+A, Ctrl+F.
.
17. Ctrl+B, .
18. Return, Ctrl+P. .
19. " ".
.
20. sh history. 10 .
1OS
161
4.3.
1. , en enable, Enter.
2. NVRAM sh start
Tab Enter, show startup-config Enter. . ,
.
3. NVRAM (
startup-config) :
copy run start Enter.
copy running, Tab, start, Tab,
Enter.
copy running-config startup-config Enter.
4. sh start, Tab, Enter.
5. sh run, Tab, Enter.
6. erase start, Tab, Enter.
7. sh start, Tab, Enter. .
8. reload Enter. , Enter. .
9. Ctrl+C.
162
4.4.
1. , en enable.
2. config t Enter.
3. enable ?.
4. , enable secret password ( password )
Enter. He password
secret ( password). todd .
5. , . , Ctrl+Z,
exit Enter. . . , .
6. . , config t Enter. no enable secret
Enter. , .
7.
. , , .
:
config t
enable password toddl
8. , . .
9. config t,
, line ?.
10. line , vty . .
11. Telnet ( vty) line vty 0 4 Enter. 0 4
Telnet. Enterprise IOS . , .
12. . login Enter
Telnet. ,
.
IOS
163
| I no login Telnet
.
,':(";'-'',
;"'.'
'' .'
"
N
line con 0
login
password todd2
exec-timeout
22. , logging synchronous.
config t
line con 0
logging synchronous
164
4.5.
, , IP-
1. , en enable.
2. hostname. , . :
Routertfconfig t
Router(config)#hostname RouterA
RouterA(config)#
Enter.
3. banner.
4. config t, banner ?.
5. .
Message of the Day (MOTD).
6. MOTD,
,
Telnet. :
config t
banner motdft
This is an motd banner ( MOTD)
#
7. #. . - .
8. MOTD:
config t
no banner motd
9. (login banner):
config t
banner login #
This is a login banner ( )
ff
10. MOTD,
.
,
, vty.
IOS
165
11. :
config t
no banner login
12. IP- IP address. , ,
:
config t
int ( int Ethernet 0 too)
ip address 1.1.1.1 255.255.0.0
no shutdown
IP- (l.l.l.l) (255.255.0.0) . no shutdown ( no shut)
() .
.
13. description.
. , . :
config t
tat sO
ip address 1.1.1.2 255.255.0.0
no shut
description Wan link to Miami
(: )
14. ,
(WAN). :
config t
int sO
bandwidth 64
clock rate 64000
1. IOS ?
A. Boot ROM
B. NVRAM
C. -
D. ROM
2. ?
166
A. clear flash
B. erase start
C. setup
D. setup mode
3. ?
A. Exit
B. Quit
C. Disable
D. Control+Z
4. ?
A. Ctrl+E
B. Ctrl+F
C. Ctrl+B
D. Ctrl+A
5. ?
A. Ctrl+E
B. Ctrl+F
C. Esc+B
D. Ctrl+A
6.
?
A. Ctrl+E
B. Ctrl+F
C. Ctrl+B
D. Ctrl+A
7.
?
A. Ctrl+E
B. Ctrl+F
C. Esc+B
D. Ctrl+A
8. IOS, ?
A.
B.
C.
D.
Show flash
Show flash file
Show ip flash
Sh ver
9. EEPROM ?
IOS
A.
B.
C.
D.
167
Show flash
Show flash file
Show ip flash
Sh ver
Sh intsO
Shint serial 0
Sho controllers s 0
Sho controllers sO
11. ?
A. No logging
B. Logging
C. Logging asynchronous
D. Logging synchronous
12. Telnet
?
A. Login
B. No login
13. - ?
A. Timeout 10
B. Timeout 1
C. Exec-timeout 1
D. Exec-timeout 01
168
15. ?
A. Line aux I
B. Line aux 0
C. Line aux 0 4
D. Line aux port
16. Telnet Cisco?
A. Line telnet 0, encryption on, password todd
B. Line vty 0, password encryption, password todd
C. Service password encryption, line vty 0 4, password todd
D. Password encryption, line vty 0 4, password todd
17. ?
IOS
169
' . ' - - .
1. clock rate 64000
2. config t line vty 0 4, no login
3. config t int eO, no shut
4. erase startup-config
5. config t, line console 0, login, password todd
6. config t, enable secret Cisco
7. show controllers s 0
8. show terminal
9. config net
10. config t hostname Chicago
1.
2.
3.
4.
5.
6.
7.
8. D
9.
10.
11.
12.
13.
14.
15.
16.
17. D
18. ,
19. D
20.
IP
172
.
, . () , . :
,
.
, , .
, ,
. ,
() .
(
)
. , .
. , . ,
.
IP-
IP- ,
. , . 5.1 .
172.16.10.2
172.16.20.2
>ping 172.16.20.2 8i
0:172.16.10.1 i*-^' : 172.16.20.1
. 5.1. IP-
IP
173;
Ping IP- .
, :
.'. 1. ping 172.16.20.2.
IP
ICMP.
2. IP ARP
, IP- .
, .. ,
.
3. ,
, .
.
, ARP.
4. IP- ARP,
ARP IP- 172.16.10.1. Ping -,
. - .
5.
Ethernet, .
. - ICMP (Ping) , , . IP- (ICMP)
.
6. , , .
, , ( , IP Ethernet_II). . 5.2 ,
.
. 5.2 , : , IP- , , CRC , FCS (Frame Check
Sequence).
174
172.16.10.2
>ping 172.16.20.2
172.16.20.2
1
: 172.16.20.1
0:172.16.10.1
ARP:
172.16.10.1?
ARP:
. 0000.1234
FCS
. 5.2. ,
7. .
.
8. Ethernet 0 ,
. CRC,
FCS. ,
.
9. .
, .
IP, IP, . .
( )
.
10. IP IP- , , .
IP- 172.16.20.2,
, 172.16.20.0 Ethernet 1.
11. Ethernet 1.
175
IP
.
ARP, ,
.
ARP, ARP Ethernet 1
IP- 172.16.20.2.
12.
ARP. Ethernet 1
. . 5.3 ,
.
172.16.10.2
172.16.20.2
>ping 172.16.20,2
: 172.16.10.1
0:172.16.20.1
ARP:
172.16.10.2?
ARP:
.0000.4321
FCS
. 5.3. ,
, Ethernet 1 ,
Ethernet 1 . , ,
, , IP- . , .
13. CRC.
, , IP. IP- . IP- , IP
.
176
IP-
IP.
. ,
? . 5.4
: 2501, 2501, 2501 2621.
.
. 5.4. IP-
. 5.4 2501,
, 2621, 2501
Ethernet. Ethernet.
,
. 5.1 IP-. ,
IP-. 24- (255.255.255.0).
,
IP-, no shutdown. . IP- .
IP
177
5.1.
IP
.2621
172.16.10.0
172.16.10.1
2501
172.16.10.0
sO
sO
s1
172.16.10.2
2501
172.16.20.0
2501
172.16.20.0
2501
172.16.40.0
2501
172.16.30.0
2501
2501
172.16.40.0
172.16.50.0
sO
172.16.20.1
172.16.20.2
172.16.40.1
172.16.30.1
172.16.40.2
172.16.50.1
2621
2621 IP- FastEthernet /. .
;
Router>en
Routertfconfig t
Router (config)#hostname 2621A
2621A(Config)#interface faO/0
2621A(Config-if)#ip address 172.16.10.1 255.255.255.0
2621A(Config-if)#no shut
(
4).
Cisco IP- show ip route. . , ..
172.16.10.0.
2621A#sh ip route
Codes: - connected, S - static, I - IGRP, R - RIP, M - mobile, - BGP D - EIGRP, EX EIGRP external, 0 - OSPF, IA - OSPF inter area N1 - OSPF NSSA external type 1, N2 OSPF NSSA external type 2 El - OSPF external type 1, E2 - OSPF external type 2, E EGP i - IS-IS, LI - IS-IS level-1, L2 - IS-IS level-2, * - candidate default U - per-user
static route, - ODR, P - periodic downloaded static route - traffic engineered
route
(: - , S - , I - IGRP, R - RIP, M - , BGP D - EIGRP, EX - EIGRP, - OSPF, IA - OSPF N1 OSPF NSSA 1, N2 - OSPF NSSA 2 El - OSPF 1, E2 - OSPF 2, E - EGP i - IS-IS, LI - IS-IS 1, L2 IS-IS 2, * - U - , - ODR, P -
- )
178
> 5
Gateway of last resort is not set
( )
172.16.0.0/24 is subnetted, I subnets
( 172.16.0.0/24, )
2501
. 2501 : Ethernet 0 serial 0.
Router>en
Routertfconfigt
Router(config)#hostname 2501A
2501A(config)#inteO
2501A(config-if)#ip address 172.16.10.2 255.255.255.0
2501A(config-if)#noshut
2501A(config-if)#intsO
2501A(config-if)#ip address 172.16.20.1 255.255.255.0
2501A(config-if)#no shut
serial 0 172.16.20.0, Ethernet 0 172.16.10.0. show ip route:
2501A#sh ip route
Codes: - connected, S - static, I - IGRP, R - RIP, M [ ]
Gateway of last resort is nqt set
172.16.0.0/24 is subnetted, 2 subnets
. . . . " . . ' . -
'
' -
2501 , 172.16.10.0
172.16.20.0. 2621 , .
. '
2501
2501 , clock rate
, (
clock rate 4).
IP
179
Router>en
Routertfconfig t
Router(config)#hostname 2501B
2501B(config)#inteO
2501B(config-if)#ip address 172.16.30.1 255.255.255.0
2501B(config-if)#no shut
2501B(config-if)#intsO
250lB(config-if)#ip address 172.16.20.2 255.255.255.0
250lB(config-if)#clock rate 64000
250lB(config-if)#no shut
250lB(config-if)#intsl
2501B(config-if)#ip address 172.16.40.1 255.255.255.0
2501B(config-if)#clock rate 64000
250lB(config-if)#noshut
IP-, .
show ip route 172.16.20.0,
172.16.30.0 172.16.40.0.
2501 Btfship route
Codes: - connected, S - static, I - IGRP, R - RIP, M [ ]
Gateway of last resort is not set
172.16.0.0/24 is subnetted, 3 subnets
2501C
2501C 2501 .
Router>en
Route r#configt
Router(config)#hostname 2501C
2501C(config)#inteO
2501C(config-if)#ip address 172.16.50.1 255.255.255.0
2501C(config-if)#no shut
180
5
2501C(config-if)#intsO
250lC(config-if)#ip address 172.16.40.2 255.255.255.0
2501C(config-if)#noshut
Ethernet 0 172.16.50.0, serial 0 172.16.40.0. show ip route ,
2501:
250lC#ship route
Codes: - connected, S - static, I - IGRP, R - RIP, M [ ]
Gateway of last resort is not set
IP-
IP-. ?
,
. . ,
, ?
.
, . . ,
.
:
,
.
IP
181
.
,
.
:
(
)
:
.
, .
, .
()
:
ip route [_] [] [__
_] [_][]
:
ip route .
_ (destination network) , .
(mask) .
__ (next hop address) ,
. . ,
Ping.
_ (exit interface) . "-" (, ), , Ethernet.
_ (administrative distance) , 1. ,
"" .
982
(permanent)
, . ""
.
,
. 5.4.
2621
.
.
2621 172.16.10.0.
2621 ,
:
172.16.20.0
. 172.16.30.0
172.16.40.0
172.16.50.0
2621 . 2621 ,
, . , 172.16.10.2, 2621 .
2621A(Config)#ip route 172.16.20.0 255.255.255.0 172.16.10.2
2621A(Config)#ip route 172.16.30.0 255.255.255.0 172.16.10.2
2621A(Config)#ip route 172.16.40.0 255.255.255.0 172.16.10.2
2621A(Config)#ip route 172.16.50.0 255.255.255.0 172.160.2
show running-config show ip route . ,
,
. permanent
, .
-D
2621A#ship route
IP
183
S
172.16.50.0 [1/0] via 172.16.10.2
S
172.16.40.0 [1/0] via 172.16.10.2
S
172.16.30.0 [1/0] via 172.16.10.2
S
172.16.20.0 [1/0] via 172.16.10.2
2501
2501 172.16.10.0 172.16.20.0.
:
. 172.16.30.0
172.16.40.0 172.16.50.0
2501 :
2501A(Config)#ip route 172.16.30.0 255.255.255.0172.16.20.2
2501A(Config)#ip route 172.16.40.0 255.255.255.0 172.16.20.2
2501A(Config)#ip route 172.16.50.0 255.255.255.0 172.16.20.2
, ,
2501 , .
2501A#sh ip route
Codes: - connected, S - static, I - IGRP, R - RIP, M [ ]
Gateway of last resort is not set
172.16.0.0/24 is subnetted, 5 subnets
S
172.16.50.0 [1/0] via 172.16.20.2
S
172.16.40.0 [1/0] via 172.16.20.2
S
172.16.30.0 [1/0] via 172.16.20.2
184
2501
2501 172.16.20.0,
172.16.30.0 172.16.40.0. : 172.16.10.0
172.16.50.0.
2501B(Config)#ip route 172.16.10.0 255.255.255.0 172.16.20.1
2501B(Config)#ip route 172.16.50.0 255.255.255.0 172.16.40.2
2501.
2501B#ship route
Codes: - connected, S - static, I - IGRP, R - RIP, M [ ]
Gateway of last resort is not set
172.16.0.0/24 is subnetted, 5 subnets
S
172.16.50.0 [1/0] via 172.16.40.2
2501
2501 172.16.40.0
172.16.50.0.
172.16.10.0, 172.16.20.0 172.16.30.0. :
2501C(Config)#ip route 172.16.10.0 255.255.255.0172.16.40.1
2501C(Config)#ip route 172.16.20.0 255.255.255.0172.16.40.1
2501C(Config)#ip route 172.16.30.0 255.255.255.0 172.16.40.1
show ip route, 2501.
2501C#sh ip route
Codes: - connected, S - static, I - IGRP, R - RIP, M [ ]
Gateway of last resort is not set
S
S
IP
S
2501C#
185
,
.
, . ,
.
. Ping. Ping
2621 2501
.
Ping 172.16.50.0 2621:
2621A#ping 172. 16.50.1
( escape )
186
,
. (stub network), .. , .
2621 2501.
2501 2501, ,
.
2501C ,
172.16.50 .
2501 172.16.40.1, ..
2501. 2621
172.16.10.1 2501.
- (wildcards). , .
2501.
2501
172.16.40.0 172.16.50.0. 172.16.10.0, 172.16.20.0 172.16.30.0.
. . , .
2501C(Config)#no ip route 172.16.10.0 255.255.255.0 172.16.40.1
2501C(Config)#no ip route 172.16.20.0 255.255.255.0 172.16.40.1
2501C(Config)#no ip route 172.16.30.0 255.255.255.0 172.16.40.1
250lC(Config)#ip route 0.0.0.0 0.0.0.0172.16.40.1
,
, S*.
, .
2501C#sh ip route
Codes: - connected, S - static, I - IGRP, R - RIP, M [ ]
- IS-IS level-1, L2 - IS-IS level-2, * - candidate default U - per-user static route,
o-ODR
Gateway of last resort is 172.16.40.1 to network 0.0.0.0172.16.0.0/24
is subnetted, 5 subnets
IP
187
S*
0.0.0.0/0 [1/0] via 172.16.40.1
2501
,
(gateway of last resort).
IP.
: ip classless. Cisco
, .. .
, , . ip classless,
.
12.x
IOS, ip classless . ,
, :
250lC(Config)#ip classless
. ,
ip classless.
. ip classless,
.
. ,
. ,
.
: RIP (Routing Information Protocol )
IGRP (Interior Gateway Routing Protocol
). ,
Enhanced Interior Gateway Routing Protocol (EIGRP) Open
Shortest Path First (OSPF), CCNP: Routing Study Guide Sybex,
Advanced Cisco Router
Configuration.
| I CCNA 2
RIP IGRP.
188
AD (administrative distance). , .
0 255, 0 , 255
.
5.2 , Cisco
.
5.2.
EIGRP
90
IGRP
100
OSPF
110
RIP
120
EIGRP
170
255 ( )
,
.
,
. , 1.
IP
189
:
(Distance vector)
. (hop). . .
RIP IGRP.
(Link state) " - " (shortest path first). .
, , . , ,
, . IP- OSPF.
(Hybrid)
(, EIGRP).
. .
.
.
.
.
" ",
, ,
.
, .
. , .
RIP . RIP
, (
190
,*
172.1JJJO.O SO |
. 16.10
""
D
172.16.50.0
. 5.5. "
172.16.30.0 1
1.544 /, 172.16.20.0 56,
1, 56. RIP ,
"". " " (pinhole congestion).
. . 5.6 , ,
.
172.16.30.0
172.16.20.0
172.16.40.0
172.16.50.0
Routing Table -
. 5.6.
191
IP
, .
. 5.6,
.
. , .
. 5.7 ,
.
(convergence, ).
. , ,
. , RIP .
172.16.30.0
172.16.50.0
2501
2621
Routing Table
Routing Table
Routing Table
172.16.10.0
172.16.20.0
SO 0
172.16.40.0
SO
172.16.20.0
SO
172.16.30.0
EO
172.16.50.0
EO
172.16.30.0
SO
172.16.10.0
SO
172.16.40.0
SO
S1 0
172.16.10.0 SO 1
172.16.20.0
SO 1
172.16.50.0
SO
172.16.50.0
S1 1
172.16.30.0
so
172.16.40.0
Routing Table -
. 5.7.
, ,
. , (), .
" "
.
. ,
.
.
192
" "
(routing
loop).
( ) - . ,
5 . 5.8. , 5 . 5 , . 5, .
, 5
. , D 5, ,
.
,
5, , , D
. 5
, , .
"
. 5.8.
30 : ", , ".
5. D , 5
, 5. 5 , , .
. : "
?".
(counting to infinity) "" .
,
.
IP
193
()
(split horizon).
. ,
. ,
.
(route poisoning). , 5,
5 16, .. ( " " infinite). 5
5.
, , " " (poison reverse). ,
.
(. )
,
30 ( )
.
(holddown) , ,
, .
194
5
.
,
. .
, , , . ,
,
. ,
, ,
. .
.
, .
, , . .
,
:
1. .
2.
.
3.
() .
RIP
RIP (Routing Information Protocol) . 30 . RIP
, .
15 , .. 16 . RIP ,
,
.
RIP 1 , ..
. , RIP 1
. RIP 2
IP
195
(prefix routing) . , .
RIP 1, CCNA.
RIP
RIP
:
(Route update timer)
( 30 ) . .
(Route invalid timer) (90 ),
. ,
. , , .
(Route flush timer) (240 ) .
.
.
, .
RIP
RIP
router rip RIP , .
RIP .
2621
RIP 120.
1 ,
,
RIP.
.
no ip route. , 2621 ip route
.
2621A#configt
Enter configuration commands, one per line. End with CNTL/Z.
196
2501
RIP 2501 , . ,
120, RIP.
, RIP.
2501A#configt
Enter configuration commands, one per line. End with CNTL/Z.
2501B
2501 . RIP.
2501B#configt
Enter configuration commands, one per line. End with CNTL/Z.
IP
197
2501B(config)#router rip
2501B(config-router)#network 172.16.0.0
A
2501B(config-router)# Z
2501B#
2501C
2501C ,
default route. , RIP.
RouterC#configt
Enter configuration commands, one per line. End with CNTL/Z.
RouterC(config)#no ip route 0.0.0.0 0.0.0.0 172.16.40.1
RouterC(config)#router rip
RouterC(config-router)#network 172.16.0.0
RouterC(config-router)#AZ
RouterC#
05:10:31: %SYS-5-CONFIG_I: Configured from console by console
. 0, 1,
RIP 120. RIP "
",
.
RIP
, "
RIP .
2621.
2621A#sh ip route
Codes: - connected, S - static, I - IGRP, R - RIP, M [ ]
Gateway of last resort is not set
172.16.0.0/24 is subnetted, 5 subnets
R
172.16.50.0 [120/3] via 172.16.10.2, FastEthernetO/0
R
172.16.40.0 [120/2] via 172.16.10.2, FastEthernetO/0
R
172.16.30.0 [120/2] via 172.16.10.2, FastEthernetO/0
R
172.16.20.0 [120/1] via 172.16.10.2, FastEthernetO/0
172.16.10.0 is directly connected, FastEthernetO/0
262
198
, , . R RIP. [120/3]
(120) (3).
2501.
2501A#ship route
Codes: - connected, S - static, I - IGRP, R - RIP, M [ ]
Gateway of last resort is not set
172.16.0.0/24 is subnetted, 5 subnets
R
172.16.50.0 [120/2] via 172.16.20.2,00:00:11, SerialO
R
172.16.40.0 [120/1] via 172.16.20.2,00:00:11, SerialO
R
172.16.30.0 [120/1] via 172.16.20.2,00:00:11, SerialO
IP
199
RIP . 15 ( 16
)
30 ,
.
RIP
RIP
. ,
RIP .
RIP . passive-interface. RIP.
RIP.
passive-interface:
RouterAtfconfig t
RouterA(config)#router rip
RouterA(config-router)#network 10.0.0.0
RouterA(config-router)#passive-interface serial 0
RIP serial 0, RIP .
.
. ,
IGRP
IGRP (Interior Gateway Routing Protocol) Cisco . IGRP
Cisco. Cisco
RIP.
IGRP 255,
100. ,
15 , RIP. , IGRP , RIP. IGRP ,
.
(composite metric). , MTU (Maximum Transmission Unit ), .
200
IGRP
IGRP :
(Update timer) , . 90 .
(Invalid timer) , , .
.
(Holddown timer) .
10 .
,
(Flush timer) , . .
IGRP
IGRP
,
RIP. : (AS). AS.
. IGRP:
RouterA#configt
RouterA(config)#routerigrp 10
RouterA(config-router)#network 172.16.0.0
,
IGRP , RIP, AS.
, .
IGRP . RIP , IGRP
. .
variance, .
IP
201
IGRP
IGRP ,
RIP. AS
. , AS, . AS, 10.
IGRP.
2621
AS
1 65535. AS,
.
2621A#configt
Enter configuration commands, one per line. End with CNTL/Z.
2621A(config)#routerigrp ?
<l-65535> Autonomous system number
: .
V
202
5
2621A(config)#routerigrp 10
2621A(config-router)#netw 172.16.0.0
A
2621A(config-router)# Z
2621A#
router igrp IGRP. RIP, , . IGRP , .. .
2501
2501 IGRP AS, 10, :
2501A#configt
Enter configuration commands, one per line. End with CNTL/Z.
2501A(config)#routerigrp 10
2501A(config-router)#netw 172.16.0.0
2501A(config-router)#AZ
2501A#
2501B
2501 , , IGRP
AS, 10.
2501B#configt
Enter configuration commands, one per line. End with CNTL/Z.
2501B(config)#routerigrp 10
2501B(config-router)#netw 172.16.0.0
2501B(config-router)#AZ
2501B#
\
2501C
2501C,
AS, 10.
2501C#configt
Enter configuration commands, one per line. End with CNTL/Z.
2501C(config)#routerigrp 10
2501C(config-router)#netw 172.16.0.0
2501C(config-router)#AZ
RouterC#
IP
203
IGRP
. show ip route.
,
IGRP. RIP, , , , .
, RIP, IGRP
RIP
2621 ( ,
).
2621A#sh ip route
Codes: - connected, S - static, I - IGRP, R - RIP, M - [ ]
- traffic engineered route
Gateway of last resort is not set
I
I
I
I
204
/
2501:
2501B#ship route .
Codes: - connected, S - static, I - IGRP, R - RIP, M - [ ]
U - per-user static route, - ODR
Gateway of lastVesort is not set
172.16.0.0/24 is subnetted, 5 subnets
I
172.16.50.0 [100/8576] via 172.16.40.2,00:01:11, Seriall
i<
2501C#shiproute
Codes:-connected,S-static,I-IGRP,R- RIP,- []
U - per-user static route, - ODR
Gateway of last resort is not set
'.
,
. , Cisco .
. .
show ip route
show protocols
show ip protocol
debug ip rip
debug ip igrp events
debug ip igrp transactions
IP
205
Show Protocols
show protocols .
2501B#sh protocol
Global values:
Internet Protocol routing is enabled
( IP)
EthernetO is up, line protocol is up
( EthernetO , )
Internet address is 172.16.30.1/24
( : 172.16.30.1/24)
SerialO is up, line protocol is up
Internet address is 172.16.20.2/24
Seriall is up, line protocol is up
Internet address is 172.16.40.1/24
250.1
IP- Ethernet 0, serial 0 serial 1 2501.
IPX AppleTalk,
.
Show IP Protocol
show ip protocol ,
. ,
(RIP IGRP), , IGRP , .
show ip protocols . , RIP 30 , . , RIP
172.16.0.0, 172.16.40.2 172.16.20.1.
2501B#ship protocol
Routing Protocol is "rip"
Sending updates every 30 seconds, next due in 6 seconds Invalid after
180 seconds, hold down 180, flushed after 240
( 30 ,
6 . 180 , ,180,
240)
206
Redistributing: rip
( RIP)
Default version control: send version 1, receive any version
( : 1,
)
Interface
Send
Recv
Sena 11
12
(
EthernetO
1
12
SerialO
I
12
Key-chain
IP
Gateway
Distance
172.16.40.2
100
172.16.20.1
100
Distance: (default is 100)
207
Last Update
00:00:47
00:01:18
show ip protocols .
AS, , , ,
(100).
270 ,
. , . 280 ,
.
.
,
. ,'
.
Debug IP RIP
debug ip rip
. Telnet, terminal monitor, debug.
, - RIP serial I, serial 0 Ethernet 0.
debug ip rip , .
2501B#debugiprip
RIP protocol debugging is on
2501B#
07:12:56: RIP: received vl update from 172.16.40.2 on Seriall
07:12:56:172.16.50.0 in 1 hops
208
2501B#undebugall
All possible debugging has been turned off
2501B#
undebug all no debug all. un all.
Debug IP IGRP
debug ip igrp : events () transactions
(), :
2501B#debugip igrp ?
events
IGRP protocol events
transactions IGRP protocol transactions
.
IP
209
.
1. 172.16.10.0/24 172.16.20.1 150.
2. RIP
10.0.0.0.
3. RIP serial 1.
4. AS 10
IGRP 172.16.0.0.
5. 172.16.50.3.
6.
?
210
7.
?
>.
8. , ?
9.
.
10.
?
, 2501 2621.
. 5.9
.
172.16.30.0
172.16.50.0
. 5.6.
5.1.
, . Ping.
1. 2621 172.16.10.0/24.
172.16.20.0/24, 172.16.30.0/24, 172.16.40.0/24 172.16.50.0/24.
2621 ,
"" .
2621#configt
2621(config)#ip route 172.16.20.0 255.255.255.0172.16.10.1
2621(config)#ip route 172.16.30.0 255.255.255.0 172.16.10.1
2621(config)#ip route 172.16.40.0 255.255.255.0 172.16.10.1
2621(config)#ip route 172.16.50.0 255.255.255.0 172.16.10.1
IP
211
2. 2621,
(enabled mode), copy run
start Enter.
3.
172.16.10.0/24, 172.16.30.0/24, 172.16.40.0/24 172.16.50.0/24.
RouterA#configt
RouterA(config)#ip route 172.16.30.0 255.255.255.0172.16.20.2
RouterA(config)#ip route 172.16.40.0 255.255.255.0 172.16.20.2
RouterA(config)#ip route 172.16.50.0 255.255.255.0 172.16.20.2
,
172.16.30.0/24 IP- 172.16.20.2, ,
172.16.30.0/24 (.. ). 172.16.40.0/24 172.16.50.0/24.
4. , , copy run start Enter.
5.
172.16.10.0/24 172.16.50.0/24,
.
"" :
RouterB#config t
RouterB(config)#ip route 172.16.10.0 255.255.255.0 172.16.20.1
RouterB(config)#ip route 172.16.50.0 255.255.255.0 172.16.40.2
,
172.16.10.0/24 172.16.20.1.
172.16.50.0/24 172.16.40.2.
, copy run start
Enter, .
6. 172.16.50.0/24
172.16.40.0/24. 172.16.30.0/24,
172.16.20.0/24 172.16.10.0/24. ,
"" :
RouterC#configt
RouterC(config)#ip route 172.16.30.0 255.255.255.0 172.16.40.1
RouterC(config)#ip route 172.16.20.0 255.255.255.0 172.16.40.1
RouterA(config)#ip route 172.16.10.0 255.255.255.0 172.16.40.1
, copy run start
Enter, .
Ping . ,
.
212
5.2.
RIP
RIP
.
1. no ip
route. :
RouterAtfcbnfigt
RouterA(config)#no ip route 172.16.10.0 255.255.255.0 172.16.11.2
RouterA(config)#no ip route 172.16.30.0 255.255.255.0 172.16.20.2
RouterA(config)#no ip route 172.16.40.0 255.255.255.0 172.16.20.2
RouterA(config)#no ip route 172.16.50.0 255.255.255.0 172.16.20.2
RouterA(config)#no ip route 172.16.55.0 255.255.255.0 172.16.20.2
,
2621. sh run Enter , .
2.
,
config t.
3. RIP,
router rip Enter:
config t
router rip
4. , , network 172.16.0.0 Enter.
5. Ctrl+Z ().
6. , 2621 :
Config t
Router rip
Network 172.16.0.0
7. RIP ,
:
show ip protocol
show ip route
show running-config or show run
8. .
run start copy running-config startup-config Enter.
IP
213
9. , Ping
.
5.3.
IGRP
IGRP
RIP.
1. , en enable.
2. RIP . RIP,
no router rip, :
config t
no router rip
3. router igrp ?.
4. . AS . 10 Enter. AS.
5. (config-router)
network 172.16.0.0.
.
6. Ctrl+Z .
7. , 2621 :
RouterB(config)#routerigrp 10 '
RouterB(config-router)#network 172.16.0.0
8. IGRP, :
show ip protocol
RIP IGRP,
.
ship route
"" : 10, 11, 15, 20, 30,
40, 50 55. ,
, I, ..
IGRP. RIP,
(100/23456).
(100) .
RIP 120,
IGRP ,
214
5
RIP. ( ) ,
.
show running-config
, RIP IGRP.
9. copy running-config startup-config copy run start Enter .
10. , Ping , .
1. RIP?
A.
B.
C.
D.
2. IGRP?
A.
B.
C.
(
D.
3. IGRP?
A. sh ip route
B. sh ip protocol
C. sh ip broadcast
D. debug ip igrp
4. RIP?
A.
B.
C. TTL
D. ,
5. ?
A. Router(config-if)#no routing
B. Router(config-if)#passive-interface
C. Router(config-router)#passive-interface sO
D. Router(config-router)#no routing updates
IP
215
6. IGRP? ( .)
A.
B.
C. TTL
D.
E.
7. 16
RIP?
A. 16
B.
C.
D. 16-
E.
8. ?
A.
B.
C.
D.
9. ?
A. .
B. () .
C.
.
D. .
10. ?
A. , ,
B. , ,
C.
D. , ,
216
11.
IGRP?
A. 90
B. 100
C. 120
D. 220
12. ?
A. route ip 172.0.0.0 255.0.0.0 sO
B. ip route 0.0.0.0 0.0.0.0 172.16.20.1
C. ip route 0.0.0.0 255.255.255.255 172.16.20.1
D. route ip 0.0.0.0 0.0.0.0 172.16.10.1150
13. IP?
A. RIPV2
B. EIGRP
C. OSPF
D. IGRP
14. RIP? (
)
A. sh ip route
B. sh ip rip
C. sh rip network
D. debug ip rip
15. ?
( .)
A. 60 .
B. 60 .
C. 30 .
D. 90 .
16. Cisco IOS
IP?
A. sh ip config
B. shiparp
C. sh ip route
D. sh ip table
17. ?
A.
B.
C. 0 255
IP
217
D. 0 1023
18. S ?
A.
B.
C.
D.
19. IP-?
A. IP- .
B. IP- .
C. .
D. .
20. ? ( )
A. .
B. .
C. .
D. .
E. .
1. ip route 172.16.10.0 255.255.255.0 172.16.20.1150
2. config t
router rip
network 10.0.0.0
3. config t
router rip
passive-interface serial 1
4. config t
router igrp 10
network 172.16.0.0
5. config t
ip route 0.0.0.0 0.0.0.0 172.16.50.3
6.
7.
8.
9. variance
10. debug ip rip
9 ). 646
218
1. D
2. D
3.
4.
5.
6.
7.
8.
9.
10.
D,E
D
11.
12.
13.
14.
15.
16.
17.
18.
19.
20.
A,D
D
B,D
(VLAN)
220
(Virtual LAN)
2 "" (.
. 6.1). , ,
.
. 6.1.
2
,
Ethernet, ..
.
, .
"" 2 . , "" . .
.
VLAN 2, .
,
, .
, . , .
(VLAN)
221
.
,
. , .
,
. "",
.
,
.
.
, ""
VLAN.
VLAN . , VLAN.
, 3 RSM (route switch module) , VLAN
.
, . .
, , . ,
.
.
VLAN .
.
.
,
. VLAN, . ,
.
222
2 , ,
. . VLAN . VLAN
VLAN.
VLAN
(
switch fabric) ,
.
(NIC,
network interface card) .
VLAN ,
VLAN,
.
VLAN, .
, VLAN , . . 6.2 (collapsed backbone),
.
.
. . . 6.3
, .
,
.
, VLAN.
. 6.1. ,
223
(VLAN)
. . . 6.3 VLAN ( ). VLAN
, VLAN
. VLAN (. . 6.2).
. 6.2 ' ?
3,
VLAN (. . 6.3). VLAN, , 3.
VLAND
. 6.3.
VLAN
VLAN ,
. , (static VLAN) . , VLAN.
VLAN
VLAN . .
VLAN ,
224
. VLAN
, VLAN , .
. .
VLAN
VLAN . VLAN
(MAC), . , - VLAN. , VLAN ,
VLAN. . , VLAN.
.
Cisco VMPS
(VLAN Management Policy Server, ) -,
VLAN. VMPS
- VLAN.
VLAN
VLAN .
, VLAN. (frame tagging).
.
:
(Access link) ,
VLAN .
, ,
VLAN. , . VLAN
.
VLAN, .
(Trunk link) VLAN.
(VLAN)
225
,
.
, .
Fast Ethernet Gigabit Ethernet.
VLAN, Ethernet, Cisco : ISL 802. lq. VLAN VLAN.
"" VLAN (..
),
.
N
,
VLAN. , VLAN. {) , .
VLAN ID .
Cisco , Ethernet .
() VLAN .
VLAN ID,
. , , .
, VLAN. - VLAN.
VLAN
, , VLAN.
VLAN . :
ISL ISL (Inter-Switch Link ) Cisco FastEthernet Gigabit Ethernet.
,
, . VLAN,
226
"80/20".
VLAN ( ). 3 , .
IEEE 802.1q IEEE
. VLAN. Cisco
802.lq,
.
LANE LANE (LAN emulation)
VLAN ATM.
802.10 (FDD!) VLAN FDDL.
SAID VLAN. Cisco.
| I CCNA ISL.
ISL
ISL (Inter-Switch Link) VLAN Ethernet. VLAN . LSL
VLAN, , . ISL
FastEthernet
- .
ISL Cisco, ISL Cisco. VLAN, 802.lq (. CCNP: Switching
Study Guide).
ISL , ..
, 26- ISL.
, 4- FCS (frame check sequence).
, , ISL. 1522 . ISL , , Ethernet
1518 .
VLAN ( ) . (NIC, network interface card), ISL,
(VLAN)
227
VLAN. VLAN , .
.
, . , ISL VLAN.
, ISL VLAN
, . ISL , .
"-"
100- 1000 / , . VLAN
( 1 1005 ). 10 /.
VLAN, , ,
. 3 ()
. ,
VLAN.
,
VLAN.
VLAN ,
.
Cisco DTP (Dynamic Trunking
Protocol, )
Catalyst 4.2 ISL 802.lq. DTP "-",
802. lq.
VLAN
VLAN . VLAN 2 OSI.
VLAN 3.
228
,
VLAN,
ISL.
ISL 2600. 1600, 1700 2500 ISL .
VLAN (
),
lOBaseT FastEthernet. lOBaseT,
FastEthernet.
VLAN , , ISL FastEthernet RSM (route switch module) 5000. RSM
1005 VLAN, . FastEthernet
ISL Cisco
(router-on-a-stick : "
").
Cisco VTP (VLAN Trunk Protocol ) VLAN . VTP
, VLAN, .
VTP :
VLAN
VLAN ,
Ethernet ATM LANE FDDI
VLAN
VLAN
VLAN Plug-and-Play ( )
VTP VLAN , VTP. ,
VLAN, ,
. ,
VTP ,
VTP.
VTP , . VLAN,
VTP . VTP
.
(VLAN)
229
VTP,
VLAN.
VTP . VTP. "" (VTP
transparent mode).
VTP
, , .
VLAN VTP,
,
VLAN. VLAN ID,
802.10 SAID LANE. , . ,
, , .
VTP
VTP (. . 6.4).
NVRAM
NVRAM
NVRAM
. 6.4. VTP
(Server) Catalyst. VTP VLAN. ,
VLAN VTP. VTP
. , , VTP.
230
(Client) VTP, , .
VLAN, VTP
VLAN. ,
VLAN, .
(Transparent)
VTP, VTP . VTP VLAN ,
. .
(revision number) VTP. . 6.5
.
1. VLAN
2. N+1
4.N+1
5.
VLAN
4.N+1
5.
VLAN
VTP ,
. 6.5. VTP
(VLAN)
231
, VTP ,
, .
(pruning).
VTP , .
, . ,
, VLAN 5, VLAN 5,
.
VTP .
VTP ,
. VLAN 2 1005 . VLAN 1
, VLAN.
.
1. VTP
VLAN ?
2. VLAN Cisco?
3. VLAN?
4. ?
5. VTP ?
6. ?
7. ?
8. : ISL ,
?
9. VLAN "" VLAN?
10. Cisco VLAN ?
232
_ 1. VLAN ? (
.)
A. VLAN Cisco.
B. VLAN
.
C. 10 .
D. VLAN , .
2.
VLAN?
A. DHCP
B.
C.
D.
3. ISL?
A. 1518
B. 1522
C. 4202
D. 8190
4. VLAN ?
A.
B.
C. DHCP
D. Management Policy Server VLAN
5. ? ( .)
A. Virtual Trunk Protocol
B. VLAN
C. Trunk
D. ISL
6. ? ( .)
A. .
B. .
(VLAN)
233
C. VTP 5000 .
D. VTP
, VTP.
7. Cisco FCS?
A. ISL
B. 802. lq
C. 802.3z
D. 802.Su
8. VTP?
A.
, .
B.
, .
C. .
D. .
9. VTP
? ( .)
A. VLAN 1
B.
C. VLAN
D. VLAN
, Ethernet ATM LANE
FDDI
E. VLAN
F. VLAN
G. VLAN Plug-and-Play
. Plug-and-Play
10. VTP?
A. VTP.
B. VTP.
C. VTP Cisco
Cisco.
D. VTP.
234
11. ?
A. .
B. Ethernet, Token Ring, FDDI
ATM.
C. 10-,
100- 1000 /.
D. VLAN.
12. VTP?
A. 60 .
B.
,
NVRAM .
C. ,
NVRAM .
D.
,
NVRAM .
13. IEEE ?
A. ISL
B. 802.32
C. 802.1q
D. 802.3u
14. ?
A. VLAN.
B. VLAN ,
.
C.
VLAN, .
D. VLAN VLAN.
15. ?
A. VLAN.
B. VLAN ,
.
C.
VLAN, .
D. VLAN VLAN.
(VLAN)
235
16. ?
A. VLAN
B. VLAN VLAN
C. FastEthernet Gigabit Ethernet
D. VLAN ""
VLAN
17. IEEE ?
A. ISL
B. LANE
C. SAID
D. 802.1q
18. , VTP ?
A. ISL
B.
C.
D.
19. ISL?
A. 2
B. 6
C. 26
D. 1522
20. ?
A. VLAN
B. VLAN
C. ISL
D. 802.lq
1.
2. ISL
3.
4.
5.
236
6.
VLAN.
7. () . VLAN ID .
8.
9.
10. ISL
1. D
11. D
2. ,
12.
3.
13.
4.
5.
6.
7.
8.
9.
10.
D
C,D
B,D
B.C.D.E.F, G
14.
15.
16.
17.
18.
19.
20.
A,D
,
D
D
Cisco
238
Cisco
Cisco
Cisco (.
7.1).
7.1.
Cisco
Bootstrap ( )
ROM
.
IOS.
POST ROM
,
.
ROM monitor (
" ")
ROM
.
Mini-IOS (-)
: RXBOOT (bootloader)
Cisco.
IOS ROM, Cisco IOS -.
minMOS
.
, ,
, .
Running-config RAM, a IOS
RAM.
Cisco IOS.
- . - EEPROM Intel.
. NVRAM .
Configuration register
( )
.
show
version. 0x2102, IPS -.
Cisco
239
:
1. POST, , . , POST . POST ROM.
2. Cisco IOS. ROM, .
IOS .
IOS -
Cisco.
3. IOS NVRAM. startup-config , NVRAM.
4. startup-config NVRAM,
. . startup-config NVRAM, (setup
mode configuration).
Cisco 16- .
NVRAM.
Cisco IOS -
startup-config NVRAM.
15-0,
. Cisco 0x2102. 13, 8 1 (. 7.2). , 1, 2, 4 8 .
| | ,
.
240
7.2.
15141312
11 10 9 8
7654
3210
0 0 1 0
0 0 0 1
0000
0010
7.3
. 6 NVRAM. (. ).
7.3.
0-3
0x0000 -OxOOOF
(. 7.4).
0x0040
NVRAM.
0x0080
OEM.
0x0100
10
0x0400
IP- .
11-12
0x0800-0x1000
13
0x2000
ROM ,
.
14
0x4000
IP- .
15
0x8000
NVM.
( 0 3) . 7.4 .
0 9
F (=10, =11, =12, 0=13, =14 F=15). .. 210F
210(15)
1111 .
Cisco
241
7.4.
( 00 03 )
00
ROM
01
ROM
02 F
ROM 2100.
. rommonX
ROM IOS
2101.
router(boot)>.
2102 210F
, NVRAM.
show version ( : sh version show ver):
Router#sh version
Cisco Internetwork Operating System Software
IOS (tm) C2600 Software (C2600-I-M), Version 12.0(3)73, RELEASE SOFTWARE (fcl)
[ ]
Configuration register is 0x2102
( 0x2102)
. 0x2102, .. .
show version IOS. IOS 12 0(3).
:
ROM
( Break)
ROM
TFTP (Trivial File Transfer Protocol
)
242
.
show version.
config-register. , ROM
:
Router(config)#config-register 0x0101
Router(config)#AZ
Routertfshver
[ ]
Configuration register is 0x2102 (will be 0x0101 at next reload)
( 0x2102, 0x0101
)
show version ,
, .
() .
, , . 6 NVRAM
.
0x2102, .. 6 . NVRAM (startup-config).
,
NVRAM (
. . .}. 6 0x2142.
:
1. Break.
2.
(.. 0x2142).
3. .
4. .
5. startup-config running-config.
Cisco
243
6. .
7. .
8. .
,
2600 2500.
rommon 1>
"boot" aborted due to user interrupt.
rommon 1>.
config-register. , 0x2142.
Cisco 2600
Cisco 2600
rommon 1>:
rommon 1 > confreg 0x2142
You must reset or power cycle for new config to take effect
(
/ )
244
Cisco 2500
2500 . .
/,
.
2501:
System Bootstrap, Version ll.O(lOc), SOFTWARE
Copyright (c) 1986-1996 by Cisco Systems
2500 processor with 14336 Kbytes of main memory
Abort at OX1098FEC (PC) ( Oxl098FEC)
>
Configuration register = 0x2102 at last boot
( = 0x2102)
Bit# Configuration register option settings:
( )
15
Diagnostic mode disabled
( )
14
IP broadcasts do not have network numbers
( IP )
13
Boot default ROM software if network bootfails
( ROM
)
12-11 Console speed is 9600 baud
( 9600 )
10
IP broadcasts with ones
(IP- )
08
Break disabled
( )
07
OEM disabled
( OEM)
Ignore configuration disabled
( )
03-00 Boot file is cisco2-2500 (or 'boot system' command)
( cisco2-2500 boot system)
>o/r0x2142
:
2600 reset.
2500 I
(.. initialize ).
( startup-config). No
Cisco
245
, Enter , enable
.
. startup-config running-config:
config t
enable secret todd
, config-register:
config t
config-register 0x2102
.
Cisco IOS
Cisco
IOS TFTP
() . TFTP.
Cisco IOS - . -, Cisco IOS
- TFTP, .
-
Cisco IOS
IOS , - . show flash ( sh flash)
- ():
246
Router#sh flash
System flash directory:
( -)
File
(
1
Length
8121000
Name/status
/)
c2500-js-l.112-18.bin
Routertf
(c2500-js-l.H2-18.bin),
:
2500 Cisco 2500.
j .
s .
I - .
11.2-18 (revision number).
.bin Cisco IOS.
,
- 16 384 ( 16 ). , 10 . . , - IOS, .
Cisco IOS
Cisco IOS TFTP
flash tftp. - IP- TFTP.
TFTP. Ping , :
Routertfping 192.168.0.120
Type escape sequence to abort.
Sending 5,100-byte ICMP Echos to 192.168.0.120, timeout is 2 seconds:
Success rate is 100 percent (5/5), round-trip min/avg/max = 4/4/8 ms
Cisco
247
8121000 c2500-js-l.H2-18.bin
248
Cisco IOS
Cisco IOS - , , IOS. - TFTP
copy tftp flash. IP- TFTP - .
,
TFTP.
TFTP. TFTP, .
| | IOS TFTP -
.
IOS 9
.
copy tftp flash IOS ROM:
Routertfcopy tftp flash
**** NOTICE****
Flash load helper vl.O
( vl.O)
This process will accept the copy options and then terminate the current system
image to use the ROM based image for the copy. Routing functionality will not be
available during that time. If you are logged in via telnet this connection will
terminate. Users with console access can see the results of the copy operation.
( ,
ROM
. . Telnet,
.
)
********
Proceed? [confirm](press enter)
Enter . TFTP,
Enter.
System flash directory:
File Length Name/status
1
8121000 /C2500-JS-1.112-18
[8121064 bytes used, 8656152 available, 16777216 total]
Cisco
249
[04
'
250
7
[8121064 bytes used, 8656152 available, 16777216 total]
Accessing file 'c2500-js56i-Ll20-9.bin' on 192.168.0.120...
Loading c2500-js56i-l.l20-9.bin .from 192.168.0.120 (via EthernetO):! [OK]
( c2500-js56i-1.120-9.bin 192.168.0.120
EthernetO)
Erasing device...
( )
Loading c2500-js56i-l.120-9.bin from 192.168.0.120 (via EthernetO):
[ ]
-. (!) UDP.
:
[ -10935532/16777216 bytes]
Verifying checksum... OK (Ox2E3A)
( )
Flash copy took 0:06:14 [hh:rnm:ss]
%FLH: Re-booting system after download
( )
- , IOS.
I Cisco TFTP
, -.
tftp-server
_5.
Cisco
running-config. copy run start
running-config,
/ . , , ,
.
TFTP,
.
Cisco
251
Cisco
TFTP
copy running-config tftp copy startup-config tftp.
, DRAM, NVRAM.
'->''
,
NVRAM. show startup-config ( : sh
start):
Router#sh start
Using 366 out of 32762 bytes
i
version 11.2
.
.
NVRAM 32 , 366 . NVRAM 11.2 (
running-config startup-config).
, , running-config, copy running-config startup-config (. ).
NVRAM
running-config NVRAM , running-config . IOS 12.0 ,
. , IOS
252
TFTP
NVRAM
TFTP copy running-config tftp ( :
copy run tftp):
Route rtfcopy run tftp
Address or name of remote host []? 192.168.0.120
Destination filename [router-confg]? toddl-confg
11
487 bytes copied in 12.236 sees (40 bytes/sec)
Router#
(!!),
UDP. toddl-confg, .
,
-confg .
Cisco
running-config startup-config.
copy startup-config running-config ( :
copy start run).
Cisco config mem. ( ) running-config NVRAM.
Cisco
253
TFTP ,
tftp running-config ( : copy tftp run) the copy tftp startup-config
( : copy tftp start).
config net.
Router#copy tftp run
Address or name of remote host []? 192.168.0.120
Source filename []? toddl-confg
Destination filename [running-config]? (press enter)
Accessing tftp://192.168.0.120/toddl-confg...
Loading toddl-confg from 192.168.0.120 (via EthernetO):
i;
[OK-487/4096 bytes]
487 bytes copied in 5.400 sees (97 bytes/sec)
Router#
00:38:31: %SYS-5-CONFIG: Configured from tftp://
192.168.0.120/toddl-confg
Routertf
ASCII. , TFTP ,
.
startup-config Cisco
erase startup-config:
Router#erase startup-config
Erasing the nvram filesystem will remove all files!
Continue? [confirm](press enter)
( NVRAM .
?)
[]
Erase of nvram: complete
( NVRAM: )
Routertf
' NVRAM .
. ,
254
Cisco Discovery Protocol
CDP (Cisco Discovery Protocol Cisco) , Cisco
. CDP
. .
CDP
show cdp ( : sh cdp) CDP, Cisco:
CDP , CDP
.
CDP , .
Cisco
.
:
Router#sh cdp
Global CDP information:
( CDP)
Sending CDP packets every 60 seconds
( CDP 60 )
Sending a holdtime value of 180 seconds
( 180 )
Router#
CDP
cdp holdtime cdp timer.
Router#configt
Enter configuration commands, one per line. End with CNTL/Z.
Router(config)#cdp ?
holdtime Specify the holdtime (in sec) to be sent in packets
( ,
)
timer
Specify the rate at which CDP packets are sent(in sec)
( CDP )
Router(config)#cdp timer 90
Router(config)#cdp holdtime 240
Router(config)#AZ
Cisco
255
cdp r u n .
no cdp enable cdp enable (. ).
show cdp neighbor ( : sh cdp nei) . ,
Cisco, "" .
"" , .
show cdp neighbor 2509:
Todd2509#sh cdp nei
Capability Codes: R - Router, - Trans Bridge, - Source Route Bridge
S - Switch, H - Host, I - IGMP, r - Repeater
( : R - , -
, - , S - , - , I IGMP, r - )
Device ID
Local Intrfce
Holdtme Capability
Platform
Port ID
(
)
1900Switch E t h O
'238
TS
1900
2
2500
SerO
138
R
2500
SerO
Todd2501#
!
'
' ; ; . . . . . ;
- ' . ^
; .
7.5 , show cdp
neighbor .
show cdp neighbor detail ( : show cdp nei de) . .
:
Todd2509#sh cdp neighbor detail
Device ID: 1900Switch
Entry address(es):
( /)
IP address: 0.0.0.0
Platform: cisco 1900, Capabilities: Trans-Bridge Switch
Interface: EthernetO, Port ID (outgoing port): 2
Holdtime: 166 sec
Version:
V9.00
256
7.5.
show cdp neighbor
Device ID ( ) .
Local Interface ( ) , CDP.
Holdtime ( )
CDP.
Capability ()
, ,
.
.
Platform ()
Cisco.
Cisco 2509, Cisco 2511
Catalyst 5000. 2509 2501, serial 0.
Port ID ( )
,
CDP.
IP- .
show cdp neighbor (. 7.5). show cdp nei g h b o r detail IOS
.
show cdp entry * , show cdp
neighbor details. show cdp entry * :
Todd2509#sh cdp entry *
Device ID: 1900Switch
Entry address(es):
IP address: 0.0.0.0
Cisco
257
show cdp traffic ,
, -
.
show cdp traffic :
Routertfsh cdp traffic
CDP counters:
( CDP)
Packets output: 13, Input: 8
( : 13, : 8)
Hdr syntax: 0, Chksum error: 0, Encaps failed: 0
( : 0, : 0,
: 0)
No memory: 0, Invalid packet: 0, Fragmented: 0
( " ": 0, : 0, : 0)
Routertf
show cdp interface ( : sh cdp inter)
.
no cdp
run. no cdp
enable. cdp enable. CDP.
,
258
Cisco
259
Telnet
Telnet TCP/IP. Telnet
,
.
Telnet
. Telnet telnet
(DOS Cisco).
VTY.
, .
Telnet
.
telnet ,
:
Todd2509#telnet 172.16.10.2
Trying 172.16.10.2... Open
( 172.16.10.2. )
Password required, but none set
( , )
[Connection to 172.16.10.2 closed by foreign host]
( 172.16.10.2 )
Todd2509#
, ! VTY , .. VTY no login (.
4).
Cisco tetr
net. IP-,
Telnet, :
Todd2509#172.16.10.2
Trying 172.16.10.2 ...Open
260
7
2501B(config)#line vty 0 4
2501B(config-line)#login
2501B(config-line)#password todd
2501B(config-line)#AZ
2501B#
%SYS-5-CONFIG_I: Configured from console by console
( )
( 2509).
Todd2509#172.16.10.2
Trying 172.16.10.2... Open
User Access Verification ( )
Password: ()
2501B>
VTY ,
. , Telnet 2501:
2501>
% No password set
2501>
.
Telnet enable,
.
Telnet .
Telnet
Telnet
, exit!
,
, Ctrl+Shift+, , X.
Todd2509:
Todd2509#telnet 172.16.10.2
Trying 172.16.10.2... Open
User Access Verification
Password:
Cisco
261
2501>
Todd2509#
Telnet 2501.
password . Ctrl+Shift+, X (
, ). ,
Todd2509.
Telnet 1900. 15 ,
Telnet ( 1900 ).
Telnet 1900,
.
Todd2509#telnet 192.168.0.148
Trying 192.168.0.148... Open
Catalyst 1900 Management Console
Copyright (c) Cisco Systems, Inc. 1993-1999
All rights reserved.
Enterprise Edition Software
Ethernet Address:
00-BO-64-75-6B-CO
PCA Number:
PCA Serial Number:
73-3122-04
FAB040131E2
Model Number:
WS-C1912-A
262
"_
Telnet
show sessions.
Todd2509#sh sessions
Byte
0
0
Idle
0
0
Conn Name
172.16.10.2
192.168.0.148
"" (*) ,
. , Enter. Enter.
Telnet
VTY show users.
Todd2509#sh users
Line
*OconO
User
Host(s)
172.16.10.2
192.168.0.148
Idle Location
00:07:52
00:07:18
Host(s)
idle
Idle Location
9
, VTY
2.
.
Telnet
Telnet . exit disconnect.
exit.
Cisco
263
2509# ( Enter)
[Resuming connection 2 to 192.168.0.148... ]
( 2 192.168.0.148)
switch >exit
[Connection to 192.168.0.148 closed by foreign host]
( 192.168.0.148 )
Todd2509#
disconnect
Todd2509#disconnect ?
<1-2>
The number of an active network connection
( )
WORD
The name of an active network connection
( )
<>
Todd2509#disconnect 1
Closing connection to 172.16.10.2 [confirm]
Todd2509#
1,
2501. show
sessions.
, Telnet, . show users.
2501B#sh users
Line
User
* 0 con 0
Host(s)
idle
Idle Location
0
1 aux 0
idle
2vtyO
idle
0172.16.10.1
, VTY 2 IP-
172.16.10.1. Todd2509.
clear line.
2501B#clearline2
[]
[OK]
show users.
2501B#sh users
264
Line
* 0 con 0
lauxO
User
Idle Location
Host(s)
idle
idle
0
1
250
, .
}
IP- , , , ()
IP-. :
DNS (Domain Name System ),
.
,,
,.--,-.-:.
- '
,;
-.'.
, .
:
ip host name __ 1_
<0-65535>
A.B.C.D
( Telnet )
Host IP address (maximum of 8)
(IP- , )
<cr>
Todd2509(config)#ip host 2501B 172.16.10.2
Todd2509(config)#ip host 192.168.0.148
Todd2509(config)#AZ
show hosts.
Cisco
265
Todd2509#sh hosts
Default domain is not set
Name/address lookup uses domain service
( )
Name servers are 255.255.255.255
( -255.255.255.255)
Host
Flags
2501
(perm,OK)
switch
(perm, OK)
Todd2509#
Age
Type
IP
0
IP
Address(es)
/)
172.16.10.2
192.168.0.148
Todd2509#2501b
Trying 2501B (172.16.10.2)... Open
User Access Verification
Password:
2501B>
Todd2509#(control+shift+6,thenx)
Todd2509#switch
Trying switch (192.168.0.148)... Open
Catalyst 1900 Management Console
Copyright (c) Cisco Systems, Inc. 1993-1999
All rights reserved.
Enterprise Edition Software
Ethernet Address:
00-BO-64-75-6B-CO
PCA Number:
PCA Serial Number:
Model Number:
System Serial Number:
PowerSupplyS/N:
PCB Serial Number:
73-3122-04
FAB040131E2
WS-C1912-A
FAB0401UOOQ
PHI033108SD
FAB040131E2J3-3122-04
.:; .
266
' -
Conn Host
Address
Byte Idle
Conn Name
( )
1 switch
192.168.0.148
switch
*22501b
172.16.10.2
2501
Todd2509#
no ip
host:
RouterA(config)#no ip host routerb
,
, .
, DNS.
DNS
,
DNS.
Cisco ,
DNS. ,
Cisco todd.
Todd2509#todd
Translating "todd"...domain server (255.255.255.255)
( todd )
% Unknown command or computer name, or unable to find computer address
( ,
)
Todd2509#
todd
,
DNS. . -,
Cisco
267
todd. -, ,
.
DNS no ip domain-lookup, .
DNS,
DNS:
ip domain-lookup . , (.. no ip domain-lookup).
ip name-server IP- DNS.
IP- .
ip domain-name , . . DNS FQDN (Fully Qualified
Domain Name, ), DNS _..
:
Todd2509#configt
Enter configuration commands, one per line. End with CNTL/Z.
Todd2509(config)#ip domain-lookup
Todd2509(config)#ip name-server?
A.B.C.D Domain server IP address (maximum of 6)
Todd2509(config)#ip name-server 192.168.0.70
Todd2509(config)#ip domain-name lammle.com
Todd2509(config)#AZ
Todd2509#
DNS DNS. Ping Telnet
.
Todd2509#ping 2501b
Translating "2501b"...domain server (192.168.0.70) [OK]
Type escape sequence to abort.
Sending 5,100-byte ICMP Echosto 172.16.10.2, timeout is
2 seconds:
Success rate is 100 percent (5/5), round-trip min/avg/max = 28/31/32 ms
, DNS .
DNS show hosts , :
Todd2509#sh hosts
268
Defaultdomainislammle.com
Name/address lookup uses domain service
Name servers are 192.168.0.70
Host
Flags
2501b.lammle.com (temp, OK)
(perm, OK)
Todd2509#
Age
0
0
Type
IP
IP
Address(es)
172.16.10.2
.
192.168.0.148
temp,
perm (.. ). ^
. ip domain-name lammle.com, ping 2501b.lammle.com,
.
'
ping trace. ,
IP.
Ping
Ping,
IP
DNS. ping ?.
Todd2509#ping ?
WORD
Ping destination address or hostname
apollo
Apollo echo
appletalk Appletalk echo
clns
CLNS echo
decnet
DECnetecho
ip
ipx
srb
tag
vines
xns
<cr>
IP echo
Novell/IPX echo
srb echo
Tag encapsulated IP echo
Vines echo
XNSecho
ping , Ping , :
Todd2509#ping todd2509
Translating "todd2509"...domain server (192.168.0.70) [OK]
Cisco
269
Trace
trace . trace ?.
' *
Todd2509#trace ?
WORD
Trace route to destination address or hostname
appletalk AppteTalk Trace
clns ISO CLNS Trace
ip
IP Trace
ipx
IPX Trace
oldvines Vines Trace (Cisco)
vines
Vines Trace (Banyan)
<cr>
,'>
! 7
. ,
- .
- ' " .
'
trace ,
. :
Todd2509#trace2501b
Type escape sequence to abort.
( escape-)
Tracing the route to 2501b.lammle.com (172.16.10.2)
12501b.lammle.com (172.16.10.2) 16 msec * 16 msec
Todd2509#
.
270
:
1. Cisco IOS TFTP?
2. startup-config Cisco
TFTP?
3. startup-config DRAM?
4. startup-config DRAM?
5. IP- ?
6. , , ?
7. Telnet ?
8. Telnet ?
9. Cisco IOS?
10. Bob, IP- 172.16.10.1 172.16.20.2?
( ) , TFTP.
| RouterSim, www.routersim.com,
.
7.1.
/OS
1. , en enable.
2. TFTP,
IP- Ping .
3. show flash -.
Cisco
271
4. show version
, IOS. - ,
show flash show version .
show version ,
show flash -.
5. Ethernet TFTP IOS, IOS.
copy flash tftp.
- ( IOS)
TFTP.
6. IP- TFTP IOS.
TFTP.
7.2.
IOS
1. , en enable.
2. TFTP
Ping IP- .
3. , Ethernet TFTP,
copy tftp flash.
4. ,
. .
5. IP- TFTP.
6. IOS, .
7. -.
8. IOS -
IOS.
- , ROM.
, .
7.3.
1. , en enable.
272
2. Ping TFTP,
IP.
3. copy run tftp.
4. IP- TFTP (, 172.16.30.2)
Enter.
5. .
confg ( config). .
Name of configuration file to write [RouterB-confg)?
Press enter to accept the default name
( .
Enter )
Write file RouterB-confg on host 172.16.30.2? [confirm] Press enter
( Enter RouterB-confg 172.16.30.2)
!! UDP .
7.4.
1. , en enable.
2. sh cdp Enter. ,
CDP , 60 180 (
).
3. 90 ,
cdp timer 90 .
RouterCtfconfigt
Enter configuration commands, one per line. End with CNTL/Z.
RouterC(config)#cdp timer ?
<5-900> Rate at which CDP packets are sent (in sec)
RouterC(config)#cdp timer 90
4. CDP show cdp.
RouteC#shcdp
Global CDP information:
Sending CDP packets every 90 seconds
Sending a holdtime value of 180 seconds
5. CDP . , sh cdp ?.
RouterCtfsh cdp ?
entry
Information for specific neighbor entry
Cisco
273
interface
CDP interface status and configuration
neighbors CDP neighbor entries
traffic
CDP statistics
<cr>
6. sh cdp int ,
.
7. sh cdp entry * ,
.
8. show cdp neighbor (
).
9. show cdp neighbor detail. , show cdp entry *.
7.5.
Telnet
1. , en enable.
2. Telnet , telnet ip_address.
3. IP-
. Telnet IP-.
telnet IP-.
4. Ctrl+Shift+6, X .
Telnet . Ctrl+Shift+6,
X .
5. show sessions. . Enter.
. Enter.
6. . show user.
. disconnect
. , exit .
7. ,
show sessions . show
user .
8. clear line Telnet.
274
7.6.
1. , en enable.
2. todd Enter . .
IP- DNS.
no ip domain-lookup .
3. ip host.
, :
ip host routerb ipjaddress
ip host routerc ipjaddress
:
ip host routerb 172.16.20.2
ip host routerc 172.16.40.2
4. , piiig riuterb ( config).
RouterAtfping routerb
Type escape sequence to abort.
Sending 5,100-byte ICMP Echosto 172.16.20.2,
timeout is 2 seconds:
Success rate is 100 percent (5/5), round-trip min/ avg/max = 4/4/4 ms
5. , ping routerc.
RouterAtfping routerc
escape sequence to abort.
Sending 5,100-byte ICMP Echosto 172.16.40.2,
timeout is 2 seconds:
Success rate is 100 percent (5/5), round-trip min/ avg/max = 4/6/8 ms
6. , . Ctrl+Shift+6, X.
7. Telnet , routerc.
8. . Ctrl+Shift+, X.
9. , show hosts Enter.
Cisco
275
Type
IP
IP
1. , IP- ?
A. sh router
B. sho hosts
C. sh ip hosts
D. sho name resolution
2. IOS ?
A. transfer IOS to 172.16.10.1
B. copy run start
C. copy tftp flash
D. copy start tftp
E. copy flash tftp
3.
TFTP NVRAM?
A. transfer IOS to 172.16.10.1
B. copy run start
C. copy tftp startup
D. copy tftp run
E. copy flash tftp
4.
TFTP DRAM Cisco?
A. config netw
B. config mem
C. config term
D. copy tftp run
E. copy tftp start
5. Cisco ?
276
A.
B.
C.
D.
RAM
ROM
NVRAM
6. Cisco?
A. bob ip host 172.16.10.1
B. host 172.16.10.1 bob
C. ip host bob 172.16.10.1172.16.10.2
D. hostbob!72.16.10.1
7.
?
A. sh sess
B. sh users
C. disconnect
D. clear line
':
.<'.
8. ,
?
A. sh cdp
B. sh cdp interface
C. sh interface
D. sh cdp traffic
9. CDP ?
A. 240,90
B. 90,240
C. 180,60
D. 60,180
10. DRAM Cisco TFTP ?
A. config netw
B. config mem
C. config term
D. copy run tftp
E. copy start tftp
11. Telnet?
A. +
B. Ctrl+X, 6
C. Ctrl+Shift+X, 6
D. Ctrl+Shift+6, X
Cisco
277
278
1. copy flash tftp
2. copy start tftp
3. copy start run
4. config mem
5. show cdp neighbor detail or show cdp entry
6. show cdp neighbor
7. Ctrl+Shift+6, X
8. show sessions
9. copy tftp flash
10. ip host bob 172.16.10.1172.16.20.2
Cisco
279
. .'
1.
2.
3.
4.
5.
6.
7.
8.
9.
10.
A, D
D
D
11.
12.
13.
14.
15.
16.
17.
18.
19.
20.
. . '
D
D
B.D.F.G.H.I
Novell IPX
282
- -
IPX. . -, Novell NetWare IPX . -,
80- 90-
. IPX. Novell NetWare 5 TCP/IP, IPX. ?
IPX.
.
IPX, , Cisco
IOS IPX.
Novell IPX,
, IPX
, TCP/IP.
IPX, Cisco IOS,
IPX.
Novell IPX
Novell IPX (Internetwork Packet Exchange ) 80- . XNS (Xerox Network Systems),
Xerox - 60- ,
TCP/IP. IPX .
Novell IPX
IPX OSI,
. IPX ,
. IPX OSI.
. 8.1 ,
IPX OSI.
IPX IPX 3 4 OSI.
IPX ( ),
,
, (RIP
NLSP). IPX ( UDP TCP/IP), ..
283
Novell IPX
OSI
Novell NetWare
RIP
NLSP
SAP
NCP
NetBIOS
SPX
IPX
(Ethernet, Token Ring,
..)
, ' .
IPX . , , TCP/IP.
SPX SPX (Sequence Packet eXchange ) IPX . . SPX
, , IPX.
RIP RIP (Routing Information Protocol ) , IPX .
, "" (tick, 1 = 1/18 ), , ( ).
SAP SAP (Service Advertising Protocol )
. , .
NLSP NLSP (NetWare Link Services Protocol NetWare) Novell
.
RIP SAP.
284
Novell NetWare / (
): NetWare , . NetWare , , . . . NetWare ,
MacOS, DOS, MS Windows, Windows
NT, OS/2, Unix VMS. Novell
NetWare. NetWare :
NetWare
. NetWare SAP,
, (
).
, IPX,
GNS ( GetNearestServer ).
NetWare, .
, GNS, SAP NetWare, , GNS ( GetNearestServer).
, . , GNS , SAP , ,
, .
, Cisco
SAP ,
NetWare. , Cisco , NetWare, Cisco GNS NetWare.
Novell IPX
285
NetWare
. 8.2. IPX
:
, . GNS ,
SAP, .
NetWare .
,
. GNS .
.
NetWare ,
. ,
,
286
. , ,
.
, : SAP (Service Advertising Protocol),
RIP (Routing Information Protocol).
[I He RIP IPX
RIP TCP/IP.
.
SAP
NetWare SAP
. 60 NetWare SAP, ,
, . , SAP, SAP,
. SAP
, , , GNS .
SAP , ,
.
Cisco? SAP , NetWare. SAP
Cisco. SAP SAP,
IPX,
60- , , NetWare. . SAP
,
. SAP Etherpeek.
Flags:
OxOO
Status:
0x00
Packet Length: 306
Timestamp:
23:48:36.362000 06/28/1998
Ethernet Header
Destination: ff:ff:ff:ff:ff:ff Ethernet Brdcast
Source:
00:80:5f:ad:14:e4
Protocol Type: 81-37 NetWare
IPX - NetWare Protocol
Checksum:
Oxffff
Novell IPX
287
Length:
288
Transport Control:
Reserved:
%0000
Hop Count:
%0000
Packet Type:
4 PEP
Destination Network: Oxcc715bOO
Destination Node:
ff:ff:ff:ff:ff:ff Ethernet Brdcast
Destination Socket:
0x0452 Service Advertising Protocol
Source Network:
Oxcc715bOO
Source Node:
00:80:5f:ad:14:e4
Source Socket:
0x0452 Service Advertising Protocol
SAP - Service Advertising Protocol
Operation:
2 NetWare General Service Response
Service Advertising Set#J
Service Type:
263 NetWare 386
Service Name:
BORDER3
Network Number:
Oxl2db8494
Node Number:
00:00:00:00:00:01
Socket Number:
0x8104
Hops to Server:
1
Service Advertising Set#2
Service Type:
4 File Server
Service Name:
BORDER3 :
Network Number:
Oxl2db8494
Node Number:
00:00:00:00:00:01
Socket Number:
0x0451
Hops to Server:
1
Service Advertising Set#3
Service Type:
632
Service Name:
BORDER
'
R.S.I@@@@@D.PJ..
Network Number:
Oxl2db8494
Node Number:
00:00:00:00:00:01
Socket Number:
0x4006
Hops to Server:
1
SAP NetWare BORDERS.
,
, . .. SAP
, IPX ( ),
.
288
RIP
RIP , SAP. , ,
, , IPX.
RIP IPX RIP . RIP ,
. RIP, SAP, 60- . ,
IPX RIP Etherpeek.
Flags:
0x80802.3
Status:
0x00
Packet Length: 94
Timestamp:
15:23:05.642000 06/28/1998
802.3 Header
Destination:
ff:ff:ff:ff:ff:ff Ethernet Brdcast
Source:
00:00:0c:8d:5c:9d
LLC Length:
76
802.2 Logical Link Control (LLC) Header
Dest. SAP:
OxeO NetWare
Source SAP:
OxeO NetWare Null LSAP
Command:
0x03 Unnumbered Information
IPX-NetWare Protocol
Checksum:
Oxffff
Length:
72
Transport Control:
Reserved:
%0000
Hop Count:
%0000
PacketType:
1 RIP
Destination Network: 0x00002300
Destination Node:
ff:ff:ff:ff:ff:ff Ethernet Brdcast
Destination Socket:
0x0453 Routing Information Protocol
Source Network:
0x00002300
Source Node:
00:00:0c:8d:5c:9d
Source Socket:
0x0453 Routing Information Protocol
RIP - Routing Information Protocol
Operation:
2 Response
Network Number Set #1
Network Number:
0x00005200
Numberof Hops:
3
Number of Ticks:
14
Novell IPX
289
IPX-
IP IPX . IPX ,
TCP/IP.
IPX- 80 , 10 .
TCP/IP,
: . 4
, 6 . IPX
, TCP/IP
. !
IP, IPX IPX. . - .
TCP/IP. -,
290
, ,
, , . , 2 OSI.
IPX IPX ( 3) ( 2)
. IPX :
Ethernet
Token Ring
FDDI
? NetWare
, . , Ethernet NetWare , (. . 8.1), .
, Ethernet_802.2,
Ethernet_II. , ,
. ,
. IPX (
)
.
.
. 8.3.
Novell IPX
291
8.1.
Novell Ethernet
NetWare
Ethernet_802.3
NetWare 3.11
Ethernet_802.2
NetWare 3.12
EthernetJI
TCP/IP IPX
Ethernet_SNAP
Ethernet.802.2
A, Novell
1
Ethernet II
Ethernet_802.3
, Novell
2
Ethernet 802.2
EthernetJI
, Novell
3
Ethernet 802.3
. 8.3. Ethernet
, . 8.3 IPX. Ethernet, IPX ,
, IPX.
60
.
1
, EthernetJI. 2
, 3 . , , .
,
. ,
(802.2). NetWare 5 ""
IP, ,
.
292
IPX ,
.
config NetWare.
IPX
Cisco
IPX IPX . IPX Cisco
:
IPX
IPX
IPX
IPX
ipx routing, :
RouterA#configt
RouterA(config)#ipx routing
IPX
RIP SAP. ,
IPX .
IPX
IPX
IPX .
:
ipx network [encapsulation -] [secondary]
:
IPX!
[encapsulation ] . 8.2
.
[secondary] ( ) .
IPX 2501 :
2501A#configt
2501A(config)#ipx routing
2501A(config)#inteO
2501A(config-if)#ipx network 10
Novell IPX
293
. IPX ,
. .
Ethernet 0 2501 ? Novell-Ether
(802.3).
encapsulation. 8.2
( ), IPX.
8.2.
Novell IPX
Novell
Cisco
Ethernet
Ethernet_802.3
novell-ether (no )
Ethernet_802.2
sap
EthernetJI
arpa
Ethernet_snap
snap
Token Ring
Token-Ring
sap ( )
snap
FDDI
Token-Ring_snap
Fddi_snap
snap ( )
Fddi_802.2
sap.
Fddijaw
novell-fddi
294
IPX
Cisco IPX . . 8.4 ,
IP IPX.
IPX.
IP IP. ,
IPX IP, IP IPX
.
IPX 30
2501
2501
2501
2621
IPX 10
IPX 20
IPX 40
IPX 50
. 8.4.
Novell-Ether (802.3)
Ethernet. , . HDLC (. 10).
IPX 2621
IPX 2621
IPX ipx routing, FastEthernet / IPX 10.
2621 :
2621A(config)#ipx routing
2621A(config)#intfO/0
2621A(config-if)#ipx network 10
2621 IPX FastEthernet / IPX 10.
IPX 2501
2501 ,
2621 . 2501 : Ethernet 0 IPX 10 serial 0 IPX 20.
Novell IPX
295
2501:
2501A(config)#ipx routing
2501A(config)#inteO
2501A(config-if)#ipx network 10
2501A(config-if)#intsO
2501A(config-if)#ipx network 20
IPX 2501 IP.
IPX 2501
IPX 2501 : Ethernet 0 30, serial 0 IPX
20 int serial 1 40.
2501:
2501B(config)#ipx routing
2501B(config)#inteO
2501B(config-if)#ipx network 30
2501B(config-if)#intsO
2501B(config-if)#ipx network 20
2501B(config-if)#intsl
2501B(config-if)#ipx network 40
IPX 2501.
IPX 2501
IPX 2501 : Ethernet 0 IPX 50 serial 0
IPX 40.
2501C:
2501C(config)#ipx routing
2501C(config)#inteO
2501C(config-if)#ipx network 50
2501C(config-if)#intsO
2501C(config-if)#ipx network 40
.
show ipx route.
IPX
IPX show ipx route. IP, IPX "" .
296
8
IPX ( ),
RIP IPX.
RIP IPX IPX
. , IPX .
2621
2621 IPX 10,
IPX RIP IPX.
2621:
( 5 IPX. 1 16 )
No default route known.
( )
10 (NOVELL-ETHER),
FaO/0
R
20 [07/01] via
10.0000.0c8d.3a7b,
16s, FaO/0
R
30 [07/02] via
10.0000.0c8d.3a7c,
17s,FaO/0
R
40 [07/02] via
10.0000.0c8d.3a7c,
17s,FaO/0
R
50 [13/03] via
10.0000.0c8d.3a7c,
17s,FaO/0
262
IPX, a R
IPX, RIP. [07/01]
.
2501
2501 "" IPX 10 20,
. IPX RIP 2501
30, 40 50. 2501:
2501A#sh ipx route
Codes: - Connected primary network, - Connected secondary network
[ ]
5 Total IPX routes. Up to 1 parallel paths and 16 hops allowed.
20(HDLC),
10 (NOVELL-ETHER),
R
R
R
250
30 [13/02] via
40 [07/02] via
50 [07/03] via
SeO
EtO
20.0000.0c8d.2b8c,
20.0000.0c8d.2b8c,
20.0000.0c8d.2b8c,
16s, SeO
17s, SeO
17s, SeO
Novell IPX
297
, RIP. IPX ,
, .
2501
, IPX RIP 2501, 10
20. 2501:
2501B#shipxroute
Codes: - Connected primary network, - Connected secondary network
[ ]
R
R
2501B#
20(HDLC),
40 (HDLC),
30 (NOVELL-ETHER),
10 [07/01] via
50 [07/01] via
SeO
Sel
EtO
20.0000.0c8d.3d8e,
40.0000.0c8d.5c9d,
16s, SeO
17s,Sel
2501
2501C RIP IPX 10, 20
30. 2501:
2501C#sh ipx route
Codes: - Connected primary network, - Connected secondary network
[ ]
5 Total IPX routes. Up to 1 parallel paths and 16 hops allowed.
No default route known.
40 (HDLC),
SeO
50 (NOVELL-ETHER),
EtO
R
10 [13/02] via
40.0000.0c8d.5c9d,
16s,SeO
R
20 [07/01] via
40.0000.0c8d.5c9d,
17s, SeO
R
30 [07/01] via
40.0000.0c8d.5c9d,
17s,SeO
2501C#
Ethernet Novell-Ether (802.3). encapsulation,
.
, ,
Ethernet. . , .
:
298
8
, .
secondary . .
.
Ethernet ipx network secondary, .
Ethernet
2501 :
2501A#configt
Enter configuration commands, one per line. End with CNTL/Z.
2501A(config)#inteO
2501A(config-if)#1px network lOa encap sap sec
ipx network secondary, (
sec encapsulation secondary).
, IPX. 10 .
802.3 10, 802.2.
IPX , , secondary . .
IPX. , ,
IPX .
interface ethernet
port.number. .
.4292967295. 802.2:
2621A(config)#int eO.10
2621A(config-subif)#ipx network 10a sap
2621A(config-subif)#AZ '
2621A#
, IPX
secondary subinterface.
.
i
Novell IPX
299
. , .
,
"" , .
Ethernet
,
, , 802.2,
802.3. , IPX
.
.
Ethernet. .
,
.
2621
2621
IPX, .
. 10 802.2, 10 Ethernet_II 10
SNAP.
.
.
2621. ipx
network 10a encap Cisco.
2621A(config)#intfO/0
2621A(config-if)#ipx network encap ?
arpa
Novell Ethernet_II
hdlc .
HDLC on serial links
novell-ether Novell Ethernet_802.3
novell-fddi Novell FDDI RAW
sap
IEEE 802.2 on Ethernet FDDI, Token Ring
300
snap
IEEE 802.2 SNAP on Ethernet Token Ring, and FDDI
RouterA(config-if)#ipx network encap sap sec
.
, , . Cisco secondary. ,
.
,
(int fO/0.?). IPX .
2621A(config)#intfO/0.?
<0-4294967295> Ethernet interface number
2621A(config)#intfO/0.10
2621A(config-subif)#ipx network lOb encap arpa
2621A(config)#int f 0/0.100
2621A(config-subif)#ipx network encap snap
FastEthernet / 2621 . ,
2621 IPX,
.
2501
2501 IPX 2621 , IPX .
2501 :
2501A(config)#inteO
2501A(config-if)#ipx network 10a encap sap sec
2501A(config-if)#int eO.10
2501A(config-if)#ipx network lOb encap arpa
2501A(config-if)#int eO.100
2501A(config-if)#ipx network 10 encap snap
,
. rimning-config IPX Ethernet:
hostname RouterA
I
ipx 0060.7015.63d6
i
Novell IPX
301
interface EthernetO
ip address 172.16.10.1 255.255.255.0
ipx network 10
ipx network 10A encapsulation SAP secondary
i
interface EthernetO.10
ipx network 10B encapsulation ARPA
I
interface EthernetO.100
ipx network IOC encapsulation SNAP
interface SerialO
ip address 172.16.20.1255.255.255.0
ipx network 20
Ethernet
IPX: Novell-Ether (802.3) - SAP (802.2).
EthernetJI (arpa) SNAP , secondary.
2501
2501
Ethernet 0. IPX 30 802.3 .
Ethernet 0. 2501:
2501B(config)#inteO
2501B(config-if)#ipx network encap sap sec
2501B(config-if)#inte0.30
2501B(config-subif)#ipx network 30b encap arpa
2501B(config-subif)#int eO.300
2501B(config-subif)#ipx network 30c encap snap
2501 Ethernet
IPX Ethernet. Ethernet .
2501
2501C
IPX 50. 802.3.
Ethernet 0 IPX.
2501:
302
2501C(config)#inteO
250lC(config-if)#ipx network 50a encap sap sec
2501C(config-if)#int eO.?0
2501C(config-subif)#ipx network 50b encap arpa
2501C(config-subif)#int eO.500
250lC(config-subif)#ipx network 50c encap snap
, IPX Ethernet.
? show ipx route,
.
IPX
IPX IPX
. ( IPX 2621 , ),
2621A#sh ipx route
Codes: - Connected primary network, - Connected secondary network
[ ]
14 Total IPX routes. Up to 1 parallel paths and 16 hops allowed.
No default route known.
10 (NOVELL-ETHER), FaO/0
lOA(SAP),
FaO/0
lOB(ARPA),
FaO/0.10
lOC(SNAP),
FaO/0.100
R
20 [07/01] via
16s,FaO/0
10.0000.0c8d.3a7b,
R
30A[07/02] via
10.0000.0c8d.3a7c,
17s, FaO/0
R
30B[07/02] via
17s, FaO/0
10.0000.0c8d.3a7c,
R
30C[07/02] via
10.0000.0c8d.3a7c,
17s, FaO/0
R
30D [07/02] via
10.0000.0c8d.3a7c,
17s, FaO/0
R
40 [07/02] via
10.0000.0c8d.3a7c,
17s, FaO/0
R
50A[13/03] via
10.0000.0c8d.3a7c,
17s, FaO/0
R
50B[13/03] via
10.0000.0c8d.3a7c,
17s, FaO/0
R
50C[13/03] via
10.0000.0c8d.3a7c,
17s, FaO/0
R
50D[13/03] via
10.0000.0c8d.3a7c,
17s, FaO/0
2621
14 IPX
. .
- , . 60
Novell IPX
303
IPX . ,
20 ?
SAP. Service Advertisement Protocol (SAP) 60 . ,
. SAP, . SAP , 60 .
IPX Cisco
IPX . .
304
IPX,
. Port . NetWare Core Protocol (NCP) 451.
10 (NOVELL-ETHER),
EtO
20(HDLC),
SeO
lOa(sap),
EtO
(ARPA),
EtO.10
R
40 [07/01] via
20.OOeO.lea9.c418,
13s, SeO
R
50 [13/02] via
20.OOeO.lea9.c418,
13s, SeO
RouterAtf
IPX.
IPX
IPX,
, Cisco IOS .
. "up to I parallel paths and 16
hops allowed" ( 1 16 ).
"" ,
, ipx maximum-paths 2
( 512).
Cisco IOS . , . ,
,
, ,
IPX per-host-load-share.
ipx maximum-paths, IPX RIP ^
.
Novell IPX
305
Router#configt
Router(config)#ipx maximum-paths 2
Router(config)#AZ
Router#sh ipx route
Codes: - Connected primary network, - Connected
[ ]
5 Total IPX routes. Up to 2 parallel paths and 16 hops allowed.
[ ]
show ipx route , .
:
. . ' ' ' '
SAP.
306
Novell IPX
307
Show Protocols
IPX show protocols. .
show protocol 2501:
2501A#sh protocols
Global values:
Internet Protocol routing is enabled
IPX routing is enabled
EthernetO is up, line protocol is up
Internet address is 172.16.10.1/24
IPX address is 10.0060.7015.63d6 (NOVELL-ETHER)
IPX address is 10A.0060.7015.63d6 (SAP)
EthernetO.lOis up, line protocol is up
IPX address is 10B.0060.7015.63d6
EthernetO.100 is up, line protocol is up
IPX address is 10C.0060.7015.63d6
SerialO is up, line protocol is up
Internet address is 172.16.20.1/24
IPX address is 20.0060.7015.63d6
, . , .
.
IPX : show ipx interface show protocols.
Debug IPX
debug ipx IPX .
RIP SAP IPX,
.
IPX: debug ipx routing
activity debug ipx sap activity:
RouterA#debug ipx routing?
activity IPX RIP routing activity
events IPX RIP routing events
.
308
Novell IPX
309
310
8
Verbose [n]:
Novell Standard Echo [n]:
escape sequence to abort.
Sending 5,100-byte IPX Novell Echoes to 40.0000.Oc8d.5c9d, timeout
is 2 seconds:
Success rate is 100 percent (5/5), round-trip min/avg/max= 4/7/12 ms
IPX.
1. ,
.
2. IPX.
3. IPX .
Ethernet 0 IPX 11, Token Ring
IPX 15 serial 0 IPX 20.
4. IPX.
5. IPX .
6. IPX .
7. Ethernet_II Ethernet 0, . IPX .
8. 802.2 SNAP Ethernet 0 . IPX l i b 11.
9. IPX.
2501 IPX.
IPX 802.3,
. , . 8.5.
IPX 30
)FO/0[2621
IPX 10
IPX 20
IPX 40
. 8.5. IPX
IPX 50
Novell IPX
311
8.1.
Internetworking
Packet Exchange (IPX)
1. , en enable.
2. show protocol sh prot . IP, .
3. IPX :
RouterA#configt
RouterA(config)#ipx routing
A
RouterA(config)# Z
4. ,
IPX. sh prot show
protocol. IPX ,
IPX IP-.
5. IPX ipx network. , ( F 0 9).
2501 :
2501A#configt
2501A(config)#inteO
2501A(config-if)#ipx network 11
2501A(config-if)#inttoO
2501A(config-if)#ipx network 15
2501A(config-if)#intsO
2501A(config-if)#ipx network 20
6. IPX.
7. . show
ipx route.
8. show protocol command show ipx interface
IPX .
9. IPX ,
* Ping IPX (
show protocol
show ipx interface, , sh cdp entry *).
12 $.646
312
8.2.
IPX
314
1.
?
A.
B. NLSP
C. SPX
D. NCP
2. GNS? (
)
A. NetWare
B. NetWare
C.
D. Cisco
3. RIP SAP,
?
A. 15
B. 30
C. 60
D. 120
4.
Ethernet?
A. ConfigtinteO.24010
B. Coring t, int elOO.O
C. config 124000 eO
D. config t, 24000 elOO
5. IPX IPX- 71.000.2494.939?
A. . 2494 E9S9
B. 71. OOaO.2494.e939
C. 0.2494. 939
D. 71 . 2494.939
6. , Novell NetWare?
A. .
B. NetWare.
C. .
D. NetWare IPX.
7. ? ( )
Novell IPX
A.
B.
C.
D.
315
.
.
.
.
8. SAP
RIP?
A. sho ipx route
,.
B. sho ipx traffic
C. sho ipx interface
D. sho ipx servers
9.
SAP?
A.
B.
C.
D.
, ; .
; !
_ , : .
10. IPX ? ( )
A. sh ipx route
B. sh int
C. sh prot
D. debug i p x i n t
E. show ipx inter
11. IPX ?
A. ipx forward maximum-paths
B. ipx maximum-paths
C. ipx forward
D. ipx forward-paths
12. Cisco? ( )
A. arpa = IPX Ethernet
B. hdlc = HDLC
C. novell-ether = IPX Ethernet_802.3
D. novell-fddi = IPX FddiJRaw
E. sap = IEEE 802.2 Ethernet, FDDI Token Ring
F. snap = IEEE 802.2 SNAP Ethernet, FDDI Token Ring
13. IPX?
A. IPX routing, IPX number, network 790
B. IPX routing, int eO, IPX network number 980
316
Novell IPX
317
C. sh ipx servers
D. sh servers
20.
RIP IPX?
. showip rip
B. shipxint
C. debug ipx activity
D. debug ipx interface
1. show protocol
2. Config t Ipx routing
3. RouterAtfconfigt
Enter configuration commands, one per line
End with CNTL/Z.
RouterA(config)#int eO
RouterA(config-if)#ipx network 11
RouterA(config-if)#int toO
RouterA(config-if)#ipx network 15
RouterA(config-if)#int sO
RouterA(config-if)#ipx network 20
4. show ipx route
5. show proto and show ipx int
6. sh cdp nei detail and show cdp entry *
7. RouterAtfconfig t
RouterA(config)#int eO
RotuerA(config-if)#ipx network lla encap arpa sec
8. RouterA#config t
RouterA(config)#int eO.10
RouterA(config-subif)#ipx network lib encap sap
RouterA(config-subif)#int eO.ll
RouterA(config-subif)#ipx network lie encap snap
9. Sh ipx route
Sh protocol
Shipxint
318
1.
11.
2. A.D
12. , , , D.E.F
3.
4.
5.
6.
13.
14.
15.
1.
17.
18.
19.
20.
7.
8.
9.
10.
D
,
320
. .
. . ,
.
(permit) (deny)
, Telnet (VTY)
, DDR (dial-on demand,
),
.
(access list) . . .
, .
IP IPX , , . ,
, . ,
,
.
, :
, .. 1, 2, 3 ..
. , ,
.
"deny" , .
32^
IP
IPX.
IP IPX :
(Standard access list) IP IP- . . IPX IPX- .
(Extended access list) IP- ,
.
IPX IPX- , .
(inbound) (outbound) :
(Inbound access list) .
(Outbound access list) ,
.
:
,
. ,
IP, .
.
.
, . .
(named access list).
permit any, , .
permit, \
.
. ,
.
322
, . , .
IP
.
IP
.
IP
IP IP-
IP. 1 99.
.
IOS.
RouterA(config)#access-list ?
<1-99>
IP standard access list
<100-199>
IP extended access list
( IP)
<1000-1099>
IPX SAP access list
( IPX SAP)
<1100-1199>
Extended 48-bit MAC address access list
( 48-
-)
<1200-1299>
IPX summary address access list
( IPX)
<200-299>
Protocol type-code access list
( )
<300-399>
DECnet access list
( DECnet)
<400-499>
XNS standard access list
( XNS)
<500-599>
XNS extended access list
( XNS)
<600-699>
Appletalk access list
( AppleTalk)
<700-799>
48-bit MAC address access list
( 48- -)
<800-899>
IPX Standard access list
( IPX)
<900-999>
IPX extended access list
( IPX)
1 99, IP.
RouterA(config)#access-list 10 ?
deny
permit
323
, . , . . .
64
32
16
8
4
. , 34 64.
18 , 32.
, 4.
. , :
172.16.30.50.0.0.0
324
' 9
. ,
. 255. :
172.16.30.00.0.0.255
, .
. ? ,
. 20 , . , 16 32, 20.
, 172.16.8.0
172.16.15.0. 8. 172.16.8.0, 0.0.7.255. 7.255 . 172.16.8.0
172.16.15.0.
,
. 8 7. 16 15.
. , ,
.
RouterA(config)#access-list 10 deny 172.16.10.0 0.0.0.255
, ,
.
RouterA(config)#access-list 10 deny 172.16.0.0 0.0.255.255
:
RouterA(config)#access-list 10 deny 172.16.16.0 0.0.3.255
172.16.16.0 , 4. : 172.16.16.0 172.16.19.0.
,
172.16.16.0 8
, 172.16.23.0.
RouterA(config)#access-list 10 deny 172.16.16.0 0.0.7.255
172.16.32.0 32
172.16.63.0:
RouterA(config)#access-list 10 deny 172.16.32.0 0.0.31.255
172.16.64.0 64
172.16.127.0:
RouterA(config)#access-list 10 deny 172.16.64.0 0.0.63.255
325
:
0. ,
8 12. 0 7, 8 15, 16 23 ..
32 0 31, 32 63, 64 95
..
any 0.0.0.0 255.255.255.255.
IP
IP
.
. 9.1 .
.
.
.
172.16.10.0
172.16.30.0
172.16.40.0
. 9.1. IP
Acme IP:
Acmetfconfig t
Acme(config)#access-list 10 deny 172.16.40.0 0.0.0.255
Acme(config)#access-list 10 permit any
, any :
326
f-A'c
VTY (Telnet)
Telnet , VTY. IP. VTY.
:
1. IP,
Telnet .
2. VTY access-class.
Telnet
172.16.10.3:
RouterA(config)#access-list 50 permit 172.16.10.3'
RouterA(config)#line vty 0 4
RouterA(config-line)#access-class 50 in
deny any, Telnet
, 172.16.10.3.
IP
IP
,
. , ,
? IP ,
. IP
IP- ,
, ,
.
327
":
,
. ,
, OSI.
, Telnet FTP TCP. IP, .
RouterA(config)#access-list 110 deny ?
<0-255> An IP protocol number
eigrp
Cisco's EIGRP routing protocol
( EIGRP Cisco)
gre
Cisco's GRE tunneling
( GRE Cisco)
,
icmp
Internet Control Message Protocol
( )
igmp
Internet Gateway Message Protocol
( )
328
igrp
ip
ipinip
nos
ospf
tcp
udp
TCP,
IP- .
any .
RouterA(config)#access-list 110 deny tcp ?
A.B.C.D Source address
any
Any source host
host
A single source host
, .
RouterA(config)#access-list 110 deny tcp any ?
A.B.C.D
Destination address
any
Any destination host
( )
eq
Match only packets on a given port number
( )
gt
Match only packets with a greater port number
( , )
host
A single destination host
( )
It
Match only packets with a lower port number
( , )
neq
Match only packets not on a given port number
( )
range
Match only packets in the range of port numbers
( )
IP- , IP- 172.16.30.2.
RouterA(config)#access-list 110 deny tcp any host 172.16.30.2 ?
eq
Match only packets on a given port number
( )
329
established
and
daytime
discard
domain
echo
( )
Daytime (13)
( )
Discard (9)
()
Domain Name Service (53)
( )
Echo(7)
()
exec
finger
330
ftp
ftp-data
gopher
hostname
ident
ire
klogin
( )
FTP data connections (20,21)
( FTP)
Gopher (70)
( Gopher)
NIC hostname server (101)
( )
( )
( )
( Kerberos)
kshell
login
Ipd
nntp
smtp
sunrpc
syslog
tacacs
talk
telnet
time
uucp
whois
www
( Kerberos)
(, rlogin)
( )
Network News Transport Protocol (119)
( )
( 2)
( 3)
( )
( Sun)
Syslog (514)
( )
TAC Access Control System (49)
( )
Talk (517)
( Talk)
Telnet (23)
( Telnet)
Time (37)
( Time)
Unix-to-Unix Copy Program (540)
( Unix-Unix)
Nicnarne (43)
( Whois)
World Wide Web (HTTP, 80)
( World Wide Web HTTP)
331
IP
. 9.1 IP, Telnet FTP 172.16.10.5 .
.
:
Acmetfconfig t
Acme(config)#access-list 110 deny tcp any host 172.16.10.5 eq 21
Acme(config)#access-list 110 deny tcp any host 172.16.10.5 eq 23
Acme(config)#access-list 110 permit ip any any
, .
, ,
, deny .
,
.
, Ethernet 0. ,
.
, ,
Ethernet 2.
Acme(config-if)#ip access-group 110 out
332
IP
.
:
show access-list , . , .
show access-list 110 110.
, .
show ip access-list IP, .
show ip interface , .
show running-config , .
IPX
IPX .
access-list , access-group.
IPX:
IPX IPX-
. 800 899. IPX
IP, IP- . IPX
IPX- .
IPX IPX-
, IPX
. 900 999.
_.
IPX
IPX
IPX .
IP. IPX:
333
40
'-,
20
. 9.2. IPX
. 9.2 :
Ethernet 0 40, Ethernet 1 10, Ethernet
2 20 Ethernet 3 30.
. IPX 20 Ethernet 0
40.
Router(config)#access-list 810 permit 20 40
Router(config)#int eO
Router(config-if)#ipx access-group 810 out
.
IPX IPX 20 Ethernet 2
40,
Ethernet 0. , ( deny all ):
10 40.
40 10, .
30 10, 10 30.
30 40.
40 30, 30 .
20 .
334
9
i.
IPX
336
F , ..
permit any. -1 IPX, running-config F.
:
1. IP 172.16.0.0 Ethernet.
2. Ethernet.
3. , 196.22.15.5
Ethernet.
4. .
5.
Ethernet.
6. ,
172.16.10.1 Telnet Ethernet 0
172.16.30.5 Ethernet 1.
7. .
8. SAP IPX Ethernet 0 SAP
, IPX- 45.0000.0000.0001.
9. SAP IPX
Ethernet.
337
, 2500, RouterSim.
, . 9.3.
172.16.10.2
IPX 30
172.16.30.0/24
172.16.10.0/24
IPX 10
172.16.20.0/24
IPX 20
172.16.40.0/24
IPX 40
172.16.50.0/24
IPX 50
. 9.3.
9.1.
IP
172.16.10.0
172.16.30.0.
1. 2501 config t .
2. access-list ?
.
3. IP ( 1 99).
4. 172.16.30.2:
2501A(config)#access-list 10 permit 172.16.30.2 ?
A.B.C.D Wildcard bits
<cr>
172.16.30.2
0.0.0.0:
RouterA(config)#access-list 10 permit 172.16.30.2 0.0.0.0
338
5. , :
2501A(config)#inteO
2501A(config-if)#ip access-group 10 out
'
i:
6. :
RouterAtfsh access-list
Standard IP access list 10
permit 172.16.30.2
RouterAtfsh run
,
-cut-
interface EthernetO
ip address 172.16.10.1 255.255.255.0
ip access-group 10 out
ipx network 10A
7. Ping (172.16.30.2)
(172.16.10.2).
8. Ping 2501 2501 (172.16.10.2).
, .
9.2.
IP
IP
172.16.10.2 Telnet 2501
(172.16.20.2). Ping 2501. IP
, 2501.
1. 2501
2501 .
2. IP,
100 199.
3. deny ( permit .
7, ).
2501A(config)#access-Ust 110 deny ?
<0-255> An IP protocol number
ahp
Authentication Header Protocol
eigrp
Cisco's EIGRP routing protocol
esp
Encapsulation Security Payload
gre
Cisco's GRE tunneling
icmp
Internet Control Message Protocol
igmp
Internet Gateway Message Protocol
igrp
ip
ipinip
nos
ospf
pep
tcp
udp
339
4. Telnet, TCP
:
2501A(config)#access-list 110 deny tcp ?
A.B.C.D Source address
any
Any source host
host
A single source host
5. IP- , IP- . host .
2501A(config)#access-list 110 deny tcp host 172.16.10.2 host 172.16.20.2 ?
ack
Match on the ACK bit
eq
Match only packets on a given port number
established Match established connections
fin
Match on the FIN bit
fragments
Check fragments
gt
Match only packets with a greater port number
log
Log matches against this entry
log-input
Log matches against this entry,
including input interface
It
Match only packets with a lower port number
neq
Match only packets not on a given port number
precedence Match packets with given precedence value
psh
Match on the PSH bit
range
Match only packets in the range of port numbers
rst
Match on the RST bit
syn
Match on the SYN bit
tos
Match packets with given TOS value
urg
Match on the URG bit
<cr>
6. eq telnet. log,
.
2501A(config)#access-list 110 deny tcp host 172.16.10.2 host
172.16.20.2 eq telnet log
340
7. permit:
2501A(config)#access-list 110 permit ip any 0.0.0.0
255.255.255.255
" . , .
/
8. permit, deny.
permit .
9. Ethernet 0
2501 Telnet .
RouterB(config)#int eO
RouterB(config-if)#ip access-group 110 in
A
RouterB(cortfig-if)# Z
10. Telnet 172.16.10.2 ,
IP- 172.16.20.2. 2501 , ping .
From host 172.16.10.2: >telnet 172.16.20.2
' ' .!',
:
01:11:48: %SEC-6-IPACCESSLOGP: list 110 denied tcp
172.16.10.2(1030) -> 172.16.20.2(23), 1 packet
01:13:04: %SEC-6-IPACCESSLOGP: list 110 denied tcp
172.16.10.2(1030) -> 172.16.20.2(23), 3 packets
9.3.
IPX
IPX IPX IPX 30, IPX 50.
i
1. 2501.
IPX
, IPX- , .
2. , IPX . 9.3. show
ipx route .
3. 2501
IPX 30 IPX 50. IPX 800 899.
2501A#configt
RouterC(config)#access-list 810 ?
deny
Specify packets to reject
permit
Specify packets to permit
4. IPX 50, . IPX -1.
341
1. IP?
A.
B.
C.
D.
1
2. IP?
A.
B.
C.
D.
E.
342
3.
IP 172.16.0.0 ?
A. 255.255.0.0
B. 255.255.255.0
C. 0.0.255.255
D. 0.255.255.255
E. 0.0.0.255
4. 172.16.30.55 IP?
A. 172.16.30.55 0.0.0.255
B. 172.16.30.550.0.0.0
C. any 172.16.30.55
D. host 172.16.30.55
E. 0.0.0.0172.16.30.55
F. ip any 172.16.30.55
5. WWW
196.15.7.0?
A. access-list 100 permit tcp any 196.15.7.0 0.0.0.255 eq www
B. access-list 10 deny tcp any 196.15.7.0 eq www
C. access-list 100 permit 196.15.7.0 0.0.0.255 eq www
D. access-list 110 permit ip any 196.15.7.0 0.0.0.255
E. access-list 110 permit www 196.15.7.0 0.0.0.255
6. , IP?
A. showip port
B. show access-list
C. showip interface
D. show access-list interface
E. show running-config
7. 172.16.16.0
172.16.23.0?
A. 172.16.16.00.0.0.255
B. 172.16.255.255255.255.0.0
C. 172.16.0.00.0.255.255
D. 172.16.16.00.0.8.255
E. 172.16.16.00.0.7.255
F. 172.16.16.00.0.15.255
8. IPX?
A. access-list 800 permit 30 50
B. access-list 900 permit 30 50
343
9.
172.16.63.0?
A. 172.16.0.00.0.0.255
B. 172.16.255.2550.0.0.0
C. 0.0.0.0 255.255.255.255
D. 172.16.32.00.0.0.255
E. 172.16.32.00.0.0.31
F. 172.16.32.00.0.31.255
G. 172.16.32.00.31.255.255
. 172.16.32.0 0.0.63.255
172.16.32.0
>
'
, '
11. 187?
A. sh ip int
B. sh ip access-list
C. sh access-list 187 '
D. sh access-list 187 extended
12. IP?
A. 1 - 99 .
B. 200-299
C. 1000-1999
D. 100-199
13. IP?
A.
B.
C.
D.
14. IPX?
A. 100-199
B. 900-999
344
C. 1000-1999
D. 700-799
15. -1 IPX?
.
B.
C.
D.
16. IP?
A. sh int
B. sh ip interface
C. sh run
D. sh access-list
17. access-list 110 deny
tcp any any eq ftp?
A. access-list 110 deny ip any any
B. access-list 110 permit tcp any any
: .
C. access-list 110 permit ip any
D. access-list 110 permit ip any 0.0.0.0 255.255.255.255
18.
172.16.0.0 int sO?
A. Access-list 10 permit 172.16.0.0 0.0.255.255, int sO, ip access-list 10 in
B. Access-group 10 permit 172.16.0.0 0.0.255.255, int sO, ip access-list 10 out
C. Access-list 10 permit 172.16.0.0 0.0.255.255, int sO, ip access-group 10 in
D. Access-list 10 permit 172.16.0.0 0.0.255.255, int sO, ip access-group 10 out
19. ?
A.
B.
C.
D.
20. ?
A.
B.
C.
D.
345
^*
4. show access-list
5. show running-config sh ip interface
6. access-list 110 deny tcp host 172.16.10.1 host 172.16.30.5
eq 23 access-list 110 permit ip any any
7. Int eO
IP Access-group 110 in
1.
2.
3.
4.
5.
6.
7.
8.
9.
10.
13 (.646
B,D
11.
12.
13.
14.
15.
16.
17.
18.
19.
20.
,
D
D
, , D
D
348
10
Cisco IOS
(WAN), . ,
. . (
)
, .
,
Cisco. , Cisco. HDLC, PPP, Frame Relay ISDN.
.
, .
,
.
(CPE, Customer premises equipment) , (Demarcation, demarc) . , .
RJ-45, . CSU/DSU ISDN, .
(Local loop) ,
.
(, Central office) .
(POP, point of presence).
349
(Toll network) . .
.
. 10.1
.
, ISDN
,., ..,,.-.;..
. 10.1.
:
(Leased line) "-" .
.
. 45 /.
(Circuit switching) . .
ISBN. .
350
10
(Packet switching) ,
.
.
(..
), . .
Frame Relay
.25. 56 / 2.048 /.
: Frame Relay, ISDN, LAPB, HDLC . ,
Cisco.
Frame Relay , 90-
. Frame Relay
. Frame Relay , .25, . Frame Relay "-"
64 / 1.544 / . Frame Relay
.
ISDN (Integrated Services Digital Network)
. ISDN
, . ISDN , Frame Relay -1.
LAPB LAPB (Link Access Procedure, Balanced
) .25. LAPB . LAPB
, -
. LAPB
HDLC,
. .
HDLC HDLC (High-Level Data Link Control
) SDLC (Synchronous
Data Link Control ),
IBM
. HDLC
, LAPB.
351
HDLC
HDLC (High-Level Data-Link Control) ISO .
. HDLC "-" . .
, . SDLC, LLC, HDLC, TCP, IP ..
Cisco
HDLC. HDLC
Cisco ,
HDLC. He Cisco
HDLC . . 10.2
Cisco HDLC.
Cisco HDLC
FCS
HDLC
HDLC
FCS
. 10.2. Cisco HDLC
352
10
HDLC , HDLC
. HDLC
3, HDLC .
() HDLC.
Cisco (, Bay), Cisco, HDLC
.
- , ISO
.
(Point-to-Point Protocol) , (, ) (ISDN) LCP (Link Control Protocol)
.
3
"-". . 10.3
OSI.
OSI
(IP, IPX, AppleTalk)
NCP {Network Control Protocol)
LCP (Link Control Protocol)
HDLC (High-Level Data Link Control Protocol)
(1-232, V.24, V.35, ISDN)
. 10.3. "-"
:
EIA/TIA-232-C .
353
HDLC .
LCP , , "-".
NCP . , IPCP (Internet Protocol Control Protocol) IPXCP (Internetwork Packet Exchange Control Protocol).
,
. NCP
.
|
[ !
, ..
. :
354
10
(Link-establishment phase)
LCP . LCP Configuration Option ( ), , . Configuration Option ,
.
(Authentication phase) , CHAP
. .
(Network-layer protocol phase) Network Control Protocol .
: PAP (Password Authentication Protocol )
CHAP (Challenge Authentication Protocol ).
Cisco
. :
Routertfconfig t
355
,
. ,
.
,
.
Routertfconfig t
Enter configuration commands, one per line. End with CNTL/Z.
Router(config)# hostname RouterA
RouterA(config)#username todd password Cisco
hostname , . ,
.
show run. service password-config,
. ( ), .
,
(CHAP ).
RouterA#config t
Enter configuration commands, one per line. End with CNTL/Z.
RouterA(config)#int sO
RouterA(config-if)#ppp authentication chap
RouterA(config-if)#ppp autherntication pap
RouterA(config-if)#AZ
RouterAtf
( ),
. ,
.
356
10
,
. show interface:
RouterAtfshowintsO
SerialO is up, line protocols up
Hardware is HD64570
Internet address is 172.16.20.1/24
MTU 1500 bytes, BW1544 Kbit, DLY 20000 usec, rely 255/255, load 1/255
Encapsulation PPP, loopback not set, keepalive set (10 sec)
LCP Open
Listen :IPXCP
Open:IPCP,CDPCP,ATCP
Last input 00:00:05, output 00:00:05, output hang never
Last clearing of "show interface" counters never
Input queue: 0/75/0 (size/max/drops); Total output drops: 0
Queueing strategy: weighted fair
Output queue: 0/1000/64/0 (size/max total/threshold/drops)
Conversations 0/2/256 (active/max active/max total)
Reserved Conversations 0/0 (allocated/max allocated)
5 minute input rate 0 bits/sec, 0 packets/sec
5 minute output rate 0 bits/sec, 0 packets/sec
670 packets input 31845 bytes, 0 no buffer
Received 596 broadcasts, 0 runts, 0 giants, 0 throttles
0 input errors, 0 CRC, 0 frame, 0 overrun, 0 ignored, 0 abort
707 packets output, 31553 bytes, 0 underruns
0 output errors, 0 collisions, 18 interface resets
0 output buffer failures, 0 output buffers swapped out
21 carrier transitions
DCD=up DSR=up DTR=up RTS=up CTS=up
RouterA#
,
LCP. LCP
. IPCP, CDPCP . NCP
IP, GDP AppleTalk. "" IPXCP.
|
debug ppp authentication.
357
Frame Relay
, Frame Relay .
OSI Integrated Services Digital Network (ISDN). Frame Relay .
Frame Relay Cisco :
IP
DECnet
AppleTalk
Xerox Network Service (XNS)
Novell IPX
Connectionless Network Service (CLNS)
International Organization for Standards (ISO)
Banyan Vines
(transparent bridging)
Frame Relay
DTE (Data Terminal Equipment) DCE (Data Circuit-Terminating Equipment, ). DTE
, ,
, . DCE , ( ).
, Frame Relay
.25,
.
Frame Relay , .25. DTE,
. DLCI
(Data Link Connection Identifier )
, .25, Frame Relay PVC (Permanent Virtual
Circuit ) SVC (Switched Virtual Circuit
), Frame Relay PVC. .
Frame Relay
Frame Relay,
. . 10.4 , Frame Relay.
358
10
CSU/DSU
(demarc)
CSU/DSU
(demarc)
PVC
DLC116
""
"
DLC117
'
""
. 10.4 ,
DTE. :
1.
.
( ).
2. ,
. IP- .
3. , ( , ). Frame Relay,
Frame Relay,
Frame Relay. DLCI, . DLCI
(PVC SVC)
Frame Relay.
4. / (CSU/DSU) , PSE (Packet Switch Exchange
359
). PSE .
5. CSU/DSU (demarc), (
). RJ-45,
CSU/DSU.
6.
. (local loop) (),
(POP). ,
- .
Frame Relay
Frame Relay Cisco .
, : Cisco IETF (Internet Engineering Task Force
).
Frame Relay Cisco:
360
10
RouterA(config)#int sO
Route rA(config-if)#encapsulation frame-relay ?
ietf Use RFC1490 encapsulation
<cr>
Cisco,
IETF. , Cisco
Cisco. IETF Frame Relay Ciscfo -Cisco.
(
, ).
Data Link
Connection Identifier (DLCI)
PVC Frame Relay
DLCI. Frame Relay, ,
DLCI,
Frame Relay. , ()
Frame Relay, DLCI.
IP -,
IP- DLCI.
Frame Relay
, . IARP frame relay map.
Frame Relay DLCI .25
.121, .. Frame Relay DLCI , .
DLCI .
' PVC. (PVC) . , DLCI,
20. , DLCI 20 PVC .
DLCI.
.. DLCI . DLCI , Frame Relay
DLCI . DLCI
DLCI.
361
-'
. ;
'
Multicast addressing ( )
DLCI
(auto-sense) ,
Frame Relay LMI.
Cisco, ANSI Q.933A.
LMI .
RouterA(config-if)#frame-relay Imi-type ?
CISCO
ansi
q933a
LMI :
Cisco LMI Gang of Four ( )
362
10
, . ,
IOS.
, ,
IP , IPX .
Frame Relay . , IP .
, ,
, . , Frame Relay,
PVC .
. 10.5 1 . ,, 2. 2, , , 3,
.
3
Frame Relay .
, ,
D, D "-".
D ,
.
363
, .
, .
Frame Relay network. , , .
1
D
. 10.5.
int sO.subinterface number . , .
RouterA(config)#int sO
RouterA(config)#encapsulation frame-relay
RouterA(config)#int sO.?
<0-4294967295> Serial interface number
364
10
RouterA(config)#ints0.16 ?
multipoint
Treat as a multipoint link
( )
point-to-point Treat as a point-to-point link
( "-")
( ). 16,
DLCI, .
0 4 292 967 295.
:
"-" (Point-to-point) , . "-" .
(Multipoint) , "" .
, .
.
DLCI. ,
. ,
LMI, .. Cisco Cisco IOS 11.2 . . , IPX
AppleTalk ( AppleTalk ):
interface SerialO
no ip address
^_ no ip directed-broadcast
encapsulation frame-relay
i
interface SerialO.102 point-to-point
ip address 10.1.12.1 255.255.255.0
no ip directed-broadcast
appletalk cable-range 12-1212.65
appletalk zone wan2
appletalk protocol eigrp
no appletalk protocol rtmp
ipx network 12
frame-relay interface-did 102
365
366
10
no ip directed-broadcast
appletalk cable-range 17-17 17.223
appletalkzone wan7
appletalk protocol eigrp
no appletalk protocol rtmp
ipx network 17
frame-relay interface-did 107
Frame Relay
IP ,
DLCI.
:
frame relay map.
tnverse-arp.
Frame Relay:
RouterA(config)#int sO
RouterA(config-if)#encap frame
RouterA(config-if)#ints0.16 point-to-point
RouterA(config-if)#noinverse-arp
RouterA(config-if)#ip address 172.16.30.1 255.255.255.0
RouterA(config-if)#frame-relay map ip 172.16.30.17 16 ietf broadcast
RouterA(config-if)#frame-relay mapip 172.16.30.18 17 broadcast
RouterA(config-if)#frame-relaymapip 172.16.30.19 18
. serial
Cisco ( ), . inverse arp
DLCI.
, . frame map .
broadcast ,
367
Frame Relay
Frame Relay.
DE (Discard Eligibility, ) Frame Relay
Frame Relay, DE
Frame Relay. , DE.
CIR, , DE.
FECN (Forward-Explicit Congestion Notification, ) Frame Relay , 'FECN, Frame Relay. ,
.
BECN (Backward-Explicit Congestion Notification
)
Frame Relay, BECN Frame
Relay -. .
368
10
. Frame Relay
() .
Frame Relay , . ,
. , . Frame Relay,
. ,
Frame Relay, "-" -1.
Frame Relay
,
. Frame
Relay .
CIR (Committed Information Rate
). , 256k, -1. CIR ,
Frame Relay CIR,
PVC.
CIR, .
Be (Committed Burst ),
CIR . DE.
CIR . Frame Relay
CIR. ,
. DE .
Frame Relay
Frame Relay PVC:
RouterA>sho frame ?
ip
show frame relay IP statistics
Imi
show frame relay Imi statistics
map
Frame-Relay map table
pvc
show frame relay pvc statistics
route
show frame relay route
traffic
Frame-Relay protocol statistics
369
370
10
Show Interface
show interface LMI. 2 3.
LMI DLCI,
LMI. 1023,
LMI Cisco. LMI DLCI , ANSI
LMI.
RouterAttshointsO
SerialO is up, line protocol is up
Hardware is HD64570
MTU 1500 bytes, BW1544 Kbit, DLY 20000 usec, rely 255/ 255, load 2/255
Encapsulation FRAME-RELAY, loopback not set, keepative
set (10 sec)
LMI enq sent 45175UMI stat recvd 451750,LMI upd recvd
164,DTE LMI up
LMI enq recvd 0, LMI stat sent 0, LMI upd sent 0
LMI DLCI 1023 LMI type is CISCO frame relay DTE
Broadcast queue 0/64, broadcasts sent/dropped 0/0, interface broadcasts 839294
show interface , ,
DLCI LMI.
371
[ clear
frame-relay-inarp.
372
10
ITU-T ,
OSI. ISDN
.
ISDN , . ISDN:
,
ISDN
ISDN (function) (reference point). . 10.6
ISDN.
He-ISDN
()
ISDN
(1)
NT1
NT1 |
ISDN
. 10.6. ISDN
ISDN
.
"U". NT1 ,
(, terminal adapter) ISDN. NT1 (U).
373
1 1
mi
ISDN
ISDN (terminal equipment)
NT (network termination). :
1 1 , ISDN ISDN.
2 2 ,
ISDN. 2 (terminal adapter), ISDN.
NT1 1 ISDN
ISDN.
NT2 2 , ().
. .
2
1 NT1
ISDN.
374
10
ISDN
, ISDN . ISDN , :
R -ISDN (2) .
S
NT2. .
NT1
NT2. S .
S/T.
U NT1
( , NT1
).
ISDN
ISDN ITU :
, , ISDN .
, /,
, .
, Q, .
ISDN
ISDN AT&T Nortel, . 10.1 " " isdn
switch-type . , .
10.1.
ISDN
AT&T Basic Rate
Nortel DMS-100 Basic Rate
Basic-5ess
Basic-dmslOO
375
10.1.
()
National ISDN-1
Basic-nil
Primary-4ess
Primary-5ess
Primary-dmslOO
376
10
64 / D
64 /,
1.544 /.
, ISDN 30 64 / D
64 /.
2.048 /.
ISDN Cisco
ISDN Cisco , NT1 ( U)
ISDN ( ). BRI,
. . BRI 1 ( 1), ,
, 2 (
2, terminal equipment 2).
ISDN
(IP, IPX, AppleTalk ..),
, HDLC LAPD.
|
I ISDN , .
isdn switch-type ? . ,
.
377
I isdn switch-type
.
BRI . ,
.
DDR
DDR :
1. ,
.
2. "" .
t
3. ,
.
14 iiK.646
378
10
ISDN * .
ISDN, . . :
.
.
ISDN:
RouterA(config)#ip route 172.16.50.0 255.255.255.0 172.16.60.2
RouterA(config)#ip route 172.16.60.2 255.255.255.255 briQ
, 172.16.50.0
172.16.60.2.
172.16.60.2.
""
,
ISDN. "" dialer-list.
, IP:
804A(config)#dialer-list I protocol ip permit
804A(config)#int briO
804A(config-if)#dialer-group 1
dialer-group
BRI. dialer-list
"" .
.
1. .
2. IP-.
3. .
4. "" .
5. ().
:
804A#configt
379
804A(config)#int briO
804A(config-if)#ip address 172.16.60.1 255.255.255.0
804A(config-if)#no shut
804A(config-if)#encapsulation ppp
804A(config-if)#dialer-group 1
804A(config-if)#dialer-string 8350661
dialer-string dialer map, .
804A(config-if)#dialer map ip 172.16.60.2 name 804B 8350661
dialer map dialer-group,
. dialer map IP- , ,
.
804:
804B#sh run
Building configuration...
Current configuration:
version 12.0
no service pad
service timestamps debug uptime
service timestamps log uptime
no service password-encryption
i
hostname 804B
ip subnet-zero
isdn switch-type basic-ni
!
-
interface EthernetO
ip address 172.16.50.10 255.255.255.0
no ip directed-broadcast
!
'
interface BRIO
ip address 172.16.60.2 255.255.255.0
no ip directed-broadcast
encapsulation ppp
dialer idle-timeout 300
dialer string 8358661
. '
..,-.
380
10
ip classless
ip route 172.16.30.0 255.255.255.0 172.16.60.1
ip route 172.16.60.1 255.255.255.255 BRIO
BRI -
300 . load-threshold BRI ( , ).
, , dialer-group 1.
.
hold-queue 75 ,
""
75 BRI. 75 , .
BRI: dialer load-threshold dialer idle-timeout
dialer load-threshold BRI,
.
1 255, 255 , 100% .
in, out either, , . out (outbound).
dialer idle-timeout
, "" .
120 .
381
DDR
"" .
, IP. , DDR.
Telnet.
:
804A(config)#dialer-list I list 110
804A(config)#access-list 110 permit tcp any any eq smtp
804A(config)#access-list 110 permit tcp any any eq telnet
804A(config)#intbriO
804A(config-if)#dialer-group 1
dialer-list . IP,
. ,
BRI dialer-group.
ISDN
DDR ISDN:
Ping Telnet IP .
"" , Ping Telnet . ping telnet
"" .
Show dialer ,
, , , .
Show isdn active
.
Show isdn status . , SPID,
1 3
.
Sho ip route .
Debug isdn q921 2.
Debug isdn q931 3,
.
382
10
Debug dialer .
Isdn disconnect int briO . shutdown .
1. serial
Cisco.
2. sO .
3. todd cis Cisco.
4. CHAP Cisco BRI.
5. DLCI 0 1. 16 sO 17 si.
6.
"-". dlci 16 IP- 172.16.60.1/24. IPX
16.
7. sic-ni BRI Cisco.
8. Cisco
.
9. ""
ISDN , IP.
10. Cisco . 9.
11. Cisco.
12. .
13. 75
"" , ISDN.
14. .
15. DDR "" .
383
Cisco .
10.1.
Cisco High-Level Data
Link Control (HDLC) "-" .
-Cisco .
. 10.8.
. 10.8.
1. sh int sO , .
2. ,
:
RouterAflconfigt
RouterA(config)#hostname RouterA
RouterBtfconfig t
RouterB(config)#hostname RouterB
3. (HDLC)
encapsulation
.
.
RouterA#Configt
RouterA(config)#Int sO
RouterA(config)#Encap ppp
4. serial 0 .
RouterBtfconfig t
RouterB(config)#intsO
RouterB(config)#encap ppp
5. sh int sO.
6. IPCP, IPXCP CDPCP. (
) ISO HDLC MAC.
384
10
7. .
.
, .
RouterA#configt
RouterA(config)#username RouterB password todd
RouterB#configt
RouterB(config)#username RouterA password todd
8. CHAP PAP .
RouterA(config)#int sO
RouterA(config-if)#ppp authentication chap
RouterB(config)#int sO
RouterB(config-if)#ppp authentication chap
9.
:
sh intsO
debug PPP authentication
10.2.
HDLC
HDLC. 10.1 . ' HDLC
.
| . 10.8
10.1.
1. encapsulation hdlc .
RouterA#config t
RouterA(config)#int sO
RouterA(config-if)#encapsulation hdlc
RouterBtfconfigt
RouterB(config)#int sO
RouterB(config-if)#encapsulationhdlc
2. HDLC show interface sO
.
385
10.3.
Frame Relay
10.3 . 10.9, Frame Relay.
2522, 10 .
2501.
DLCI102 I
I DLCI201
386
10
3. "-".
Router#configt
Router(config)#hostname RouterA
RouterA(config)#int sO
RouterA(config-if)#encapsulation frame-relay
RouterA(config-if)#int sO.102 point-to-point
RouterA(config-if)#ip address 172.16.10.1 255.255.255.0
RouterC(config-if)#ipx network 10
RouterA(config-if)#frame-relay interface-did 102
4. "-".
Routertfconfig t
Router(config)#hostname RouterC
RouterC(config)#intsO
RouterC(config-if)#encapsulation frame-relay
RouterC(config-if)#int sO.102 point-to-point
RouterC(config-if)#ip address 172.16.10.2 255.255.255.0
RouterC(config-if)#ipx network 10
RouterC(config-if)#frame-relay interface-dlci 201
5. ;) :
RouterA>sho frame ?
ip
show frame relay IP statistics
Imi
show frame relay Imi statistics
map
Frame-Relay map table
pvc
show frame relay pve statistics
routes how frame relay route
traffic
Frame-Relay protocol statistics
6. , Ping Telnet.
10.4.
ISDN BRI
. 10.10,
ISDN Cisco.
804 804
ISDN 172.16.30.0 172.16.50.0 172.16.60.0
ISDN BRI.
1. 804 ISDN.
RoutertfConfigt
Router(config)#hostname 804B
804B(cohfig)#isdn switch-type bask-ni
387
172.16.60.0
bri
^ ^ ^
,1*
|
172.16.30.0
172.16.50.0
. 10.10. ISDN
2.
804. 1 2,
.
Router#Configt
Router(config)#hostname 804A
804A(config)#intbriO
804B(config-if)#isdn switch-type basic-ni
3. 804 SPID BRI 0 IP-
171.16.60.1/24. ISDN
ISDN, SPID.
804a#config t
804A(config)#intbriO
804A(config-if)#isdn spid 10835866101 Idn 8358661
804A(config-if)#isdn spid 2 0835866301 Idn 8358663
804A(config-if)#ip address 172.16.60.1 255.255.255.0
804A(config-if)#no shut
4. SPID 804 IP-
172.16.60.2/24.
804A#configt
804A(config)#intbriO
804A(config-if)#isdn spid 10835866201 Idn 8358662
804A(config-if)#isdn spid 2 0835866401 Idn 8358664
804A(config-if)#ip address 172.16.60.2 255.255.255.0
804A(config-if)#no shut
5. ISDN. : (1) ISDN (2) , .
CCNA
(RIP IGRP). ISDN .
388
'
10
389
804B(config)#intbriO
804B(config-if)#hold-queue 75 in
11. ISDN.
Ping
Telnet
Show dialer
Show isdn status
Sh ip route
1. ?
A. HDLC
B. LCP
C. SDLC
. NCP
. LAPB
2. ISDN?
A. IBM
B. (LAN)
C. , ,
D.
390
10
B. ANSI
-Cisco.
C. IETF
-Cisco.
D. Q.933A -Cisco.
6. LMI ?
A. Q.933A
B. ANSI
C. IETF
D. Cisco
7. PVC 2?
A.
B.
C.
D.
.25
ISDN
Frame Relay
HDLC
8. ISDN ?
A. I
B.
C. S
D- Q
9. DLCI,
Frame Relay? ( .)
A. sh frame-relay
B. show running
C. sh int sO
D. sh frame-relay did
E. sh frame-relay pvc
10. IARP?
A. .121 .25
B. DLCI
SMDS
D. ATM
11. ISDN Basic Rate Interface (BRI)?
A. 23 D 64 /
B. 1544 /
C. 56 / D
64 /
D. 64 / D
16 /
391
14. "-"
Cisco?
A. SDLC
B. HDLC
C. Cisco
D. ANSI
15. Local Management Interface? ( )
A.
B. DLCI
C. DLCI
D. LMI
16. , ,
?
A. LCP
B. NCP
C. HDLC
D. X.25
17. ,
?
A. LCP
B. NCP
C. HDLC
D. X.25
18. Frame Relay PVC?
A. NCP
B. LMI
392
10
C. IARP
D. DLCI
19. LMI?
A. LMI DLCI .
B. LMI X. 121 .
C. LMI .
D. LMI DLCI.
I
20. Frame Relay?
A. DLCI
B. IARP
C. LMI
D. BECN
1. shintsO
2. Config t
IntsO
Encap ppp
3. Config t
username todd password Cisco
4. Config t
int briO
ppp authentication chap
5. Config t
IntsO
Frame interface-dlci 16
Int si
Frame interface-dlci 17
6. config t
intsO
encap frame
intsO.16 point-to-point
ip address 172.16.60.1 255.255.255.0
ipx netw 16
frame interface-dlci 16
7. Config t
Isdn switch-type basic-ni
8. Config t Interface bri 0 Isdn switch-type basic-ni
393
1.
2.
3.
4.
5.
6.
7.
-8.
9.
10.
D
,
11.
12.
13.
14.
15.
16.
17.
18.
1.
20.
, ,
D
C,D
D
396
1.
?
A. NCP
B. ISDN
C. HDLC
D. LCP
2.
(MIS, management information system). 10 /
NT. - , . . 10 /,
100 /. 3 /. ,
?
A. 10 /
100 /.
B.
, .
C. 2,
10 / 100 / .
D. .
3. IPX Cisco . Ethernet 802.3 802.2.
WAN HDLC.
IPX.
4. routerA(config)#line cons ?
A. Telnet.
B. .
C. .
D. .
5. ISDN BRI 50%
?
A. load balance 50
B. load share 50
397
B. show interface
C. show frame-rely pvc
D. sho runn
8. 1 99?
A. IP
B. IPX
C. IP
D. IPX
E. IPX SAP
9. passive ?
A.
B.
,
C.
D.
10. Ping?
A. TCP
B. ARP
C. ICMP
D. BootP
11. IPX RIP SAP, .
12. Telnet Cisco?
A. Line telnet 0 4
B. Line aux 0 4
3 9 8
. . - . .
C. Line vty 0 4
D. Line con 0
399
C. 10 VTP.
D. VTP VLAN VTP.
20.
CRC, ?
A. STP
400
A. DHCP
B.
C.
D. VTP
27. show controllers s 0?
A. (.. Ethernet
Token Ring)
B. (.. DTE )
C. , IP-
D.
28. IOS 10.3
NVRAM DRAM?
A. configt
B. config net
C. config mem
D. wr mem
..
*
29. OSI?
A. , DoD
B.
C. -
D. Cisco
30. OSI ?
A.
B.
C.
D.
E.
/
31. DHCP?
A. IP
B. TCP
C. UDP
D. ARP
32. IOS TFTP?
A. copy run starting
B. copy start running
C. copy running tftp
D. copy flash tftp
401
33. CSU/DSU,
64000 ?
A. RouterA(config)#bandwidth 64
B. RouterA(config-if)#bandwidth 64000
C. RouterA(config)#clockrate 64000
D. RouterA(config-if)clock rate 64
E. RouterA(config-if)clock rate 64000
34. ?
( .)
A.
B.
C.
D. CeraVLAN
35. Telnet Cisco?
A. Line telnet 0 4
B. Line aux 0 4
C. Linevty04
D. Line con 0
36. Cisco?
A. RouterA(config)#enable password todd
B. RouterA(config)#enable secret todd
C. RouterA(config)#enable secret password todd
D. RouterA(config-if)#enable secret todd
37. Ethernet IP-?
A. IP
B.
C. RARP
D. BootP
38. IOS Cisco?
A. copy tftp run
B. copy tftp start
C. config net
D. copy tftp flash
39. DRAM NVRAM?
A. copy run start
B. copy start run
402
C. config net
D. config mem
E. copy flash nvram
40. , ?
A. .
B. .
C. .
D. .
41. Ethernet ISL
Ethernet, ?
A. 1518
B. 1522
C. 4202
D. 8190
42.
12- ?
A.
B.
C.
D. 12
43.
?
A.
B. 1
C. 10
D. 100
44. ? .
A.
B.
C.
D.
45. Destination Network
Unknown ( )?
A. TCP
B. ARP
C. ICMP
D. BootP
403
A.
B.
C.
D.
100
260
400
1000
47. ?
A.
B.
C.
D.
48. ?
A.
B.
C.
D.
49. DRAM ,
TFTP?
A. copy run start
B. copy start run
C. copy tftp flash
D. copy tftp running
50. VLAN?
A.
B.
C. DHCP
D. Management Policy Server VLAN
51. 100 199?
A. IP
B. IPX
C. IP
D. IPX
E. IPX SAP
52. Ethernet 0 802.3.
53.
?
A. RIP
404
B. Static
C. IGRP
D. OSPF
54. 1000 1099?
A. IP
B. IPX
C. IP
D. IPX
E. IPX SAP
55. IOS 10.3 TFTP DRAM?
A. configt
B. config net
C. config mem
D. wr mem
56. RIP?
A. RouterAtfrouting rip
B. Router(config)#routing rip
C. RouterAtfrouter rip
D. Router(config)#router rip
E. router(config-router)#router rip
57. 800 899?
A. IP
B. IPX
C. IP
D. IPX
E. IPX SAP
58. PVC?
A. sh pvc
B. show interface
C. show frame-rely pvc
D. sho runh
i
59. Cisco 3Com -1,
?
A. Cisco 3Com .
B. 3Com Cisco.
C. .
405
D. Ethernet .
60. Ethernet?
A. FastEthernet
10Base2.
B. "-" .
C. " ".
D. .
61. . . ?
A. Frame Relay
B. Ethernet
C. ISDN
D. Token Ring
E. ATM
62. NetWare.
63. 2?
A. BPDU
B. STP
C. VLAN
D.
64. Ethernet 0 Ethernet_II.
65. 1900 VLAN?
A. Show config
B. Showvlan
C. Show vlan info
D. Sh startup-config
66. BECN?
A.
B. BRI ISDN
C. Frame Relay
D. HDLC
67. IPX.
406
68. IP- 192.168.168.188
255.255.255.192?
A. 192.168.168.129-190
B. 192.168.168.129-191
C. 192.168.168.128-190
D. 192.168.168.128-192
69. 900 999?
A. IP
B. IPX
C. IP
D. IPX
E. IPX SAP
70. ?
.
C.
D. 12
407
1. (. 10)
2.
3. Configt
Ipx routing
InteO
Ipx network 10
InteO.10
Ipx network encap sap
IntsO
Ipx network 20
(. 8)
4. (. 4)
5. (. 10)
6. (. 10)
7. (. 10)
8. (. 9)
9. (. 5)
10. (. 3)
11. show ipx traffic
(. 8)
12. (. 4)
13. (. )
14. (. 2)
15. (. 4)
16. Configt
17.
18.
19.
20.
21.
22.
23.
24.
25.
26.
(. 8)
(. 3)
(. 2)
D (. 6)
(. 2)
(. 2)
(. 1)
, D (. 6)
D (. 5)
(. 1)
, (. 6)
27.
28.
29.
30.
31.
32.
33.
34.
35.
34.
37.
38.
39.
40.
41.
42.
43.
44.
45.
46.
47.
48.
49.
50.
51.
52.
53.
54.
55.
56.
57.
58.
59.
(. 4)
(. ?) .
(. 1)
(. 1)
(. 3)
D (. 7)
(. 4)
, , D (. 1)
(. 4)
(. 4)
(. 3)
D (. 7)
(. 7)
(. 4)
(. 6)
D (. 2)
(. 5)
(. 5)
(. 3)
(. 1)
(. 1)
(. 5)
D (. 7)
D (. 6)
(. 9)
Configt
InteO.100
Ipx network lOa encap
novell-ether
(. 8)
(. 5)
(. 9)
(. 7)
D (. 5)
(. 9)
, D (. 10)
(. 10)
408
60.
1.
62. show ipx servers
(. 8)
63. (. 2)
64. Configt
InteO.10
Ipx network lOb encap arpa
(. 8)
65. (. ).
66. (. 10)
67. show ipx route
(. 8)
68. (. 3)
69. D (. 9)
70. (. 2)
Catalyst 1900
,<
410
1900
Catalyst 1900 CLI Cisco IOS (Internetworking
Operating System ).
CLI 1900 .
CLI , . Cisco Catalyst 5000 ( Cisco)
set. Catalyst 1900.
Cisco
:
IOS
CLI Cisco. Catalyst 1900,
2820 2900 CLI IOS, .
Catalyst 1900
411
Catalyst CLI, (. 4).
Web
VSM (Visual Switch Manager).
IP- Web-. IP- .
1900 ,
. Telnet VSM
IP-.
1900 ,
2500 (. 4).
RJ-45 .
|
; 1924 -
.
, HyperTerm Windows. :
9600 /
."..,
'
8
1
| Ethernet, ISDN
.
.
412
1900
:
.
.
.
, . . . .1
(LED, Light Emitting Diode)
1900.
Catalyst 1900
413
Ethernet
Catalyst 1900 5000. 1900 seT 100BaseT FX (uplink).
12 ( 1912) 24 ( 1924)
lOBaseT ,
FastEthernet. lOOBaseX . . .
, ,
.
.
414
, , ,
(.
).
, ,
.
IOS
Cisco 1900
Catalyst 1900.
CCNA, .
,
.
,
( ). , .
( )
.
.
Cisco.
I
. .
1900 IOS
CLI, . enable password, . ,
Cisco, 1900.
1900 .
.
. enable,
config t. , ,
.
Catalyst 1900
415
416
(
).
Catalyst 1900 Management Console
Copyright (c) Cisco Systems, Inc. 1993-1998
All rights reserved.
Enterprise Edition Software
Ethernet Address:
00-30-80-CC-7D-00
PCA Number:
73-3122-04
PCA Serial Number:
FAB033725XG
Model Number:
WS-C1912-A
System Serial Number: FAB0339T01M
Power Supply S/N:
PHI031801CF
PCB Serial Number:
FAB033725XG,73-3122-04
1 user(s) now active on Management Console.
User Interface Menu
[M] Menus
[K] Command Line
EnterSelection:
Enter password: ****
CLI session with the switch is open.
To end the CLI session, enter [Exit].
>en
Enter password: ****
#
en (
enable)
.
| I ,
1900 ,
.
Cisco.
. 1900
.
,
. .
Catalyst 1900
417
, .
(config)#enable secret toddZ
1900 enable password enable secret , . show running-config
( show run).
#sh run
Building configuration...
Current configuration:
enable secret 5 $!$FMFQ$wFVYVLYn2aXscfB3J95.w.
enable password level 1 "TODD"
enable password level 15 "TODD1"
,
.
.
,
running-config .
, , .
( )
. ..
. . .
1900 hostname ( ).
. . ,
, enable
. hostname .
1 user(s) now active on Management Console.
User Interface Menu
[M] Menus
[K] Command Line
[I] IP Configuration
Enter Selection:
Enter password: ****
CLI session with the switch is open.
To end the CLI session, enter [Exit].
418
>
Enter password: ****
#configt
Enter configuration commands, one per line. End with CNTL/Z
(config)#hostname Todd 1900EN
Toddl900EN(config)#
Enter . ,
(
config t) running-config.
.
IP
IP. ( ). IP- :
Telnet
, VLAN ( VLAN
6).
Catalyst 1900
, :
IP- : 0.0.0.0
GDP:
: FragmentFree
100BaseT:
lOBaseT:
(Spanning Tree):
:
IP- .
2
( ). show ip ( sh ip) IP , .
Toddl900EN#ship
IP Address: 0.0.0.0
Subnet Mask: 0.0.0.0
Default Gateway: 0.0.0.0
Management VLAN: 1
Domain name:
Name server 1:0.0.0.0
Name server 2: 0.0.0.0
HTTP server: Enabled
Catalyst 1900
419
HTTP port: 80
RIP: Enabled
IP-,
IP. IP
1900 ip address. ip default-gateway.
IP-
1900:
Toddl900EN#configt
Enter configuration commands, one per line. End with CNTL/Z
Toddl900EN(config)#ip address 172.16.10.16 255.255.255.0
Toddl900EN(config)#ip default-gateway 172.16.10.1
Toddl900EN(config)#
IP, show ip.
Toddl900EN#sh ip
IP Address: 172.16.10.16
Subnet Mask: 255.255.255.0
Default Gateway: 172.16.10.1
Management VLAN: 1
Domain name:
Name server 1:0.0.0.0
Name server 2:0.0.0.0
HTTP server: Enabled
HTTP port: 80
RIP: Enabled
Toddl900EN#
IP-
IP no ip
address no ip default-gateway.
.
1900 type slot/port. ,
Ethernet 0/3 lOBaseT 3. FastEthernet
0/26. FastEthernet 1900.
type slot/port 1900 interface show. interface . 1900 : zero (0).
.
1 25 Ethernet 26/27
420
__^
lOBaseT
1900 interface. type
slot/port interface .- ( ): Ethernet FastEthernet. Ethernet.
Toddl900EN#configt
Enter configuration commands, one per line. End with CNTL/Z
Toddl900EN(config)#int ethernet ?
<0-0> IEEE 802.3
. 1900 , . (/) /.
Toddl900EN(config)#int ethernet ?
/
Toddl900EN(config)#int ethernet /?
<1-25> IEEE 802.3
0/ . 1912 1 12 25 , 26 27
100 /.
FastEthernet, Ethernet. FastEthernet.
:
Toddl900EN(config)#int ethernet 0/1
(fig-if). ,
.
Toddl900EN(config-if)#?
Interface configuration commands:
( )
cdp
Cdp interface subcommands
( CDP)
description
Interface specific description
( )
Catalyst 1900
duplex
exit
help
no
port
shutdown
spantree
vlan-membership
421
int e 0/#, .
FastEthernet
FastEthernet type
slot/port, FastEthernet Ethernet, interface fastethernet 0\#.
1900 Fast
Ethernet. interface fastethernet, 0. 26 27.
Toddl900EN(config)#int fastEthernet ?
<0-0> FastEthernet IEEE 802.3
Toddl900EN(config)#int fastEthernet 0/?
<26-27> FastEthernet IEEE 802.3
Toddl900EN(config)#int fastEthernet 0/26
Toddl900EN(config-if)#int fast 0/27
Toddl900EN(config-if)#[control+Z]
show interface.
lOBaseT FastEthernet.
Toddl900EN#shinteO/l
Ethernet 0/1 is Suspended-no-linkbeat
Hardware is Built-in 10Base-T
Address is 0030.80CC.7D01
MTU 1500 bytes, BW10000 Kbits
802.Id STP State: Forwarding Forward Transitions: 1
422
[ ]
Toddl900EN#shintfO/26
FastEthernetO/26 is Suspended-no-linkbeat
Hardware is Built-in 100Base-TX
Address is 0030.80CC.7D1A
1900. ,
.
1900
on.
.
descripti, -
, description. .
, :
Toddl900EN#configt
Enter configuration commands, one per line. End with CNTL/Z
Toddl900EN(config)#int eO/1
Toddl900EN(config-if)#descriptionFinance_VLAN
Toddl900EN(config-if)#int fO/26'
Toddl900EN(config-if)#descriptiontrunk_to_Building_4
Toddl900EN(config-if)#
10 / 100 /.
,
show interface show running-config.
Toddl900EN#shinteO/l
Ethernet 0/1 is Suspended-no-linkbeat
Hardware is Built-in 10Base-T
Address is 0030.80CC.7D01
MTU 1500 bytes, BW 10000 Kbits
802.Id STP State: Forwarding Forward Transitions: 1
Port monitoring: Disabled
Unknown unicastflooding: Enabled
Catalyst 1900
423
1900 12 24 lOBaseT
FastEthernet. duplex 1900
,
duplex .
FastEthernet:
Toddl900EN(config)#int fO/26
Toddl900EN(config-if)#duplex ?
auto
Enable auto duplex configuration
( )
full
Force full duplex operation
( )
full-flow-control
Force full duplex with flow control
( )
half
Force half duplex operation
( )
Toddl900EN(config-if)#duplex full
B.I 1900. FastEthernet
auto duplex, .. . ,
FastEthernet
.
424
B.I.
Auto
.
100BaseTX.
Full
10 100 /.
Full-flow-control
100BaseTX.
.
Half
.
.
, show interface.
Toddl900EN#shintfO/26
FastEthernet 0/26 is Suspended-no-linkbeat
Hardware is Built-in 100Base-TX
Address is 0030.80CC.7D1A
MTU 1500 bytes, BW100000 Kbits
802.Id STP State: Blocking Forward Transitions: 0
Port monitoring: Disabled
Unknown unicastflooding: Enabled
Unregistered multicast flooding: Enabled
Description: trunk_to_Building_4
Duplex setting: Full duplex
Back pressure: Disabled
.
IP
IP .
1900 Ping Telnet. 1900 telnet
traceroute.
Ping CLI . ,
(!).
(.), -.
Toddl900EN#ping 172.16.10.10
Sending 5,100-byte ICMP Echos to 172.16.10.10, time out
is 2 seconds:
Success rate is 100 percent (5/5), round-trip min/avg/max
Catalyst 1900
425
0/2/10/ ms
Toddl900EN#telnet 172.16.10.10
NVRAM, . startup-config
NVRAM. running-config. running-config, NVRAM. ,
copy running-config startup-config.
1900 .
NVRAM 1900
( )
delete nvram.
, :
nvram vtp. NVRAM .
Toddl900EN#delete ?
nvram NVRAM configuration
vtp
Reset VTP configuration to defaults
Toddl900EN#delete nvram
This command resets the switch with factory defaults. All system parameters will
revert to their default factory settings. All static and dynamic addresses will be
removed.
Reset system with factory defaults, [Y]es or [N]o? Yes
delete nvram.
yes,
.
-
.
- ( ), (NIC)
, . MAC, , .
,
- .
426
- MAC
-, .
-. , .
show mac-address-table. ,
.
Toddl900EN#sh mac-address-table
Number of permanent addresses: 0
Number of restricted static addresses: 0
Number of dynamic addresses: 4
Address
Interface List
OOA0.246E.OFA8
0000.8147.4E11
0000.8610.C16F
OOA0.2448.60A5
Dest Interface
Type
Soi
Ethernet 0/2
Ethernet 0/5
Ethernet 0/1
Ethernet 0/4
Dynamic
Dynamic
Dynamic
Dynamic
All
AIL
AIL
All
, 1900. , .. , ,
.
1, 2, 4 5.
Catalyst 1900 1024 -. ,
,
.
- clear
mac-address-table, , .
clear mac-address-table.
#clear mac-address-table ?
dynamic
Clear802.1d dynamic address
( 802.Id)
permanent Clear 802. Id permanent addresses
( 802. Id)
restricted
Clear 802.Id restricted static address
( 802.Id)
<>
Catalyst 1900
427
-
(permanent address) . . , ..
, .
, . ( , ).
-
- mac-address-table permanent
[_] [].
:
(Aging-time)
- ( ).
(Permanent) .
,
.
(Restricted) static
. .
mac-address-table permanent :
Toddl900EN#configt
Enter configuration commands, one per line. End with CNTL/Z
Toddl900EN(config)#mac-address-table?
aging-time Aging time of dynamic addresses
permanent Configure a permanent address
restricted
Configure a restricted static address
mac-address-table permanent
. .
Toddl900EN(config)#mac-address-table permanent ?
.. 48 bit hardware address
Toddl900EN(config)#mac-address-table permanent
OOA0.2448.60A5 eO/4
428
. show mac-address-table.
Toddl900EN#sh mac-address-table
Number of permanent addresses: 1
Number of restricted static addresses: 0
Number of dynamic addresses :3
Address
Interface List
OOA0.2448.60A5
OOA0.246E.OFA8
0000.8147.4E11
0000.8610.C16F
Toddl900EN#
Dest Interface
Type
Sou
Ethernet 0/4
Ethernet 0/2
Ethernet 0/5
Ethernet 0/1
Permanent
Dynamic
Dynamic
Dynamic
All
All
All
All
4
0.2448.605. 4,
-.
-
. restricted
static ,
.
mac-address-table restricted static : ,
.
mac-address-table restricted static
:
Toddl900EN(config)#mac-address-table restricted static ?
.. 48 bit hardware address
Toddl900EN(config)#mac-address-table restricted static
OOA0.246E.OFA8 ?
Ethernet
IEEE 802.3
FastEthernet FastEthernet IEEE 802.3
, ,
.
Toddl900EN(config)#mac-address-table restricted static
OOA0.246E.OFA8eO/2?
Ethernet
IEEE 802.3
Catalyst 1900
FastEthernet
<cr>
429
, .
Toddl900EN(config)#$-table restricted static
OOA0.246E.OFA8 /2 /5
,
- .
show mac-address-table ( : sh mac).
Toddl900EN#sh mac
Number of permanent addresses: 1
Number of restricted static addresses: 1
Number of dynamic addresses: 2
Address
Dest Interface
Type
OOA0.2448.60A5
OOA0.246E.OFA8
0000.8147.4E11
0000.8610.C16F
Toddl900EN#
Ethernet 0/4
Ethernet 0/2
Ethernet 0/5
Ethernet 0/1
Permanent
Static
Dynamic
Dynamic
AIL
EtO/5
All
All
,
. 132 . port secure max-mac-count
port secure
max-mac-count 0/2
.
Toddl900EN#configt
Enter configuration commands, one per line. End with CNTL/Z
Toddl900EN(config)#int eO/2
Toddl900EN(config-if)#port secure ?
max-mac-count Maximum numberof addresses allowed on the port
<cr>
Toddl900EN(config-if)#port secure max-mac-count ?
430
<1-132> Maximum mac address count foe this secure port
Toddl900EN(config-if)#port secure max-mac-count 1
" " (sticky-learned) .
,
. Sticky-learn
Cisco
-.
Show Version
show version :
, IOS -.
- , 1900 .
- Cisco , .
:
,
, :
Toddl900EN#sh ver
Cisco Catalyst 1900/2820 Enterprise Edition Software
Version V9.00.00
Copyright (c) Cisco Systems, Inc. 1993-1999
Toddl900EN uptime is Oday(s) 03hour(s) 37minute(s)
15second(s)
Cisco Catalyst 1900 (486sxl) processor with 2048K/1024K
bytes of memory
Hardware board revision is 5
Upgrade Status: No upgrade currently in progress.
Config File Status: No configuration upload/download is in
progress
15 Fixed Ethernet/IEEE 802.3 interface(s)
Base Ethernet Address: 00-BO-64-75-6A-CO
Toddl900EN#
15 Ethernet
802.3, 1912 . 1912
12 lOBaseT, 1 AUI 2 FastEthernet, .. 15 . 1924 24 lOBaseT, 1 AUI 2 FastEthernet, .. 27 .
Catalyst 1900
431
1900
show port system.
switching-mode . : store-and-forward FragmentFree.
show port system , FragmentFree. switching-mode
store-and-forward ( ).
1900EN#sh port system
Switching mode: FragmentFree
Use of store and forward for multicast: Disabled
Network port: None
Half duplex backpressure (10 Mbps ports): Disabled
Enhanced Congestion Control (10 Mbps ports): Disabled
Default port LED display mode: Port Status
1900EN(config)#switching-mode ?
fragment-free
Fragment Free mode
store-and-forward Store-and-Forward mode
.
VLAN
(VLAN).
VLAN (
). VLAN
, VLAN.
1900 64 VLAN,
(spanning-tree).
VLAN 1900
, IOS. VLAN 1900,
CLI. Cisco IOS. , CCNA 1900
CLI.
1900.
CLI enable config t
.
1 user(s) now.active on Management Console.
User Interface Menu
432
[] Menus
[] Command Line
[I] IP Configuration
Enter Selection:
CLI session with the switch is open.
To end the CLI session, enter [Exit].
VLAN IOS vlart [_] name [_].
VLAN .
>
#config t
Enter configuration commands, one per line. End with CNTL/Z
(config)#hostname 1900EN
1900EN(config)#vlan 2 name sales
1900EN(config)#vlan 3 name marketing
1900EN(config)#vlan 4 name mis
1900EN(config)#exit
VLAN,
show vlan. VLAN 1. VLAN ,
.
| , VLAN
.
VLAN 1.
VLAN
show vlan ( : sh vlan).
1900EN#shvlan
VLAN Name
Status
Ports
1 default
2 sales
3 marketing
4 mis
1002 fddi-default
1003 token-ring-defau
1004fddinet-default
1005 trnet-default
Enabled
Enabled
Enabled
Enabled
Suspended
Suspended
Suspended
Suspended
1-12,AUI,A,B
[ ]
Catalyst 1900
433
VLAN
VLAN
vlan-membership. VLAN . 1900 VLAN .
. CCNA
VLAN.
2 VLAN 2, 4 VLAN 3 5 VLAN 4.
1900EN#configt
Enter configuration commands, one per line. End with CNTL/Z
1900EN(config)#int eO/2
1900EN(config-if)#vlan-membership?
dynamic Set VLAN membership type as dynamic
static
Set VLAN membership type as static
1900EN(config-if)#vlan-membership static ?
<1-1005> ISL VLAN index
1900EN(config-if)#vlan-membership static 2
1900EN(config-if)#iht eO/4
1900EN(config-if)#vlan-membership static 3
1900EN(config-if)#int eO/5
1900EN(config-if)#vlan-membership static 4
1900EN(config-if)#exit
1900EN(config)#exit
show vlan, VLAN.
1900EN#sh vlan
VLAN Name
Status
Ports
1 default
2 sales
3 marketing
4 mis
1002 fddi-default
1003 token-ring-defau
1004fddinet-default
Enabled
Enabled
Enabled
Enabled
Suspended
Suspended
Suspended
1, 3, 6-:
2
4
5
434
1005 trnet-default
Suspended
[ ]
VLAN
show vlan [].
1900EN#sh vlan 2
VLAN Name
Status
Ports
Enabled
sales
MTU
Parent RingNo
BridgeNo Stp
1
Transl
Unkn
Trans2
1900EN#
VLAN
show vlan-membership. , VLAN (
).
1900A#sh vlan-membership
Port VLAN Membership
1
1 Static
2
2 Static
3
1 Static
4
3 Static
5
4 Static
6
1 Static
7
1 Static
8
1 Static
9
1 Static
10
1 Static
11
.1 Static
12
1 Static
AUI
A
1 Static
1 Static
1 Static
1900A#
1900 DISL
(Dynamic Inter-Switch Link
Catalyst 1900
435
). FastEthernet
trunk [].
26
.
1900EN#config t
Enter configuration commands, one per line. End with CNTL/Z
1900EN(config)#intfO/26
1900EN(config-if)#trunk ?
auto
Set DISL state to AUTO
desirable
Set DISL state to DESIRABLE
nonegotiate Set DISL state to NONEGOTIATE
off Set DISL state to OFF
on Set DISL state to ON
1900EN(config-if)#trunk on
.
Auto ()
, .
Desirable () .
, ,
.
Nonegotiate ( ) ISL .
Off () .
On () ISL
.
VLAN ? . VLAN ( VLAN).
VLAN
, VLAN ,
. VLAN
: VLAN ,
VLAN.
436
show t r u n k .
, , show trunk [_].
1900 FastEthernet 0/26
, 0/27 .
26:
1900EN#sh trunk?
A Trunk A
Trunk
1900EN#shtrunka
DISL state: Auto,Trunking: On, Encapsulation type: ISL
DISL auto, , VLAN, ISL.
VLAN show trunk [ ] allowed-vlans. VLAN 26:
1900EN#sh trunk?
A Trunk A
Trunk
1900EN#shtrunka?
allowed-vlans
Display allowed vlans
joined-vlans
Displayjoined vlans
joining-vlans
Displayjoining vlans
prune-eligible Display pruning eligible vlans
<cr>
Catalyst 1900
437
ISL
ISL FastEthernet
VLAN. . VLAN, . VLAN ,
:
VLAN 1
172.16.10.0/24
VLAN 2
172.16.20.0/24
VLAN 3 172.16.30.0/24
VLAN 4 mis
172.16.40.0/24
VLAN .
VLAN :
1. ISL , .
2. ISL .
3. IP-
, (, IPX).
FastEthernet, .
(config-subif) .
ISL
encapsulation isl [_1].
IP-, IPX, AppleTalk ..
VLAN .
, .
2621 ISL VLAN. , VLAN. ,
.. . . IP- .
VLAN 1 172.16.10.0. .
438
2621#configt
2621(config)intfO/0.1
2621(config-subif)# encapsulation isl 1
2621(config-subif)#ip address 172.16.10.1 255.255.255.0
2621(config-subif)# int fO/0.2
2621(config-subif)# encapsulation isl 2
2621(config-subif)#ip address 172.16.20.1 255.255.255.0
2621(config-subif)# int f 0/0.3
2621(config-subif)# encapsulation isl 3
2621(config-subif)#ip address 172.16.30.1 255.255.255.0
2621(config-subif)# int fO/0.4
2621(config-subif)# encapsulation isl 4
2621(config-subif)#ip address 172.16.40.1255.255.255.0
2621(config-subif)#exit
2621(config)#intfO/0
262l(config-if) no shutdown
IP- VLAN 1, VLAN 2, 3 4.
.
Catalyst 1900
VTP, . VTP (. ),
VTP.
VTP , (pruning).
vtp .
VTP Lammle todd.
Toddl900EN(config)#vtp?
client
VTP client
domain
Set VTP domain name
password
Set VTP password
pruning
VTP pruning
server
VTP server
transparent VTP transparent
trap
VTP trap
Toddl900EN(config)#vtp server
Catalyst 1900
439
. VLAN, VTP
. Cisco
VTP VTP .
NVRAM 1900.
VTP , VTP NVRAM.
1900 VTP
delete vtp. VTP NVRAM:
Toddl900EN#delete ?
nvram NVRAM configuration
vtp
Reset VTP configuration to defaults
Toddl900EN#deletevtp
This command resets the with VTP parameters set to factory
defaults.
All other parameters will be unchanged.
Reset system with VTP parameters set to factory defaults,
[Y]esor[N]o?Yes
VTP .
440
1900. ,
VTP VTP
.
Toddl900EN(config)#vtp ?
IOS
Catalyst 1900
IOS
Cisco Catalyst 1900,
IOS Catalyst 1900
TFTP.
IOS '
1900:
11://__"/__105 opcode
:
copy tftp IOS TFTP.
//aflpec_xocTa_TFTP TFTP.
_,_8
TFTP (, catl900EN_9_OO.bin ).
opcode -.
Catalyst
1900
441
:
1900# tftp://192.168.0.120/catl900EN_9_OO.bin opcode
TFTP operation succeeded
1900B#
Catalyst 1900
Cisco Catalyst 1900
nvram 1900.
TFTP:
copy nvram ://_!_'[/__
TFTP Ping,
:
1900B#ping 192.168.0.120
Sending 5, 100-byte ICMP Echos to 192.168.0.120, time out
is 2 seconds:
Success rate is 100 percent (5/5), round-trip min/avg/max
0/2/10/ ms
, copy nvram tftp:
:
1900# nvram tftp://192.168.0.120/1900en
Configuration upload is successfully completed
TFTP-. Wed June 01 14:16:10 2000: Receiving '1900en' file from
192.168.0.120 in ASCII mode
##
442
TFTP
( nvram).
startup-config ( nvram)
1900 delete nvram, :
1900B#delete nvram
This command resets the switch with factory defaults. All system parameters
will revert to their default factory settings. All static and dynamic addresses
will be removed.
( .
. )
Reset system with factory defaults, [Y]es or [N]o? Yes
, VLAN. , IP-
.
^
'
'
1900
Cisco, Catalyst 1900. 1900:
switch#sh cdp
Global CDP information:
CDP version: 2
Sending CDP packets every 60 seconds
Sending a holdtime value of 180 seconds
#
, 60 , 180 (. 7).
, , 180 .
, .
[
I 1900 CDP 2
CDP Cisco.
1900
CDP 1 2,
CDP 1. CDP
2.
Catalyst 1900
443
switch(config)#cdp?
advertise-v2 CDP sends version-2 advertisements
( CDP 2)
holdtime Specify the holdtime (in sec) to be sent in packets
( , )
timer Specify the rate at which CDP packets are sent(in sec)
( )
, 1900:
switch(config)#cdp timer 90
switch(config)#cdp holdtime 240
:
1.
2. IP
3. -
4. /2
5. - 1234.4567.8912 /1
6. , /1
7. /5
8. VLAN : Purchasing, Sales MIS
9. 2 3 Sales, 4 5 Purchasing, 6 7
MIS ( )
10.
11.
12. VTP
13.
14. VLAN
15. 5 VLAN 2
444
, 1900. CCNA e-trainer Sybex,
RouterSim 2.0 (. www.routersim.com).
' -
. . , ' '
' -
',
-'
'
. 1.
1900
Cisco Catalyst
1900 .
1. 1900 CLI.
2. 1900 Enter, (>) enable.
3. show running-config . .
4. show version IOS, .
5. hostname:
config t
hostname 1900A
i. show ip IP-,
.
7. IP-,
:
config t
ip address 172.16.10.3 255.255.255.0
ip default-gateway 172.16.10.1
8. show ip .
9. CLI Ping ping
[1_].
10. show mac-address-table
, .
11. show interfaces .
12. show int ? Ethernet FastEthernet.
13. sho int Ethernet ? 0. <0-0>
12 24 .
14. sh int e /? .
Catalyst 1900
445
'-'':
'
.2.
1900
, IP-
1900.
1. 1900 1900
CLI.
2. en enable .
3. :
config t
enable password level 1 todd
enable password level 15 toddl
enable secret todd 2
4. sh run .
.
5. Ethernet 0/5 .
config t
inteO/5
duplex full
6. Ethernet 0/6
.
config t
int /6
duplex half
7. sh interface, sh int eO/5
sh int eO/6.
8.- IP:
Config t
no ip address
9. IP show ip.
446
10. IP-, .
config t
ip address 172.16.10.100 255.255.255.0
ip default-gateway 172.16.10.1
1 \. show ip.
12. show mac-address-table . - .
13. , permanent:
config t
mac-address-table permanent 083c.0000.0001 eO/9
14. show mac-address-table /9.
15. mac-address-table restricted static
:
Config t
Mac-address-table restricted static 083c.0000.0002 eO/3 eO/4
083c.0000.0002 /.
/4.
16. /1 port secure max-mac-count 1
,
-. 132 -.
.
Config t
InteO/1
Port secure max-mac-count 1
17. show mac-address-table security.
/1.
..
VLAN
. .4 , VLAN .
1. Telnet
1900. 1900.
Catalyst 1900
447
ttconfigt
(config)#hostname 1900A
1900A#
2. VLAN (2-5)
:
VLAN2=Sales
VLAN3=Management
VLAN4=Engineering
VLAN5=Marketing
1900A#configt
Enter configuration commands, one per line. End with CNTL/Z
1900A(config)#vlan 2 name Sales
1900A(config)#vlan 3 name Management
1900A(config)#vlan 4 name Engineering
1900A(config)#vlan 5 name Marketing
1900A(config)#exit
VLAN show via .
1900A#shvlan
VLAN Name
Status
Enabled 1-12,
Enabled
Enabled
Enabled
Enabled
Suspended
Suspended
Suspended
Suspended
2
3
4
5
1002
1003
1004
1005
default
Sales
Management
Engineering
Marketing
fddi-default
token-ring-defau
fddinet-default
trnet-default
Ports
# [ ]
13.4.
VLAN
VLAN.
1. 1 2 VLAN 2.
VLAN 1, .
1900A#config t
Enter configuration commands, one per line. End with CNTL/Z
1900A(config)#inteO/l
448
1900A(config-if)#vlan-membership static 2
1900A(config-if)#int eO/2
1900A(config-if)#vlan-membership static 2
2. 3 4 VLAN 3.
1900A(config-if)#int eO/3
1900A(config-if)#vlan-membership static 3
1900A(config-if)#int eO/4
1900A(config-if)#vlan-membership static 3
5 6 VLAN 4.
1900A(config-if)#int eO/5
1900A(config-if)#vlan-membership static 4
1900A(config-if)#irit eO/6
1900A(config-if)#vlan-membership static 4
7 8 VLAN 5.
1900A(config.-if)#int eO/7
1900A(config-if)#vlan-membership static 5
1900A(config-if)#int eO/8
1900A(config-if)#vlan-membership static 5
1900A(config-if)#exit
1900A(config)#exit
3. show vlan.
1900A#sh vlan
VLAN Name
Status
Ports
Enabled
Enabled
Enabled
Enabled
Enabled
Suspended
Suspended
Suspended
Suspended
8-12,AUI,A,B
1-2
3-4
5-6
7-8
2
3
4
5
1002
1003
1004
1005
default
Sales
Management
Engineering
Marketing
fddi-default
token-ring-defau
fddinet-default
trnet-default
VLAN
Membership
Static
Catalyst 1900
2
3
4
5
6
7
8
9
10
11
12
AUI
1900#
2
3
3
4
4
5
5
1
1
1
1
1
1
1
449
Static
Static
Static
Static
Static
Static
Static
Static
Static
Static
Static
Static
Static
Static
. 5.
.
, , VLAN 1.
, VLAN .
1. 1900 26
. ,
.
1900A#configt
Enter configuration commands, one per line. End with CNTL/Z
1900A(config)#int f 0/26
1900A(config-if)#trunk ?
auto
Set DISL state to AUTO
desirable
Set DISL state to DESIRABLE
nonegotiate Set DISL state to NONEGOTIATE
off
Set DISL state to OFF
on
Set DISL state to ON
1900EN(config-if)#trunk auto
2. 1900 1900.
26 .
#configt
Enter configuration commands, one per line. End with CNTL/Z
450
''
(config)#hostname 1900B
1900B(config)#intfO/26
1900B(config-if)#trunk ?
auto
Set DISL state to AUTO
desirable
Set DISL state to DESIRABLE
nonegotiate Set DISL state to NONEGOTIATE
off
Set DISL state to OFF
on
Set DISL state to ON
. 1900B(config-if)#trunk on
.6.
1900 VTP, VTP .
1. Telnet
1900. VTP (
,
).
1900A#configt
1900A(config)#vtp server
2. VTP Classrooml.
1900A#configt
1900A(config)#vtp domain Classrooml
.
.
.
.
>
3. VTP.
1900A#showvtp
4. Telnet
1900, VTP VTP.
1900B#config t
1900B(config)#vtp domain Classrooml
1900B(config)#vtp client
5. VTP
show vtp, VLAN
. show vlan.
6. 1900 show vlan VLAN 1900.
1900B#shvlan
VLAN Name
Status
Ports
1
2
Enabled
Enabled
1-12,AUI,A,B
default
Sales
Catalyst 1900
3
4
5
1002
1003
1004
1005
Management
Engineering
Marketing
fddi-default
token-ring-defau
fddinet-default
trnet-default
451
Enabled
Enabled
Enabled
Suspended
Suspended
Suspended ,
Suspended
VLAN, 1900
VLAN 1. ,
VLAN. ( VLAN,
).
.7.
VLAN
ISL
VLAN VTP (
VLAN ), 2600 VLAN.
1. 2600 FastEthernet
. .
2. .
1900A#configt
1900A(config)intfO/027
1900A(config-if)# trunk on
3. FastEthernet 2600 VLAN.
2621#configt
2621(config)intfO/0.1
2621(config-if)no shutdown
2621(config-subif)# encapsulation isl 1
2621(config-subif)# ip address 172.16.10.1 255.255.255.0
2621(config-subif)#intfO/0.2
2621(config-subif)# encapsulation isl 2
2621(config-subif)#ip address 172.16.20.1 255.255.255.0
2621(config-subif)#intfO/0.3
2621(config-subif)# encapsulation isl 3
2621(config-subif)#ip address 172.16.30.1 255.255.255.0
2621(config-subif)# int fO/0.4
452
1. 1900?
A. Ping 1900,
.
B. Ping 1900,
.
C. Telnet 1900, .
D. Telnet 1900, .
2. /10 1900
Ethernet?
A.
B.
C.
D.
full duplex on
duplex on
duplex full
full-duplex
Catalyst 1900
453
5. ?
A. .
B. RTS.
C.
.
D. , .
6. startup-config 1900?
A. erase startup-config
B. delete startup-config
C. delete nvram
D. delete startup
7. , 3 1900
Finance Server?
A. int eO/3, description Finance Server
B. int eO/3, description Finance_Server
C. set port name eO/3 Finance Server
D. set port name eO/3 Finance_Server
8. ?
A.
*
B.
C.
D. -
9.
1900?
A. usermode password todd
B. enable password todd
C. enable password level 1 todd
D. enable password level 15 todd
10. 1900?
A. 1900EN(config)#enable password level 1 todd
B. 1900EN(config)#enable password level 15 todd
C. 1900EN#set enable password todd
D. 1900EN(Config)#enable password todd
11. IP 1900?
A. sh ip config
B. ship
C. sh int config
D. sh int
454
Catalyst 1900
455
A. :
B. IP-: 192.168.10.2
C. : 0.0.0.0
D. : FragmentFree
E. :
F. 100BaseT:
G. :
. : Cisco
19. 2 ?
A. showint 2
B. showinteth 0/2
C. shinte/2
D. show inter fO/2
20. 27?
A. showint27
B. showinteth 0/27
C. shintf/27
D. shinterfO/27
21. -?
A. Toddl900EN(config-if)#port secure max-mac-count 1
B. Toddl900EN(config-if)#port max-mac-count secure 1
C. Toddl900EN(config)#mac-address-table restricted
static OOA0.246E.OFA8 eO/2
D. Toddl900EN(config)#mac-address-table permanent
OOA0.2448.60A5 eO/4
22.
/4 , -
0.2448.605?
A. int eO/4 set MAC OOA0.2448.60A5
B. Toddl900EN(config)#mac-address-table restricted
static OOA0.2448.60A5 eO/2
C. Toddl900EN(config)#mac-address-table permanent
OOA0.2448.60A5 eO/4
D. Toddl900EN(config-if)#port secure max-mac-count OOA0.2448.60A5
23. /5 1900
OOA0.246E.OFA8?
A. int eO/5 out OOA0.246E.OFA8
B. Toddl900EN(config)#mac-address-table permanent
OOA0.246E.OFA8 eO/4
456
/
1. show running-config
2. sh ip
3. show mac-address-table
4. port secure max-mac-count 1
5. mac-address-table permanent 1234.4567.8912 eO/1
6. clear mac-address-table permanent 1234.4567.8912 eO/1
7. show int eO/5
8. config t
vlan 2 Purchasing
vlan 3 Sales
vlan 4 MIS
9. int eO/2
vlan-membership static 3
int eO/3
vlan-membership static 3
inteO/4
vlan-membership static 2
inteO/5
vlan-membership static 2
inteO/6
vlan-membership static 4
inteO/7
vlan-membership static 4
10. config t vtp client
11. config t vtp transparent
12. show vtp
13. int fO/27, trunk auto
14. show vlan
15. config t int eO/5, vlan-membership static 2
Catalyst 1900
457
1.
2.
3.
4.
5.
6.
7.
8.
9.
10.
11.
12.
13.
14.
15.
16.
17.
18.
1.
20.
21.
22.
23.
C.D
A, C.D
D
, , D, G
|
Cisco
, .
0.0.0.0 255.255.255.255
, , any
access-class
IP VTY
access-list
0.0.0.0255.255.255.255
Backspace
bandwidth
banner
cdp enable
cdp holdtime
CDP
cdp run
CDP
cdp timer
CDP
clear counters
clear line
Telnet
clear mac-address-table
clock rate
config memory
startup-config
running-config
config network
TFTP
running-config
config terminal
4
running-config
config-register
- TFTP
any
.
461
Cisco
tup-config. NVRAM
copy run tftp
running-config TFTP
TFTP -
TFTP
running-cqnfig
Ctrl+D
Ctrl+E
Ctrl+F
Ctrl+Shift+6, X
Telnet
Ctrl+U
Ctrl+W
4
4
EXEC
10
Ctrl+R
Ctrl+Z
debug dialer
5
IGRP
- 5
debug ip rip
.
debug ipx
debug isdn q921
debug isdn q931
delete nvram
delete vtp
description
dialer idle-timeout
number
10
5
RIP,
RIP SAP,
3
NVRAM
1900
VTP
BRI ,
""
10
10
7, .
.
4, .
10
462
10
dialer list number protocol "" DDR
protocol permit/deny
10
dialer load-threshold
BRI ISDN
number inbound/
outbound/either
dialer map protocol address
name hostname number
dialer-string
disable
ISDN
BRI
10
10
4
disconnect
duplex
.
4
4
.
.
4, .
Frame Relay
Internet Engineering
Task Force (IETF) Cisco
HDLC
ISL VLAN 2
startup-config
NVRAM
-
10
enable
enable password
enable password Level 1
enable password Level 15
enable secret
encapsulation
encapsulation frame-relay
encapsulation frame-relay
ietf
encapsulation hdlc
encapsulation isl 2
encapsulation ppp
erase startup
erase startup-config
Esc+B
Esc+F
exec-timeout
exit
10
10
.
10
4
7
4
4
4
Telnet - 7
463
Cisco
frame-relay interface-did
10
frame-relay Imi-type
LMI
Frame
Relay
10
Host
hostname
4, .
inteO.10
intfO/0.1
interface
.
show
interface eO/5
Ethernet 5
/1
10
FastEthernet 26
FastEthernet.
show
interface fastethernet
interface fO/26
0/0.1
- 10
Frame Relay
interface sO.16
point-to-point
"-" - 10
Frame Relay
serial 5, 4
show
interface serial 5
ip access-group
IP
ip address
IP-
,
DNS ( )
DNS
4, .
ip classless
ip default-gateway
ip domain-lookup
ip domain-name
ip host
.
7
7
7
464
ip name-server
ip route
ipx access-group
ipx input-sap-filter
ipx network
ipx output-sap-filter
ipx ping
ipx routing
isdn spidl
isdn spid2
isdn switch-type
line
line aux
line console 0
line vty
\
logging synchronous
logout
mac-address-table
permanent
mac-address-table
restricted static
media-type
network
IP-
DNS
IPX
IPX SAP
IPX
IPX SAP
Packet Internet Groper
IPX
IPX
DSO ISDN
DSO ISDN
ISDN .
1900 CLI
VTY
(Telnet)
-
-,
7
5
9
9
8
9
8
8
10
10
10
4
4
4
4
4
4
.
.
4
5
465
Cisco
no cdp enable
CDP
CDP
7'
7
no inverse-arp
IARP
Frame Relay.
10
no ip domain-Lookup
DNS
no ip host
no IP route
5
4
no cdp run
no shutdown
o/r 0x2142
2501 - 7
NVRAM
ping
IP 4,7, .
CHAP
10
10
IP IGRP
RIP
5
4,5
secondary
IPX
Service passwordencryption
show access-list
110
9
9
show cdp
CDP
,
CDP
IP-, IOS ,
show cdp neighbor
CDP
(DTE DCE)
7
7
7
7
4
466
show dialer
show flash
show frame-relay Imi
show frame-relay map
show frame-relay pvc
Show history
show hosts
show int fO/26
show inter eO/1
Show interface sO
showip
show ip access-list
show ip interface
showip protocols
showip route
show ipx access-list
show ipx interface
show mac-address-table
10
, ,
,
-
7
LMI
PVC
PVC
nDLCI
10-
( )
fO/26
/1
serial 0
IP
IP
,
IP
IP
IPX,
RIP SAP, . IPX
IPX
SAP Cisco
RIP SAP,
Cisco
SPID
10
10
10
4
7
.
.
4
.
9
9
5
5,10
9
8, 9
8
8
8
10
10
.
467
Cisco
show protocols
5, 8
show run
show sessions
show start
show running-config.
Telnet
show startup-config.
,
NVRAM
4, 7, .
7
4, 7
Show terminal
show trunk A
26
show trunk
27
show version
show vlan-membership
IOS - 4,7, .
,
Ethernet
VLAN
.
, VLAN
.
show vtp
VTP
shutdown
Tab
telnet
4, 7
( 10,
256)
IGRP
IGRP
show vlan
trace
traffic-share balanced
traffic-share min
trunk auto
4, 7
5
5
.
trunk on
.
Cisco
10
variance
468
VLAN 2 Sales
VLAN
VTP
VTP
VTP
.
.
.
.
.
.
vtp server
470
471
472
MCR PCR.
.
.. MCRuPCR.
active monitor . Token
Ring. - : .
address learning . ,
.
-.
address mapping .
, .
address mask . ,
, , .
. subnet mask.
address resolution () .
.
( 3) ( 2).
. address mapping.
adjacency . ,
. , .
administrative distance .
. 0 255. , .
administrative weight . , . , PTSP ATM.
ADSU (ATM DSU) (DSU) ATM. , ATM
, (HSSI). . DSU.
advertising . , . ,
.
473
474
analog transmission . ( ), , .
ANSI (American National Standards Institute) . , , . ,
. , .
ANSI- IEC ISO.
any cast . ATM ,
.
, .
AppleTalk , Apple Computer. . Phase I ,
.
Phase II
.
Application layer . OSI, (, ), OSI.
, ,
.
ARA (AppleTalk Remote Access) AppleTalk.
Macintosh AppleTalk.
area . (, CLNS, DECnet OSPF) . , . . autonomous
system.
ARM (Asynchronous Response Mode) . HDLC , , , , .
ARP (Address Resolution Protocol) . , -
IP-. RFC 826. RARP. . proxy ARP.
475
476
^__
477
).
(VCC) . . ATM layer, ATMM.
ATP (AppleTalk Transaction Protocol) AppleTalk.
, . , .
,
-.
attenuation . .
AURP (AppleTalk Update-Based Routing Protocol) AppleTalk . AppleTalk , AppleTalk (,
TCP/IP) AppleTalk. "" AURP. , AURP
AppleTalk . . AURP tunnel exterior
router.
AURP tunnel AURP. , AURP AppleTalk,
(, TCP/IP). . AURP.
authority zone . , (DNS).
, . . DNS.
\
auto duplex , .
automatic call reconnect ().
.
autonomous confederation . , , , , ,
.
478
479
,
, .
channel -. Bearer channel (-)
64 / ISDN, .
. D channel (), channel (-), channel (-).
beacon (). Token Ring FDDI , . . . failure domain.
BECN (Backward Explicit Congestion Notification)
. Frame Relay 1
, ,
, . DTE, BECN,
. FECN.
- , - , ' - .
480
border gateway . ,
.
BPDU (Bridge Protocol Data Unit) . ,
.
BRI (Basic Rate Interface)
( ). ISDN,
- D- -,
- . PRI. . BISDN.
bridge . , .
( 2)
OSI. -
.
broadband . , .
,
, (4 ). , . baseband.
broadcast . , (
).
,
, . "local broadcast"
(" "). directed broadcast.
broadcast domain .
, , . , .
broadcast storm . ,
.
-.
buffer . , . . ,
. " ".
481
bus topology .
, , , . ring topology star topology.
bus . , ,
.
BUS (broadcast and unknown servers) .
, ()
, ATM. . LANE, LEG, LEGS LES.
.25 .25, AT&T. . X.25.
bypass mode . FDDI Token Ring .
bypass relay .
Token Ring
.
byte-oriented protocol .
, .
. bit-oriented protocol.
cable range . , AppleTalk. .
.
(Connection Admission Control) . ,
ATM ,
(QoS) .
ATM.
call admission control . ATM, ,
.
call priority .
.
482
______
, . ( ) .
call setup time . , DTE.
CBR (Constant Bit Rate) . QpS, ATM ATM. , . ABR VBR.
CD (Carrier Detect) . , . , , , .
CDP (Cisco Discovery Protocol) Cisco.
Cisco
, , Cisco. SNAP .
CDVT (Cell Delay Variation Tolerance) . , ATM ATM. (CBR)
(PCR). . CBRuPCR.
cell . ATM. , , . 5- 48- . . cell relay.
cell payload scrambling . ,
ATM
.
cell relay . ,
, . . , ATM . .
cell.
Centrex , , , .
Centrex ,
. . .
CER (Cell Error Ratio) . ATM
, , , .
483
channelized E1 El .
2.048 / , 29 - 1 D-.
DDR, Frame Relay .25. channelized T1.
channelized 1 1 .
1.554 / , 23 - 1 D-,
64 /, . DDR, Frame Relay
.25. channelized El.
CHAP (Challenge Handshake Authentication Protocol) . . CHAP
, .
. .
checksum .
. , .
, .
cCRC.
choke packet . ,
.
CIDR (Classless Interdomain Routing) . BGP4 , .
, . IP-, ,
, .
CIDR IP-
4- , "/" () , .
. BGP4.
CIP (Channel Interface Processor) . Cisco 7000. ,
(FEP) .
CIR (Committed Information Rate) . ,
Frame Relay
484
. /,
.
circuit switching . , ISDN. , , .
Cisco FRAD (Cisco Frame Relay Access Device)
Frame Relay Cisco. Cisco, SNA Frame Relay Cisco IOS
. Cisco FRAD SDLC
Frame Relay, . Cisco
FRAD SDLC Ethernet Token Ring. . FRAD.
CiscoFusion Cisco , Cisco IOS. .
Cisco IOS software (Cisco Internetwork Operating System software)
Cisco. Cisco, ,
, CiscoFusion.
,
,
, , . .
CiscoFusion.
CiscoView
, ,
Cisco, .
Cisco, CiscoView
SNMP.
Class A network .
. 16 16
.
Class network .
. 16
8 .
Class network .
. 24
8 .
485
486
487
488
crankback ATM , , . ,
GCAC,
.
CRC (Cyclic Redundancy Check) . , , ,
, . : checksum ( ).
CSMA/CD (Carrier Sense Multiple Access with Collision Detect) . , ,
, . , .
, , .
.
CSU (Channel Service Unit) .
, . CSU/DSU. . DSU.
CTD (Cell Transfer Delay) . ATM ,
UNI UNI . ATM ,
ATM.
cut-through frame switching .
, ,
, . ,
, ,
.
data direct VCC
. ATM , LANE (LEG).
, Phase 1 LANE. He ,
(UBR)
(ABR) . control distribute VCC control direct VCC.
489
data frame .
OSI. .
datagram . , . IP- .
OSI
"", "", "", "" "",
Data link control layer . 2- SNA,
OSI.
Data Link layer ( ). 2 OSI, . , , ,
,
. IEEE
(MAC)
(LLC). SNA. . Application layer, LLC, MAC, Network layer, Physical layer, Presentation layer, Session layer
Transport layer.
DCC (Data Country Code) . *
ATM, ATM . , ATM ATM.
cICD.
DCE (Data Communications Equipment ( 1) Data Circuit-terminating Equipment ( ITU-T)) ( EIA)
( ITU-T). , "-". , ,
DTE. .
DTE.
D channel I. Bata channel. -, . ISBN 16 (BRI) 64 /
(PRI). channel, E channel channel. 2. SNA , .
490
491
, ,
OSPF Hello.
. , ,
.
destination address
, .
().
directed broadcast . ,
. , , .
discovery mode . , AppleTalk , . " ".
distance-vector routing algorithm
. , ,
,
. , ,
. , , . " -". . link-state routing algorithm SPF.
distribution layer . Cisco, , Cisco. .
.
DLCI (Data-Link Connection Identifier)
. Frame Relay.
DNS (Domain Name System) . , .
DSAP (Destination Service Access Point) . ,
. SS. . SAP (1).
DSR (Data Set Ready) .
,
1/1-232.
492
'
,_
493
.
.
1 1. 2.048 /, . 1
.
.164 1. ITU-T , ISDN, BISDN SMDS.
. 2. ATM, .164.
channel (Echo channel) -, -. ISDN, 64 /.
ISDN, ITU-T 1984 ., 1988 . channel, D channel channel.
edge device , ( Ethernet Token Ring) ATM- . -
, .
EEPROM (Electrically Erasable Programmable Read-Only Memory) . ,
,
. . EPROM,
PROM.
EFCI (Explicit Forward Congestion Indication) . ATM , (ABR). , ,
.
- ,
, . . ABR.
EIGRP .: EnhancedIGRP.
EIP (Ethernet Interface Processor) Ethernet.
Cisco 7000.
494
,}
495
496
fallback . , ATM,
. , (, ), , .
Fast Ethernet Ethernet. Ethernet 100 /. Fast Ethernet 10
, Ethernet, Fast Ethernet Ethernet , - (MTU).
Fast Ethernet ,
lOBaseT. Fast Ethernet IEEE
802.3. Ethernet. . 100BaseFX, 100BaseT, 100BaseT4, 100BaseTX, WOBaseX IEEE 802.3.
fast switching . Cisco,
. process switching.
FDM (Frequency-Division Multiplexing) . ,
. . ATOM, statistical multiplexing ( ) TDM.
FDDI (Fiber Distributed Data Interface) - . , ANSI X3T9.5, 200 /
. FDDI .
FECN (Forward Explicit Congestion Notification) . Frame Relay FECN 1,
DTE, ,
. DTE, FECN,
. BECN.
497
498
499
hop (). ,
, .
. hop count.
hop count (). ,
.
RIP . .
hop RIP.
host address . , .
.
HSCI (High-Speed Communication Interface) . Cisco , 52 /.
HSRP (Hot Standby Router Protocol)
. . , ,
. ;
.
HSSI (High-Speed Serial Interface)
. ( 52 /) .
hubs . , . , , , ,
.
ICD (International Code Designator) .
ATM, ATM . , ATM
ATM. . DCC.
ICMP (Internet Control Message Protocol) . , ,
IP-. RFC 792.
IEEE (Institute or Electrical and Electronics Engineers)
. ,
501
. IEEE .
IEEE 802.1 IEEE,
. STP ( Spanning Tree Protocol) IEEE 802.Id. STP
SPA . IEEE 802. lq.
IEEE 802.3 IEEE,
Ethernet, 10 /. Ethernet
, MAC
. IEEE 802.3 CSMA/CD
( ), . FastEthernet 802.3, Gigabit Ethernet
802.3q. . CSMA/CD.
IEEE 802.5 IEEE,
Token Ring.
IGMP (Internet Group Management Protocol) . IP- , ,
. .
IGP (Interior Gateway Protocol) .
,
. , IGRP, OSPF RIP.
ILMI (Interim Local Management Interface) , . ATM
, - ATM.
ATM. ILMI ,
ATM LEGS. , ILMI ATM.
in-band management . .
Simple Network Management Protocol
(SNMP ) Telnet . cut-of-band management (
).
insured burst . ATM , (PVC).
502
. .
interarea routing . , . infra-area routing. . area.
interface processor . , Cisco 7000. . AIP, CIP,
EIP, FEIP, HIP, MIP TRIP.
Internet . " ", .
, .
, . . TCP/IP MBONE.
internet "internetwork". He . .
internetwork.
Internet protocol . , TCP/IP. . TCP/IP.
internetwork . ,
. internet. He .
internetworking ,
. , , .
intra-area routing . , . interarea routing.
Inverse ARP (Inverse Address Resolution Protocol)
. , , ,
(PVC). Frame Relay, TCP/IP , DLCI .
IP (Internet Protocol) .
TCP/IP, . IP , , . RFC 791.
503
504
___
' '-
''',
' ' .
LAN switch . , . ,
-. "
"
:
. . . multilayer switch, store and forward packet switching.
LAPB (Link Access Procedure, Balanced) -
, .25
SDLC. . SDLC .25.
LAPD (Link Access Procedure on the D channel) D-. ISDN -.
LAPB
ISDN. ITU-T Q.920 Q.921.
latency . 1.
. 2.
.
Layer 3 switch . . multilayer switch
( ).
505
layered architecture . .
,
.
LCP (Link Control Protocol) . ,
, , . . .
leaky bucket . ATM (GCRA), , . " "
, , " " .
learning bridge . - . ,
- ,
.
LE_ARP (LAN Emulation Address Resolution Protocol) LANE. ATM-, -.
LEG (LAN Emulation Client) LANE. , ,
(ES) (ELAN). LANE
. LANE ATM- -,
ATM-. . ELAN LES.
LECS (LAN Emulation Configuration Server) LANE.
, LANE (ELAN), LANE
(LES) .
LANE,
, . .
ELAN.
LES (LAN Emulation Server) . ,
.
LES ATM
. , ,
ATM, . . ELAN, LEG LECS.
18 iak-.646
506
507
LUNI (LAN Emulation User-to-Network Interface) "-" LANE. ATM LANE ATM. LUNI
LANE (LEG) LANE
(LES). . LES LECS.
MAC (Media Access Control) .
, IEEE. MAC
. . Data Link layer
LLC.
MAC address -. , , . -
. -
IEEE. " ", " MAC", " ".
MaclP , IP
DDP AppleTalk. ARP.
MAN (Metropolitan-Area Network) . . , . . LAN.
Manchester encoding . IEEE
802.3 Ethernet , ,
.
maximum burst . , (PVC) ATM. ,
. ; , .
. insured burst. . maximum rate.
maximum rate ,
; , .
. , , ,
. . excess rate insured rate. .
. maximum burst.
508
'
509
510
511
512
513
514
. OSI .
SNA. . Application layer, Data Link
layer, Network layer, Physical layer, Presentation layer, Session layer Transport layer.
OSPF (Open Shortest Path First) " ".
, () RIP.
OSPF: , . OSPF
IS-IS. . Enhanced IGRP, IGP IP.
OUI (Organizational Unique Identifier) .
, . . OUI 3 (24 ).
3- , .
48 (6 ) -.
out-of-band management . . ,
, . in-band management ( ).
out-of-band signaling . , , .
,
, . in-band signaling.
packet . . , /
, , .. , , , .
packet switch . ,
; .
packet switching . ,
.
, .
515
516
" ") (
"ping" -
. ,, .).
() ,
ping , , .
plesiochronous . ,
,
, .
PLP (Packet Level Protocol) .
.25. .25 Level 3 .25 Protocol. . .25.
PNNI (Private Network-Network Interface) -.
ATM , .
, .
point-to-multipoint connection "- "
(--). .
ATM ,
- ( ) - (). point-to-point connection.
point-to-point connection "-". . ATM
ATM. point-to-multipoint connection.
poison reverse updates " ". , . "
" .
polling (). , ,
. .
POP I. Point of presence. . (OSS) , , ,
517
518
. , , , .
PROM (Programmable Read-Only Memory) .
. EPROM.
propagation delay . ,
.
protocol . ,
.
protocol stack . .
PSE (Packet Switch Exchange) . .25,
.
PSN (Packet-Switched Network) . , .
" "
(PSDN). . packet switching.
PSTN (Public Switched Telephone Network)
. , . " " (POTS).
PVC (Permanent Virtual Circuit) . .
, , , .
ATM " ". SVC. . virtual circuit.
PVP (Permanent Virtual Path) .
. . PVC.
tunneling (Permanent Virtual Path tunneling) PVP. ATM
. , .
QoS (Quality of Service) . ,
.
queue . , , , .
519
,
.
R reference point R. ISDN
ISDN- NT1 S/T. S/T 4- 2-
ISDN.
RAM (Random-Access Memory) , . ,
.
RARP (Reverse Address Resolution Protocol) () . TCP/IP,
IP-, -. . .
rate queue . , . , . ,
ATM. .
RCP (Remote Copy Protocol) . ( )
.
TCP .
redistribution . , ,
, . " ".
redundancy . ,
, , .
reload . , Cisco, , .
RIF (Routing Information Field) . , . (RII) , RIF
( ). RII ,
RIF , .. .
Token Ring , .
520
ring .
.
. Token Ring, FDDI CDDI .
ring topology . ,
, , . .
,
. bus topology star topology.
RIP (Routing Information Protocol) . (IGP), UNIX BSD.
. RIP . . Enhanced
IGRP, hop count, IGP u OSPF.
RJ connector (Registered Jack connector) . , .
ROM (Read-Only Memory) . ,
; .
root bridge . .
. (32 768 )
. ,
.
routed protocol . (, IP IPX)
. , (, RIP, IGRP OSPF)
.
route poisoning " ". ,
, (
, , ). , . . : poison reverse updates ( " ").
521
522
-1-.
d
-I
1.'
i
-
523
, . .
SNA. . Application layer, Data Link
layer, Network layer, Physical layer, Presentation layer Transport layer.
setup mode . , ,
.
. , .
SF (Super Frame) . ,
1. 12 , 193 ,
193- .
, - . " D4". . ESF.
signaling packet . , ATM
. ATM- NSAP ATM,
(QpS), . , , , . . QpS.
silicon switching . SSE. (SSP). . . SSE.
simplex .
. .
sliding window . , TCP .
. "", ,
.
, ,
, . , .
SLIP (Serial Line Internet Protocol) . ,
TCP/IP. . . .
524
525:
, SPAN,
Catalyst.
spanning explorer packet .
SRB. " " " ". . all-routes explorer packet, explorer packet u local explorer packet.
spanning tree . , . ,
, , .. ,
. - , . ,
. . Spanning Tree Protocol spanning tree algorithm.
spanning-tree algorithm (STA) . . STA. . spanning tree Spanning-Tree Protocol.
Spanning-Tree Protocol (STP) .
, .
. , , . IEEE 802.1 (Spanning-Tree Protocol),
, DEC
. IEEE .
, DEC. STP. . BPDU, learning bridge, MAC address, spanning tree
spanning-tree algorithm.
SPF (Shortest Path First algorithm) " ".
. . " ". . link-state routing algorithm.
SPID (Service Profile Identifier) . , ,
BRI. SPID , ISDN. ISDN , .
526
528
,
. " ".
STM-1 (Synchronous Transport Module level 1) 1. SDH,
ATM 155.52 /.
store and forward packet switching . , .
. , (, ), .
STP 1. Shielded Twisted-Pair. " ". , . , . UTP. 2. . Spanning-Tree Protocol.
stub area . OSPF, , , , .
; (ASBR). . non-stub area, ASBR OSPF.
stub network . , .
STUN (Serial Tunnel) . , SDLC- HDLC- , ( Cisco).
subarea . SNA, .
subarea node . SNA
, .
subchannel .
.
subinterface . ,
.
529
subnet . .: subnetwork.
subnet address . IP-,
. . IP address, subnet mask u subnetwork.
subnet mask . 32- , IP IP-, . . . address mask IP address.
subnetwork . 1. IP , .
. . IP address, subnet address u subnet
mask. 2. OSI ,
.
SVC (Switched Virtual Circuit) . . ,
() . ATM " ". PVC.
switch . 1. , ,
. OSI.
2. ,
,
.
switch fabric ,
.
switched LAN , (LAN switch). . LAN switch.
synchronous transmission . ,
.
, ( ), . . asynchronous transmission u isochronous transmission.
reference point . S 4- ISDN 2- ISDN.
1 , 24
DSO 64 1.536 / , 1.544 / .
, 44,763 /.
530
tag switching .
,
. : , ,
.
tagged traffic () . ATM, (CLP) 1.
,
. ", ".
. CLP.
TCP (Transmission Control Protocol) .
, . .
TCP/IP.
TCP/IP (Transmission Control Protocol/Internet Protocol) / . ,
1970- .
. TCP IP . . IP TCP.
TDM (Time-Division Multiplexing)
().
, .
,
. . ATOM, FDMu multiplexing.
(Terminal Equipment) . , ISDN ,
. 1 , ISDN- ISDN. TE2 , ISDN- ISDN.
2 .
1 1 .
ISDN .
2 , 2,
ISDN, .
531
Telnet
TCP/IP. , , . Telnet RFC 854.
lOBaseT lOBaseT IEEE
802.3. Ethernet , 10 / 3, 4 5:
, . lOBaseT 100 . . Ethernet u IEEE 802.3.
terminal adapter . , ISDN BRI (,
EIA/T1A-232). ISDN.
terminal emulation . ,
, , , .
TFTP , FTP,
, ,
. TFTP , FTP. , ; , .
thicknet .
lOBaseS. ,
Ethernet 500 .
thinnet . 10Base2.
,
Ethernet 185 .
token . , .
, ,
. . token passing.
token bus . ,
. IEEE 802.4
. . IEEE.
token passing . , , , "".
circuit switching contention. . token.
Token Ring , IBM.
4 16 /. IEEE 802.5.
. ring topology token passing.
532
533
534
535
. NBP ,
. . ZIP storm zone.
ZIP storm ZIP-. , ,
AppleTalk , .
,
ZIP-. . ZIP.
zone . AppleTalk . .
ZIP.
CCNA
Cisco Certified
Network Associate
Cisco
Certified Network Associate (640-507).
:
,
Cisco
200 ,
Cisco
CCNA 2.0
:
Cisco IOS
RIP IGRP
Frame Relay,
Frame Relay
IP- IP-
IP-
,
TCP/IP
Cisco IOS
""
www.lory-press.ru
CCNA
Cisco Certified
Network Associate
640-507
SVBEX
100 000
""