Mavzu: Kommutatorni sozlash Laboratoriya majg’ulotini maqsadi


Download 127.52 Kb.
Sana04.12.2020
Hajmi127.52 Kb.
#158616
Bog'liq
Mavzu Kommutatorni sozlash Laboratoriya majg’ulotini maqsadi-fayllar.org


Mavzu: Kommutatorni sozlash Laboratoriya majg’ulotini maqsadi


Mavzu: Kommutatorni sozlash
Laboratoriya majg’ulotini maqsadi:
  1. Kommutatorning boshlang‘ich global parametrlarini sozlash.


  2. Tugun Shk larni sozlash va ularni kommutatorga ulash.


  3. Marshrutizatorlarni sozlash va uni kommutatorga ulash.


  4. VLAN tarmog‘ida kommutatorning boshqarish interfeysi IP-adresini sozlash.


  5. Portni manbaviy himoya sozlanishini bajarish.


  6. Dupleks rejimi parametrlarini va port tezligini sozlash.





Mashg’ulotini bajarilish tartibi
  1. Boshlong‘ich ma’lumotlarni olish.


  2. Mavzu bо‘yicha nazariy va umumiy ma’lumotlar bilan tanishish.


  3. Berilgan ma’lumotlarni kompyuterga kiritish.


  4. Xisob ishlarini bajarish.


  5. Tegishli xulosa chiqarish.





Kerakli jixozlar
  1. Kompyuter.


  2. Cisco Packet Tracer dasturi.





Umumiy ma’lumotlar

LHT uchun kommutatorni sozlash va boshqarish uchun bir nechta variantlari mavjud.

Bu variantlarning ba’zi birlarida kommutatorga ulanish uchun IP yoki veb-sharhlovchidan foydalaniladi, buning uchun esa IP-adres kerak bo‘ladi. Marshrutizator interfeyslaridan farqli ravishda kommutator portlari IP-adres olmaydi. IP manbasi asosida boshqarish vositasidan foydalanish yoki kommutator bilan ishlashga Telnet seansini ochish uchun kommutatorning IP-adresini sozlash kerak.

Mazkur vositalar yordamida IP-adres berilganidan so‘ng marshrutizatorga ulanish mumkin bo‘ladi. Bo‘lmagan paytda esa bevosita konsol portiga ulanishga to‘g‘ri keladi va sozlash uchun terminal emulyatoridan foydalanish kerak bo‘ladi.

IP yoki Telnet manbai asosidagi boshqarish vositalari orqali kommutator bilan ishlash uchun IP-adresni sozlash kerak bo‘ladi.

Kommutatorda oldindan VLAN 1 bitta virtual lokal tarmog‘i sozlangan bo‘ladi, uning yordamida boshqarish vositalariga ulanish mumkin bo‘ladi. VLAN 1 boshqarish interfeysi IP-adresini hosil qilish uchun global konfiguratsiya rejimiga o‘tish kerak bo‘ladi.



Switch> enable

Switch# configure terminal

So‘ng VLAN 1 interfeysini sozlash rejimiga o‘ting.



Switch(config)# interface vlan 1

Boshqarish interfeysining IP-adresi, tarmoqosti niqobi va shlyuzini sozlang. IP-adres kommutator joylashgan lokal tarmoqga tegishli bo‘lishi kerak bo‘ladi



Switch(config-if)# ip address 192.168.1.2 255.255.255.0

RouterX(config-if)#exit

Switch(config)# ip default-gateway 192.168.1.1

Switch(config)# end

Konfiguratsiyani copy running-configuration startup-configuration buyrug‘i yordamida saqlang.







Компьютер


IP-адрес


Маска подсети


Шлюз по умолчанию

PC 0

172.16.1.3

255.255.255.0


172.16.1.1


PC 1

172.16.10.3

255.255.255.0


172.16.10.1


PC 4

172.16.20.3

255.255.255.0


172.16.20.1


PC 2

172.16.1.4

255.255.255.0


172.16.1.1


PC 3

172.16.10.4

255.255.255.0


172.16.10.1


