Fundamentals of Computer Networks Lab Four Switch configuration 2/22/2019 Eng. .Haya Radwan Ghsoon
What is Packet Tracer? Packet Tracer is a protocol simulator developed by Dennis Frezzo and his team at Cisco Systems. Packet Tracer (PT) is a powerful and dynamic tool that displays the various protocols used in networking, in either Real Time or Simulation mode. This includes layer 2 protocols such as Ethernet, layer 3 protocols such as IP, ICMP, and ARP, and layer 4 protocols such as TCP and UDP. Routing protocols can also be traced. Coaxial cable Ca 2/22/2019 Eng .Haya Radwan Ghsoon
Packet Traces Interface 2/22/2019 Eng .Haya Radwan Ghsoon
Command mode Cisco IOS supports various command modes, among those followings are the main command modes. User EXEC Mode Privileged EXEC Mode Global Configuration Mode Interface Configuration Mode Sub Interface Configuration Mode Setup Mode ROM Monitor Mode 2/22/2019 Eng .Haya Radwan Ghsoon
Command Modes(cont) Mode Prompt Command to enter Command to exit User EXEC Router > Default mode after booting. Login with password, if configured. Use exit command Privileged EXEC Router # Use enable command from user exec mode Global Configuration Router(config)# Use configure terminal command from privileged exec mode 2/22/2019 Eng .Haya Radwan Ghsoon
Save , Save As and Open You can easily save , save As and open Cisco packet tracer file as usual as any file (Microsoft Office file). By : Save : file -> save . Save As : file -> save As ->select where to save file -> name it -> save . Open : file -> open -> select file -> open . 2/22/2019 Eng .Haya Radwan Ghsoon
Switch configuration Goal : Build the following network and try to send message from pc1 to pc2 among network. 2/22/2019 Eng .Haya Radwan Ghsoon
Switch Configuration (1) First thing should be able to deal with is how to configure switch . You can Follow this step to configure router . Not : you change router configuration among use CLI (command line interface) by click on switch then choose CLI . 2/22/2019 Eng .Haya Radwan Ghsoon
Switch Configuration (2) 2/22/2019 Eng .Haya Radwan Ghsoon
Switch Configuration (3) ◊ Press “enter” to start change configuration . ◊ While the tap is “switch >” then you are in privilege EXEC mod . ◊ Insert “enable” to add privilege to switch , then it should be like this “switch #” . ◊ Insert “config t” Press “enter”. ◊ Press “exit ” to return 2/22/2019 Eng .Haya Radwan Ghsoon
Hostname ◊ To change the name of switch we use the following command : Switch#configure terminal // or config t Switch(config)#hostname lab509 lab509(config)# 2/22/2019 Eng .Haya Radwan Ghsoon
Set the console password Switch >enable Switch# Switch#configure terminal Switch(config)# Switch(config)# line console 0 Switch(config-line)#login Switch(config-line)#password cisco 2/22/2019 Eng .Haya Radwan Ghsoon
S Set the virtual terminal password Switch# Switch#configure terminal Switch(config)#line vty 0 4 Switch(config-line)#login Switch(config-line)#password cisco 2/22/2019 Eng .Haya Radwan Ghsoon
Set the enable password: Switch# Switch#configure teimnal# Switch(config)#enable password cisco Set the secret password: Switch# Switch#config ure teimnal# Switch(config)#enable secret cisco 2/22/2019 Eng .Haya Radwan Ghsoon
Save configuration To save the configuration : Switch#wr When press enter the following message will appear : Building configuration... ]OK[ 2/22/2019 Eng .Haya Radwan Ghsoon
Vlan and IP Switch# Switch#configure terminal Switch(config)# Switch (config )# interface vlan 1 Switch(config-if)#ip address 192.168.10.1 Switch (config-if)# no shutdown (ip default( switch(config-if)#ip default-gateway 10.32.1.1// gate way 2/22/2019 Eng .Haya Radwan Ghsoon