Cisco IOS Switch Basic Setup Network Topology Router0 Configuration Commands Router0>enableRouter0#configure terminalRouter0(config)# interface fastEthernet 0/1Router0(config-if)#ip address 172.16.1.1 255.255.255.0Router0(config-if)#no shutdownRouter0(config-if)#interface fastEthernet 0/0Router0(config-if)#ip address 192.168.10.1 255.255.255.0Router0(config-if)#no shutdownRouter0(config-if)#exitRouter0(config)#exitRouter0#show ip interface brief Remote Laptop Configuration Switch0 Configuration Commands using Local Laptop and Console Cable Connect to Switch0 using Terminal Set hostname of the switch to Switch0 Switch>enableSwitch#configure terminalSwitch(config)#hostname Switch0Switch0(config)# Configure the message of the day as "Authorized access only. Unauthorized access is forbidden." Switch0(config)#banner motd #Enter TEXT message.  End with the character '#'.Authorized access only. Unauthorized access is forbidden.#Switch0(config)#endSwitch0#exit Configure the password for privileged mode access as "cisco". The password must be md5 encrypted Switch0>enableSwitch0#configure terminalSwitch0(config)#enable secret ciscoSwitch0(config)#service password-encryption Configure CONSOLE access with the following settings: Login enabled Password: ciscoconsole History size: 20 commands Timeout: 5m 30s' Synchronous logging Switch0(config)#line con 0Switch0(config-line)#password ciscoconsoleSwitch0(config-line)#logging synchronousSwitch0(config-line)#loginSwitch0(config-line)#history size 20Switch0(config-line)#exec-timeout 5 30Switch0(config-line)#exitSwitch0(config)# Configure TELNET access with the following settings: Login enabled Password: ciscotelnet History size: 20 commands Timeout: 10m 45s Synchronous logging Switch0(config)#line vty 0 15Switch0(config-line)#password ciscotelnetSwitch0(config-line)#logging synchronousSwitch0(config-line)#loginSwitch0(config-line)#history size 20Switch0(config-line)#exec-timeout 10 45Switch0(config-line)#exitSwitch0(config)# Configure the IP address of Switch0 as 192.168.10.2/24 and its default gateway IP (192.168.10.1). Switch0(config)#interface vlan1Switch0(config-if)#ip address 192.168.10.2 255.255.255.0Switch0(config-if)#ip default-gateway 192.168.10.1Switch0(config-if)#endSwitch0(config)#exitSwitch0> Test Telnet Connectivity from the Remote Laptop Using Telnet Client Change the Connection Type to Telnet and then put in Switch0's IP address.  Then click Connect. Notice the MOTD Banner and the prompt for the telnet password.  Enter ciscotelnet. We're in! Cisco Packet Tracer File net8 basic switch setup.pkt