1.1.7 Packet Tracer - Basic Switch Configuration - Physical Mode

Video Statistics and Information

Video
Captions Word Cloud
Reddit Comments
Captions
cisco switches can be configured with a special ip address known as the switch virtual interface sbi the sbi or management address can be used for remote access to the switch to display or configure settings if the billongwang svi is assigned at ib address by default all ports from bilan 1 have access to the sbi ib address you will build a simple topology using ethernet lan cabling to access a cisco switch using the console and remote access methods cable the network and verify that the file switch configuration you will set up the network topology and verify the file switch settings cable the network click and drag switch s1 and place it on the left side on the table okay drag this switch as one to left side on the table click and drag the device pca and place on the right side of the table and drag pca to the right connect a console cable from device pca to switch as well do not connect the device pca at the red cable at this time okay select a console cable and connect from port rs rs23d2 to console on switch s1 but the console of this switch is on rear right click inspect rear and this is the console okay okay so this is the connection the console connection from pca rs to theory to port to the console port of s1 from desktop tab of pci use terminal to connect to the switch okay but first turn on the pc i click here drop click on the switch and zoom in okay this is the power supply altered current power supplied ac power supply click on pc desktop terminal okay would you like to enter initial configuration dialog no this is the prompt and user exec mode okay enable you are on privilege hexagon mode show running config showrun and the space space space space okay now you can see the hostname by default switch interfaces [Music] no ip address on interface vlan 1 no ips and shutdown no configurations online console or no configurations on auxiliary ports no configurations on bty lights why must you use a console connection to initially configure the switch why is not possible to connect to the switch via telnet or ssh no ip addressing parameters are configured yet switch cisco 3650 first place it into service has no networking configuration verify the default switch configuration you will examine the default switch settings ios information interface properties belong information and flash memory you can access all the switch ios commands in privilege exec mode okay click on the pc and this is privilege exec mode access to the privilege excel mode should be restricted by password protection to prevent unauthorized use because it provides direct access to global configuration mode and commands used to configure operating parameters and you will set passwords later in this activity the privilege section mode command set includes those commands contained in user action modes as well as the configure command through which the access to the remaining commands modes is gained use the enable command to enter privilege accent mode [Music] okay click on the pc and i used the enable command to access from the user action mode to the privilege exit mode the difference is the prompt a different symbol assuming the switch had no configuration file stored in non-volatile random access memory and vram a console connection using terminal will place you at the user access mode prompt on the switch with a prompt on switch and design board use the enable command to enter privilege access mode okay click on the pc and i will do it again i will exit from privilege excel mode just exit enter and now you are on user exec mode with this symbol and greater down then use enable enter and now you are on privilege accent mode and the prompt is different this is the hashtag and notice that the prompt changes in the configuration to reflect privilege excellent mode okay this is the [Music] ruby excel mode with this prompt this is the hashtag verify that there is a clean default configuration file on the switch by issuing the show running config privilege x and mode commands show running config or use the complete command show running dash copy enter space space space space space and how many gigabit ethernet interfaces does the switch have okay from 1 to 24 and from 1 1 1 to 1 1 1 4 is 28 28 gigabit ethernet interfaces what is the range of values shown for the vty lines okay from zero to four but when you will configure the the device you will be able to configure from 0 to 4 and from 5 to 15. so the range is from 0 to 4 and from 5 to 15. examine the startup configuration file in mbram non-volatile ram show startup config okay show start up dash config enter is not present why does this message appear no configurations have been saved to mbram examine the characteristics of the sbi switch virtual interface for vlan one show interface belong one show interface belong one is there an ip address assign it to milan one no but you can use the following command show ip show ip interface belong one okay because um because this command maybe is only showing the characteristics and seedings about layer 1 and 2 of the osi model so with show ip interface vlan 1 you will show settings about layer 3 on the osi model choose ip enter no ip address and the is administratively down protocol is now internet protocol processing disabled what is the mac address of this switchbuilder interface this is this is the mac address hexadecimal numbers or 48 bits okay so also you can see boardnet in address this this mac address because this can be configured or can be changed using software you can change the mac others but this is the original mac address in the integrated circuit in the chip okay is this interface up no administratively down protocol down cisco switches have the shutdown command configured by default on vlan 1. and vlan 1 will not reach the up up state until a port is assigned to it and this port is also up if there is no port in the up state in bilanguang then the bill and wang interface will be up line protocol down by default all the ports are initially assigned to vlan 1. examine the ib properties of the switch virtual interface vlan 1 show ip interface belong 1 show ip interface belong one what output do you see milan one is administratively downline protocol is down internet protocol processing disabled connect an ethernet cable from pca to gigabit 106 of the switch okay and using this ethernet cover a straight through cable to connect faster net on the pc to gigabit 106 on the switch allow time for the switch and pc to negotiate duplex and speed parameters examine the ip properties of the switchburn interface vlan 1. okay click on the pc now you can see in this lock interface you'll be at the net 106 change it state to up protocol state to up put on gigabit at the red one zero six okay enter and now again and verify examine the ip properties of the switch virtual interface milan one show ip interface belong one enter and still bill and one is administratively down line protocol is now internet protocol processing disabled what output do you see okay this output enter global configuration and enable the switch virtual interface belong one interface okay configure terminal interface vlan 1 no shutdown okay now vlan one state up protocol up okay exit exit from interface configuration mode to global configuration mode and summing the ip properties of the switchburton interface belong one okay exit again and show ip interface vlan 1. now what output do you see vlan is up line protocol is up internet protocol processing disabled okay interface that will switch virtual interfaces up examine the cisco ios version use this command show version show version what is the cisco ios version the the switch is running this is 16.3.2 catalyst switch cisco catalyst switch version 16.3.2 or on the flash image catalyst system.3.2 what is the system image file name this is the name cut 3k underscore caa universal k9.16.03.02.spa.beam what is the base ethernet mac address of this switch base adder and mark others is this okay 12 hexadecimal numbers or 48 bits examine the four properties of the gigabit ethernet 106 interface used by pca show interface jigor106 show interface gigabit 1 0 6 enter space is the interface up or down up protocol up what even would make an interface go down okay and removing the cable or enter the command shutdown on the interface what is the mac address of the interface this is what is the speed and duplex seeding of the interface the duplex is full duplex and the speed is 100 megabits per second so y is 100 megabits if the interface is gigabit ethernet so you know gigabit ethernet runs at 1 000 megabits per second but the speed is only 100 megabits per second because the interface on the pc is only fast attract the interface on the pc only runs at 100 megabits per second so the link will run at the lowest speed okay examine the default belong sitting over the switch show below show below what is the name of villain one milan one default which ports are in vlan one all ports the 28 ports from gigabit one zero one to gigabit one zero twenty four and from gigabit one one one one to gigabit one one one four is vlan one active and yes it's active what type of villain is the default belong bilangua type inet this means ethernet ethernet belong examine flash memory issue one of the following commands to examine the contents of the flash directory show flash or d flash i will use show flash column now these are the these are the two files in the flash memory the ios image is this the the ios image and the vlan.file files have a file extension such as bing at the end of the file name directories do not have a file extension okay two files [Music] what is the file name of the cisco ios image is this cut 3k underscore caa dash universal k9 to spi beam configure basic network device settings configure basic switch settings the following basic configuration and paste it into s1 while in global configuration modes okay enter these commands to the to the switch with on global configuration mode so use configure terminal to access global configuration mode this config is the global configuration mode and at no ip domain lookup set a hostname as one now the hostname is as one encrypt clear text passwords with service password dash encryption sorry password dash encryption and set a password for enable to set the password to access from user xml to privilege excel mode enabled secret this password will be class and set a banner banner message of the day going how to or i said access is as trick strictly prohibited that enter set the svi ip address of the switch this reviews remote management of the switch before you can manage as one remotely from pca you must assign the switch and ip address the whole configuration of the switch is to have the management of the switch controller through vlan 1. however a best practice for basic switch configuration is to change the management bilan to avila other than bilangua for management purposes usb long 99 the selection of b of b lang 99 is arbitrary and in no way implies that you should always use belong 99 create the new vlan 99 on the switch okay global configuration mode billing 99 enter okay exit next set the ip address of the switch to 180 168 1 2 with a similar mask of 250 by 25 to 55 0 on the internal virtual interface belong 99 okay look at the addressing table switch as one belong 99 configure this ip address with this prefix or subnet mask interface below 99 okay interface vlog 99 set the ip address the ipv4 address 182.168.1.2 285 to be divided by zero enter and ipv6 others can also be configured on the switchvirtual interface use the ib6 addresses listed in the addressing table okay there are two addresses for the switch or as one this address global unicast address and this link local address ipv6 uh there is zero 2001 dba ac 80 one column column 2 prefix 64 enter and the link local h0 column column 2 link local enter notice that the vlan 99 interface is in the down state even though you entered the no shutdown comments okay not shut down okay interferes belong 99 ip addresses no shutdown and and now you are on privilege excel mode and you can use this show ip interface vlan 1 1. just show ip interface below 99 vlan 99 is up line protocol is down okay the interface is currently down because no switch ports are assigned to belong 99 okay so that's why the state is up but the protocol is down because no switch ports are assigned to vlan 99 assign all user ports to vlan 99 to establish a connectivity between the host and the switch the ports used by the host must be in the same belong as the switch after a few seconds milan 99 comes up because at least one active port the interface number six with pci attached is now assigned to belong 99 okay so assign all user ports to milan 99 remember the range of ports you have 28 ports but i will assign from port 101 to port one zero twenty four to vlan 99 okay configure terminal and global configuration mode interface range gigabit one zero one two one zero 24 and just a switchboard axis vlan 99 okay and now you can see line protocol interface vlan 1 down line protocol interface belong 99 up okay and and verify show ip interface belong 99. 99 is up and line protocol is up very good okay because uh interface gigabit 106 is assigned now to belong 99 okay issue the show will brief command to verify that all ports are in blank 99 so we don't breathe okay 24 ports are assigned to belong 99 four ports are assigned to vlan 1 but 24 ports are assigned to belong 99 including the active port gigabit 106. configure the default gateway for s1 if you know the full gateway is set the switch cannot be managed from a remote network that is more than one router away also this activity does not include an external ip gateway assume that you will eventually connect the lamp to a router for external access assuming that the lan interface on the router is 180 168 111 set the default gateway for the switch okay configure terminal ip the file dash gateway 182.168.11 okay very good i am not configuring ipv6 default gateway because the ipv64 gateway is assigned automatically by the ipv6 router console console board access should also be restricted with a password use cisco as the console login password in this activity okay access to line console like console zero okay there is only one console because there is only one port there is only one port for console this number zero and set the password cisco plus password cisco the default configuration is to allow all console connections with no password needed to prevent console messages from interrupting commands use the login synchronous option login see chronos seeing chrome's handle okay but don't forget to activate the login with the login command enter okay exit login command will permit to login in this console connection with this password cisco if you forget login command you will not be able to access the device configure the virtual terminal with the y lines for the switch to allow telnet access if you do not configure a bty password you will not be able to use telnet to access the switch okay to configure the bty lines and use a remember bty line bty the range you can use from 0 to 4 or from 0 to 15. okay and from 0 to 15 you have 16 lines 16 connections enter and set the password cisco for example and don't forget logging okay exit okay exit from line configuration mode to global configuration mode why is the login command required without the login command the switch will not prompt you for a password configure an ip address on pci assign the ip address and subnet mask to the pc okay for pci use this ip ipv4 and ipv6 an abbreviated version of the procedure is described here the full gateway is not required for this topology to function however you should enter 180 168 1 1 and fea zero column column 1 to simulate the router attached to s1 okay go to pc close the terminal of an ip configuration for ipv6 and for ipv4 use this change this to static and set when i2 192 192 168 110 subnet mask prefix 24 is 255 do you divide divided by zero and for getaway assume this 181.6811 one eight two one sixty eight one one and for ipv6 use this ipv6 address and static two zero zero one db eight ac acad 1 column column 10 prefix 64. and for the full gateway use this fva0 current column 1 okay and [Music] verify and test network connectivity you will verify and document the switch configuration test end-to-end connectivity between pca and s1 and test remote management capability on the switch okay first pin from pca to switch s1 go to command prompt on pca and pick the ipv4 others of switches one this is this 180 168 1 2 192 168 1 2 success um pink to the ipv6 address of the switch pic2001 dba mixer id one column column two success and now that's the remote management when you configure bty lines on the switch you configure the telnet access okay internet access so you can use telnet with ipv4 or with ipv6 telnet use the password remember the password is cisco cisco now you are on the switch okay very good exit display the switch configuration use the console connection on pca to display and verify the switch configuration show running config command displays the entire running configuration click on the pc close command prompt use terminal for the console connection remember this console connection terminal okay and show running config okay and to go privilege excel mode and show running config show running config enter space space space space and review this is the service password encryption that will encrypt clear text passwords hostname as one enable secret this is class with this encrypted uh interfaces on vlan 99 okay physical interfaces on vlan 99 interface vlan 1 no ip address this virtual interface is is not used but villa switch virtual interface belong lady 9 with ipv4 ipv6 addresses the default gateway for ipv4 remember the full gateway for ipv6 will be assigned automatically and uh the banner the line console the password for console if this is cisco with this encrypted and logging synchronous logging bty lines from 0 to 4 and from 5 to 15 password and login password and logging okay this is the telnet access this is the console connection access bot protected by passwords show interface belong 99 show interface show interface below 99 enter what is the bandwidth of this interface 100 megabits per second or 100 000 kilobits per second is the same what is the belong 99 state the state is up what is the line protocol state line protocol is up test end-to-end connectivity with pink verify that pci can be ipv4 and ipv6 address of s1 okay close terminal open command prompt repeat the ping this is the ipads of the switch number two and the success the ipv6 address in the switch success because pca needs to resolve the mac address of s1 through arp the first packet may time out if pin results continue to be unsuccessful shoot the basic device configuration check bot the physical cabling and logical addressing test and verify remote management of s1 you will now use telnet to remotely access the switch pc8 and s1 reside side by side in a production network the switch could be in a wiring closet on the top floor while your management pc is located on the ground floor uh you will use telnet to remotely access switch as one using the switchvirtual interface management address telnet is not a secure protocol however you will use it to test the remote access we telnet all information including passwords and commands are sent in plain text later you will use ssh to remotely access the network devices [Music] okay open desktop on pci we close command prompt telnet ssh client telnet ssh client use telnet telnet and the management address of the destination the destination is the switch 182.168.1.2 connect password you know is cisco enter okay look at this the message of the day banner the password is go now you are on the switch after entering the password cisco you will be at the user access mode prompt user access mode prompt access the privilege mode using the enable command enabled and remember the password is class to access privilege excel mode class now you are on privilege excel mode save the configuration okay save changes on the switch save the configuration on the switch so if the switch is shut down all changes on this switch will be saved so copy running dash config to start up publish config enter enter okay type exit exit the current session has closed you want to re-establish a new session with the previous station options now okay deploy switch s1 on the production network you will now install switch s1 on the production network and disconnect the console cable telnet will be used to remotely access the switch and complete any additional configuration and verification in subsequent activities you will use ssh to remotely access network devices now move the switch as one to the rack okay move the switch to the rack okay and now right click on switches one and select inspect rear right click inspect grid okay this is the console connection click and drag the console cable to the backboard right click on the switch inspect rear and drag the console cable to the backboard okay very good okay completion 96 percent so you can review what is missing check results okay the default gateway on the switch is one okay and click on the pc to access using telnet [Music] remember this is the client telnet ssh client use telnet the ips of the switch 181.681.2 connect password in cisco enable class show running config and the default gateway of the switch is 182.168.11 instruction site assuming that the long interface on the router is 192.168.11 set the default gateway on the switch 182 16811 182.168.111 so the packet reserve file has an error on the score but don't worry all is very well configured and all is working fine okay so assume this completion is 100 thank you very much you
Info
Channel: Christian Augusto Romero Goyzueta
Views: 3,438
Rating: 5 out of 5
Keywords: switching, routing, wireless, essentials, srwe, vlans, physical mode, packet tracer, v702, svi, switch virtual interface, telnet, remote management, console, vty, basic settings, basic configuration, passwords, banner, line vty, line console, enable secret, encryption, ipv4, ipv6, int vlan 1, vlan 1
Id: BrfLQdfDbsQ
Channel Id: undefined
Length: 50min 4sec (3004 seconds)
Published: Wed Sep 08 2021
Related Videos
Note
Please note that this website is currently a work in progress! Lots of interesting data and statistics to come.