You are on page 1of 4

Expr-12: Configuration of Switch

1. Enable packet tracer software

2. Click on -> options->preferences

3. Uncheck /remove a. show device model labels

b. show device name label

4. Select/tick ->always show port labels in logical workspace

5. Select and drag the PT-switch symbol from left bottom corner of the software

From the devices option in the left bottom drag and drop any number of pc’s or laptops to the
screen.

7. Click on connectors, choose ⚡ and click on the devices to be connected. Connect the switch
with all the devices.

8. Name the switch and the devices

9. Click on the switch and go to CLI in the dialog box that appears

10. Press enter and type the following commands

switch> enable

switch # configure terminal press enter


switch(config) # hostname CN-LAB

(Type a banner with motd (Message Of The Day) with following commands)

CN-LAB(config)# banner motd $ This is Your 12th CN-LAB Experiment !! $


CN-LAB(config)# exit
CN-LAB# exit
%SYS-5-CONFIG_I: Configured from console by console
CN-LAB# exit

(Now the motd is displayed, followed by the terminal)

(Check the host name changed by clicking “Config” tab)


11. Click on the PC, choose Desktop option and click on ip configuration from the menu

12. In the dialog box enter the ipv4 address uniquely (ex: 192.168.2.1), the subnet mask is
automatically obtained, close the menu.

13. Repeat step12 for all the other devices in the LAN.
14. To verify the working of LAN, Choose a PDU from the menu bar click on the source
device and click again on the end device.

15. Once all the setup is done in Real Mode, for execution click on the Simulation Mode on the
right side of the tool screen.

16. Click on the run button to see the packet moving from source to destination.

17. Click on the simulation option on the right bottom and click on play button. We can see
Packet sent successfully to destination and the source PC received the acknowledgement
packet also.

You might also like