PC 5

172.16.20.4

255.255.255.0


172.16.20.1







Номер VLAN


Порты VLAN


Маг-ные порты


3


Fa0/4 – Fa0/5


Fa0/1


4


Fa0/2 – Fa0/3


Fa0/1

Switch1>enable

Switch1#config t

Enter configuration commands, one per line. End with CNTL/Z.

Switch1(config)#int fa0/1

Switch1(config-if)#switchport mode trunk


Switch1(config-if)#

%LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet0/1, changed state to down


%LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet0/1, changed state to up

exit

Switch1(config)#show interfaces trunk!

Switch1#

%SYS-5-CONFIG_I: Configured from console by console


Switch1#show interfaces trunk

Port Mode Encapsulation Status Native vlan

Fa0/1 on 802.1q trunking 1
Port Vlans allowed on trunk

Fa0/1 1-1005


Port Vlans allowed and active in management domain

Fa0/1 1,3,4

Port Vlans in spanning tree forwarding state and not pruned

Fa0/1 1,3,4

Switch1#show vlan


VLAN Name Status Ports

---- -------------------------------- --------- -------------------------------

1 default active Fa0/2, Fa0/3, Fa0/6, Fa0/7

Fa0/8, Fa0/9, Fa0/10, Fa0/11

Fa0/12, Fa0/13, Fa0/14, Fa0/15

Fa0/16, Fa0/17, Fa0/18, Fa0/19

Fa0/20, Fa0/21, Fa0/22, Fa0/23

Fa0/24, Gig0/1, Gig0/2

3 Students active Fa0/4

4 Faculty active Fa0/5

1002 fddi-default active

1003 token-ring-default active

1004 fddinet-default active

1005 trnet-default active


VLAN Type SAID MTU Parent RingNo BridgeNo Stp BrdgMode Trans1 Trans2

---- ----- ---------- ----- ------ ------ -------- ---- -------- ------ ------

1 enet 100001 1500 - - - - - 0 0

3 enet 100003 1500 - - - - - 0 0

4 enet 100004 1500 - - - - - 0 0

1002 fddi 101002 1500 - - - - - 0 0

1003 tr 101003 1500 - - - - - 0 0

1004 fdnet 101004 1500 - - - ieee - 0 0

1005 trnet 101005 1500 - - - ibm - 0 0


VLAN Type SAID MTU Parent RingNo BridgeNo Stp BrdgMode Trans1 Trans2

---- ----- ---------- ----- ------ ------ -------- ---- -------- ------ ------


Remote SPAN VLANs

------------------------------------------------------------------------------

Primary Secondary Type Ports

------- --------- ----------------- ------------------------------------------

Switch1#

Switch1#config t

Enter configuration commands, one per line. End with CNTL/Z.

Switch1(config)#int fa0/1

Switch1(config-if)#no switch port mode trunk

^

% Invalid input detected at '^' marker.



Switch1(config-if)#end

Switch1#


%SYS-5-CONFIG_I: Configured from console by console

C2960 Boot Loader (C2960-HBOOT-M) Version 12.2(25r)FX, RELEASE SOFTWARE (fc4)

Cisco WS-C2960-24TT (RC32300) processor (revision C0) with 21039K bytes of memory.

2960-24TT starting...

Base ethernet MAC Address: 000A.F3BC.8B86

Xmodem file system is available.

Initializing Flash...

flashfs[0]: 2 files, 0 directories

flashfs[0]: 0 orphaned files, 0 orphaned directories

flashfs[0]: Total bytes: 64016384

flashfs[0]: Bytes used: 4415597

flashfs[0]: Bytes available: 59600787

flashfs[0]: flashfs fsck took 1 seconds.

...done Initializing Flash.

Boot Sector Filesystem (bs:) installed, fsid: 3

Parameter Block Filesystem (pb:) installed, fsid: 4

Loading "flash:/c2960-lanbase-mz.122-25.FX.bin"...

######################### [OK]

Restricted Rights Legend


Use, duplication, or disclosure by the Government is

subject to restrictions as set forth in subparagraph

