By: Dr. Ahmed ElShafee · By: Dr. Ahmed ElShafee Dr. Ahmed ElShafee, ACU : Fall 2015, Practical...
Transcript of By: Dr. Ahmed ElShafee · By: Dr. Ahmed ElShafee Dr. Ahmed ElShafee, ACU : Fall 2015, Practical...
By:Dr. Ahmed ElShafee
Dr. Ahmed ElShafee, ACU : Fall 2015, Practical App. Networks II١
Lecture (01)Introduction to 24
ports switch
Agenda
• 24 ports switch basic configuration• Switch remote configuration• peer2peer star network• clients/server star network• Traffic analysis using Packet Tracer
Dr. Ahmed ElShafee, ACU : Fall 2015, Practical App. Networks II٢
Dr. Ahmed ElShafee, ACU : Fall 2015, Practical App. Networks II٣ Dr. Ahmed ElShafee, ACU : Fall 2015, Practical App. Networks II٤
1.124 ports switch basic
configuration
Step 1: connecting your PC to the Console Port.• Open HyperTerminal software• Press RETURN to get started.• Switch> (User Mode)
Dr. Ahmed ElShafee, ACU : Fall 2015, Practical App. Networks II٥ Dr. Ahmed ElShafee, ACU : Fall 2015, Practical App. Networks II٦
Step 1’: open CLI from node•
Dr. Ahmed ElShafee, ACU : Fall 2015, Practical App. Networks II٧
•
Dr. Ahmed ElShafee, ACU : Fall 2015, Practical App. Networks II٨
Step 2: To Enter Into Privilege mode/ Versa.•
Dr. Ahmed ElShafee, ACU : Fall 2015, Practical App. Networks II٩
Switch>enableSwitch#Switch# disableSwitch>
Step 3: To Enter Into Global Configuration Mode.•
Dr. Ahmed ElShafee, ACU : Fall 2015, Practical App. Networks II١٠
Switch#config tSwitch(config)#
Step 4: To change the Host Name of Switch.•
Dr. Ahmed ElShafee, ACU : Fall 2015, Practical App. Networks II١١
Switch(config)#hostname SW-FL01-R012950-SWA(config)#
Step 5: Set the Message of the Day banner•
Dr. Ahmed ElShafee, ACU : Fall 2015, Practical App. Networks II١٢
SW-FL01-R01(config) # banner motd #Hello & Welcome to Practical Applications on Networl - Lecture 03#
Step 6: end configuration session•
Dr. Ahmed ElShafee, ACU : Fall 2015, Practical App. Networks II١٣
SW-FL01-R01(config)# endSW-FL01-R01>
Step 7: version information of the switch•
Dr. Ahmed ElShafee, ACU : Fall 2015, Practical App. Networks II١٤
SW-FL01-R01#show version
Cisco Internetwork Operating System SoftwareIOS (tm) C2950 Software (C2950-I6Q4L2-M), Version 12.1(22)EA4, RELEASE SOFTWARE(fc1)
Copyright (c) 1986-2005 by cisco Systems, Inc.Compiled ….
•
Dr. Ahmed ElShafee, ACU : Fall 2015, Practical App. Networks II١٥
Step 8: show the current configuration of RAM•
Dr. Ahmed ElShafee, ACU : Fall 2015, Practical App. Networks II١٦
SW-FL01-R01#show running-configBuilding configuration...
Current configuration : 1056 bytes
•
Dr. Ahmed ElShafee, ACU : Fall 2015, Practical App. Networks II١٧
Step 9: display flash information•
Dr. Ahmed ElShafee, ACU : Fall 2015, Practical App. Networks II١٨
SW-FL01-R01#dirDirectory of flash:/
1 -rw- 3058048 <no date> c2950-i6q4l2-mz.121-22.EA4.bin
64016384 bytes total (60958336 bytes free)
Step 10: To give the IP Address of Management Domain Interface•
Dr. Ahmed ElShafee, ACU : Fall 2015, Practical App. Networks II١٩
SW-FL01-R01#config tEnter configuration commands, one per line. End with CNTL/Z.SW-FL01-R01(config)#interface vlan 1SW-FL01-R01(config-if)#ip address 10.0.0.10 255.0.0.0SW-FL01-R01(config-if)#no shutdown
%LINK-5-CHANGED: Interface Vlan1, changed state to upSW-FL01-R01(config-if)#endSW-FL01-R01#%SYS-5-CONFIG_I: Configured from console by console
SW-FL01-R01#
Step 11: Display the information of All IP Interfaces on the switch.•
Dr. Ahmed ElShafee, ACU : Fall 2015, Practical App. Networks II٢٠
SW-FL01-R01#show ip interface briefInterface IP-Address OK? Method Status Protocol
FastEthernet0/1 unassigned YES manual down down
FastEthernet0/2 unassigned YES manual down down
FastEthernet0/3 unassigned YES manual down down
FastEthernet0/4 unassigned YES manual down down….….FastEthernet0/23 unassigned YES manual down down
FastEthernet0/24 unassigned YES manual down down
Vlan1 10.0.0.10 YES manual up down
Step 12: display management vlan (1) information•
Dr. Ahmed ElShafee, ACU : Fall 2015, Practical App. Networks II٢١
SW-FL01-R01#show interface vlan 1Vlan1 is up, line protocol is downHardware is CPU Interface, address is 0090.2b34.a12b (bia 0090.2b34.a12b)Internet address is 10.0.0.10/8MTU 1500 bytes, BW 100000 Kbit, DLY 1000000 usec,
reliability 255/255, txload 1/255, rxload 1/255Encapsulation ARPA, loopback not setARP type: ARPA, ARP Timeout 04:00:00Last input 21:40:21, output never, output hang neverLast clearing of "show interface" counters neverInput queue: 0/75/0/0 (size/max/drops/flushes); Total output drops: 0Queueing strategy: fifoOutput queue: 0/40 (size/max)5 minute input rate 0 bits/sec, 0 packets/sec5 minute output rate 0 bits/sec, 0 packets/sec
1682 packets input, 530955 bytes, 0 no bufferReceived 0 broadcasts (0 IP multicast)0 runts, 0 giants, 0 throttles0 input errors, 0 CRC, 0 frame, 0 overrun, 0 ignored563859 packets output, 0 bytes, 0 underruns0 output errors, 23 interface resets0 output buffer failures, 0 output buffers swapped out
SW-FL01-R01#
•
Dr. Ahmed ElShafee, ACU : Fall 2015, Practical App. Networks II٢٢
Step 13: display Ethernet interface information
Dr. Ahmed ElShafee, ACU : Fall 2015, Practical App. Networks II٢٣
SW-FL01-R01#show interface FastEthernet0/1FastEthernet0/1 is down, line protocol is down (disabled)Hardware is Lance, address is 00d0.ff3e.5701 (bia 00d0.ff3e.5701)
BW 100000 Kbit, DLY 1000 usec,reliability 255/255, txload 1/255, rxload 1/255
Encapsulation ARPA, loopback not setKeepalive set (10 sec)
Dr. Ahmed ElShafee, ACU : Fall 2015, Practical App. Networks II٢٤
Step 14 : display information of switchport mode of operation of interfaces
Dr. Ahmed ElShafee, ACU : Fall 2015, Practical App. Networks II٢٥
SW-FL01-R01#show interfaces switchportName: Fa0/1Switchport: EnabledAdministrative Mode: dynamic autoOperational Mode: downAdministrative Trunking Encapsulation: dot1qOperational Trunking Encapsulation: nativeNegotiation of Trunking: OnAccess Mode VLAN: 1 (default)Trunking Native Mode VLAN: 1 (default)Voice VLAN: noneAdministrative private-vlan host-association: noneAdministrative private-vlan mapping: noneAdministrative private-vlan trunk native VLAN: noneAdministrative private-vlan trunk encapsulation: dot1q…….
Dr. Ahmed ElShafee, ACU : Fall 2015, Practical App. Networks II٢٦
Step 15: save switch configuration into VROM
Dr. Ahmed ElShafee, ACU : Fall 2015, Practical App. Networks II٢٧
SW-FL01-R01>enableSW-FL01-R01#copy running-config startup-configDestination filename [startup-config]? Building configuration...[OK]
Step 16: reboot your switch
Dr. Ahmed ElShafee, ACU : Fall 2015, Practical App. Networks II٢٨
SW-FL01-R01#reloadProceed with reload? [confirm]%SYS-5-RELOAD: Reload requested by console. Reload Reason: Reload Command.
C2950 Boot Loader (C2950-HBOOT-M) Version 12.1(11r)EA1, RELEASE SOFTWARE (fc1)Compiled Mon 22-Jul-02 18:57 by miwangCisco WS-C2950-24 (RC32300) processor (revision C0) with 21039K bytes of memory.2950-24 starting...….….….
Dr. Ahmed ElShafee, ACU : Fall 2015, Practical App. Networks II٢٩
1.2Connecting PCs
Step 17 : connect your first PC
Dr. Ahmed ElShafee, ACU : Fall 2015, Practical App. Networks II٣٠
Step 18: Configuring your PC
Dr. Ahmed ElShafee, ACU : Fall 2015, Practical App. Networks II٣١
PC0
item ConfigurationGateway ‐DNS ‐Port status OnBand width AutoDuplex AutoIP 10.0.10.1Mask 255.255.0.0
Step 19 : check connectivity to switch•
Dr. Ahmed ElShafee, ACU : Fall 2015, Practical App. Networks II٣٢
Step 20: telnet server configuration
Dr. Ahmed ElShafee, ACU : Fall 2015, Practical App. Networks II٣٣
SW-FL01-R01#config terminalEnter configuration commands, one per line. End with CNTL/Z.SW-FL01-R01(config)#line vty 0 4SW-FL01-R01(config-line)#password ciscoSW-FL01-R01(config-line)#loginSW-FL01-R01(config-line)#endSW-FL01-R01#%SYS-5-CONFIG_I: Configured from console by console
Step 21 : save configuration
Dr. Ahmed ElShafee, ACU : Fall 2015, Practical App. Networks II٣٤
SW-FL01-R01>enableSW-FL01-R01#copy running-config startup-configDestination filename [startup-config]? Building configuration...[OK]
Step 22 : test telnet connection
Dr. Ahmed ElShafee, ACU : Fall 2015, Practical App. Networks II٣٥
Step 23 : show fa0/1 details
Dr. Ahmed ElShafee, ACU : Fall 2015, Practical App. Networks II٣٦
Step 24 : start configuring switch remotely
Dr. Ahmed ElShafee, ACU : Fall 2015, Practical App. Networks II٣٧
Step 25 : protecting console connection with password•
Dr. Ahmed ElShafee, ACU : Fall 2015, Practical App. Networks II٣٨
enableconfig tline console 0password ciscologin
enable password cisco
enable secret cisco1
copy running-config startup-configreload
Commands Summery
Dr. Ahmed ElShafee, ACU : Fall 2015, Practical App. Networks II٣٩
enablconfig thostname FL01-R01-SW01banner motd #Hello & Welcome to Practical Applications on Networl - Lecture 03#interface vlan 1ip address 10.0.0.10 255.0.0.0no shutdown
enableconfig tline vty 0 4password ciscologinend
Dr. Ahmed ElShafee, ACU : Fall 2015, Practical App. Networks II٤٠
1.3Build peer2peer star
network
Topology
Dr. Ahmed ElShafee, ACU : Fall 2015, Practical App. Networks II٤١
Configuring interface
Dr. Ahmed ElShafee, ACU : Fall 2015, Practical App. Networks II٤٢
enableconfig tinterface fa0/1speed 100
duplex fullno shdescription Floor01-Rack01-Room-1101end
Dr. Ahmed ElShafee, ACU : Fall 2015, Practical App. Networks II٤٣
Update PC1 configuration
Dr. Ahmed ElShafee, ACU : Fall 2015, Practical App. Networks II٤٤
PC1
item ConfigurationGateway ‐DNS ‐Port status OnBand width 100Duplex FullIP 10.0.10.1Mask 255.255.0.0
Show MAC address table information
Dr. Ahmed ElShafee, ACU : Fall 2015, Practical App. Networks II٤٥
show mac address-tablePing 10.0.10.1show mac address-table
Configure range of interfaces
Dr. Ahmed ElShafee, ACU : Fall 2015, Practical App. Networks II٤٦
config tinterface range fa0/1-6speed 100duplex fullend
•
٤٧
PC3
item ConfigurationGateway autoDNS autoPort status OnBand width 100Duplex FullIP 10.0.10.3Mask 255.255.0.0
PC4
item autoGateway autoDNS autoPort status OnBand width 100Duplex FullIP 10.0.10.4Mask 255.255.0.0
PC1
item ConfigurationGateway autoDNS autoPort status OnBand width 100Duplex FullIP 10.0.10.1Mask 255.255.0.0
PC2
item ConfigurationGateway autoDNS autoPort status OnBand width 100Duplex FullIP 10.0.10.2Mask 255.255.0.0
Dr. Ahmed ElShafee, ACU : Fall 2015, Practical App. Networks II٤٨
PC5
item ConfigurationGateway autoDNS autoPort status OnBand width 100Duplex FullIP 10.0.10.5Mask 255.255.0.0
PC6
item ConfigurationGateway autoDNS autoPort status OnBand width 100Duplex FullIP 10.0.10.6Mask 255.255.0.0
Show MAC address table information
Dr. Ahmed ElShafee, ACU : Fall 2015, Practical App. Networks II٤٩
show mac address-tablePing 10.0.10.1Ping 10.0.10.2Ping 10.0.10.3Ping 10.0.10.4Ping 10.0.10.5Ping 10.0.10.6show mac address-table
Commands Summery
Dr. Ahmed ElShafee, ACU : Fall 2015, Practical App. Networks II٥٠
enableconfig tinterface fa0/1speed 100duplex fullno shdescription Floor01-Rack01-Room-1101end
ping 10.0.10.1show mac address-table
Config tinterface range fa0/1-6speed 100duplex fullend
show mac address-tablePing 10.0.10.2Ping 10.0.10.3Ping 10.0.10.4Ping 10.0.10.5Ping 10.0.10.6show mac address-table
copy running-config startup-configreload
Dr. Ahmed ElShafee, ACU : Fall 2015, Practical App. Networks II٥١
1.4Clients/Server star
network
Topology
Dr. Ahmed ElShafee, ACU : Fall 2015, Practical App. Networks II٥٢
Server Configuration
Dr. Ahmed ElShafee, ACU : Fall 2015, Practical App. Networks II٥٣ Dr. Ahmed ElShafee, ACU : Fall 2015, Practical App. Networks II٥٤
Dr. Ahmed ElShafee, ACU : Fall 2015, Practical App. Networks II٥٥ Dr. Ahmed ElShafee, ACU : Fall 2015, Practical App. Networks II٥٦
Dr. Ahmed ElShafee, ACU : Fall 2015, Practical App. Networks II٥٧ Dr. Ahmed ElShafee, ACU : Fall 2015, Practical App. Networks II٥٨
Dr. Ahmed ElShafee, ACU : Fall 2015, Practical App. Networks II٥٩
•
Dr. Ahmed ElShafee, ACU : Fall 2015, Practical App. Networks II٦٠
•
Dr. Ahmed ElShafee, ACU : Fall 2015, Practical App. Networks II٦١
•
Dr. Ahmed ElShafee, ACU : Fall 2015, Practical App. Networks II٦٢
•
Dr. Ahmed ElShafee, ACU : Fall 2015, Practical App. Networks II٦٣
PC2
item ConfigurationGateway autoDNS autoPort status OnBand width AutoDuplex AutoIP autoMask auto
PC3
item autoGateway autoDNS OnPort status AutoBand width AutoDuplex autoIP autoMask auto
PC0
item ConfigurationGateway autoDNS autoPort status OnBand width AutoDuplex AutoIP autoMask auto
PC1
item ConfigurationGateway autoDNS autoPort status OnBand width AutoDuplex AutoIP autoMask auto
Check IP configuration of PCs•
Dr. Ahmed ElShafee, ACU : Fall 2015, Practical App. Networks II٦٤
Check connectivity•
Dr. Ahmed ElShafee, ACU : Fall 2015, Practical App. Networks II٦٥
Check DNC/http services•
Dr. Ahmed ElShafee, ACU : Fall 2015, Practical App. Networks II٦٦
•
Dr. Ahmed ElShafee, ACU : Fall 2015, Practical App. Networks II٦٧
Check email service
Dr. Ahmed ElShafee, ACU : Fall 2015, Practical App. Networks II٦٨
•
Dr. Ahmed ElShafee, ACU : Fall 2015, Practical App. Networks II٦٩
•
Dr. Ahmed ElShafee, ACU : Fall 2015, Practical App. Networks II٧٠
•
Dr. Ahmed ElShafee, ACU : Fall 2015, Practical App. Networks II٧١
•
Dr. Ahmed ElShafee, ACU : Fall 2015, Practical App. Networks II٧٢
•
Dr. Ahmed ElShafee, ACU : Fall 2015, Practical App. Networks II٧٣
•
Dr. Ahmed ElShafee, ACU : Fall 2015, Practical App. Networks II٧٤
Dr. Ahmed ElShafee, ACU : Fall 2015, Practical App. Networks II٧٥
2.4Traffic analysis using
Packet Tracer
Traffic analysis, simple PDU
٧٦
1
234
Real time mode
Dr. Ahmed ElShafee, ACU : Fall 2015, Practical App. Networks II٧٧
1
2
Dr. Ahmed ElShafee, ACU : Fall 2015, Practical App. Networks II٧٨
1
2
٧٩ Inspection / packet
12
3
٨٠ Simulation mode
2
1
3
Dr. Ahmed ElShafee, ACU : Fall 2015, Practical App. Networks II٨١
23
1
Traffic analysis, complex PDU, ping
Dr. Ahmed ElShafee, ACU : Fall 2015, Practical App. Networks II٨٢
Dr. Ahmed ElShafee, ACU : Fall 2015, Practical App. Networks II٨٣
1
2
3
Dr. Ahmed ElShafee, ACU : Fall 2015, Practical App. Networks II٨٤
Dr. Ahmed ElShafee, ACU : Fall 2015, Practical App. Networks II٨٥
1
2
•
Dr. Ahmed ElShafee, ACU : Fall 2015, Practical App. Networks II٨٦
Traffic analysis, complex PDU, http•
Dr. Ahmed ElShafee, ACU : Fall 2015, Practical App. Networks II٨٧
•
Dr. Ahmed ElShafee, ACU : Fall 2015, Practical App. Networks II٨٨
•
Dr. Ahmed ElShafee, ACU : Fall 2015, Practical App. Networks II٨٩
Thanks,..See you next week (ISA),…
Dr. Ahmed ElShafee, ACU : Fall 2015, Practical App. Networks II٩٠