(c) of the Commercial Computer Software - Restricted

Rights clause at FAR sec. 52.227-19 and subparagraph

(c) (1) (ii) of the Rights in Technical Data and Computer

Software clause at DFARS sec. 252.227-7013.


cisco Systems, Inc.

170 West Tasman Drive

San Jose, California 95134-1706


Cisco IOS Software, C2960 Software (C2960-LANBASE-M), Version 12.2(25)FX, RELEASE SOFTWARE (fc1)

Copyright (c) 1986-2005 by Cisco Systems, Inc.

Compiled Wed 12-Oct-05 22:05 by pt_team

Image text-base: 0x80008098, data-base: 0x814129C4


Cisco WS-C2960-24TT (RC32300) processor (revision C0) with 21039K bytes of memory.


24 FastEthernet/IEEE 802.3 interface(s)

2 Gigabit Ethernet/IEEE 802.3 interface(s)


63488K bytes of flash-simulated non-volatile configuration memory.

Base ethernet MAC Address : 000A.F3BC.8B86

Motherboard assembly number : 73-9832-06

Power supply part number : 341-0097-02

Motherboard serial number : FOC103248MJ

Power supply serial number : DCA102133JA

Model revision number : B0

Motherboard revision number : C0

Model number : WS-C2960-24TT

System serial number : FOC1033Z1EY

Top Assembly Part Number : 800-26671-02

Top Assembly Revision Number : B0

Version ID : V02

CLEI Code Number : COM3K00BRA

Hardware Board Revision Number : 0x01


Switch Ports Model SW Version SW Image

------ ----- ----- ---------- ----------

* 1 26 WS-C2960-24TT 12.2 C2960-LANBASE-M
Cisco IOS Software, C2960 Software (C2960-LANBASE-M), Version 12.2(25)FX, RELEASE SOFTWARE (fc1)

Copyright (c) 1986-2005 by Cisco Systems, Inc.

Compiled Wed 12-Oct-05 22:05 by pt_team
Press RETURN to get started!
%LINK-3-UPDOWN: Interface Vlan3, changed state to down
%LINK-5-CHANGED: Interface Vlan3, changed state to up
%LINK-5-CHANGED: Interface FastEthernet0/5, changed state to up
%LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet0/5, changed state to up
%LINEPROTO-5-UPDOWN: Line protocol on Interface Vlan3, changed state to up
%LINK-5-CHANGED: Interface FastEthernet0/1, changed state to up
%LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet0/1, changed state to up

%LINEPROTO-5-UPDOWN: Line protocol on Interface Vlan1, changed state to up

%LINK-5-CHANGED: Interface FastEthernet0/2, changed state to up
%LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet0/2, changed state to up
%LINK-5-CHANGED: Interface FastEthernet0/10, changed state to up
%LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet0/10, changed state to up

%SPANTREE-2-RECV_PVID_ERR: Received 802.1Q BPDU on non trunk FastEthernet0/1 VLAN1.


%SPANTREE-2-BLOCK_PVID_LOCAL: Blocking FastEthernet0/1 on VLAN0001. Inconsistent port type.


Switch2>enable

Switch2#config t

Enter configuration commands, one per line. End with CNTL/Z.

Switch2(config)#int fa0/1

Switch2(config-if)#no switchport mode trunk

Command rejected: An interface must be configured to the Access or Trunk modes to be configured to NoNegotiate.

Switch2(config-if)#end

%SYS-5-CONFIG_I: Configured from console by console



exit




Xulosa

Xulosa qilib kommutatolar, kommutatorga ulanish uchun IP yoki veb-sharhlovchidan foydalanishni, IP manbasi asosida boshqarish vositasidan foydalanish, mazkur vositalar yordamida IP-adres berilganidan so‘ng marshrutizatorga ulanish usullari bilan tanishdik.


http://fayllar.org
Download 127.52 Kb.

Do'stlaringiz bilan baham:




Ma'lumotlar bazasi mualliflik huquqi bilan himoyalangan ©fayllar.org 2024
ma'muriyatiga murojaat qiling