Cisco Networking/CCENT/Switching

This lesson covers switching.

Objectives and Skills
Objectives and skills for the switching portion of Cisco CCENT certification include:
 * Identify basic switching concepts and the operation of Cisco switches
 * Collision domains
 * Broadcast domains
 * Ways to switch
 * Store
 * Forward
 * Cut through
 * CAM Table
 * Configure and verify initial switch configuration including remote access management
 * hostname
 * mgmt ip address
 * Ip default-gateway
 * local user and password
 * enable secret password
 * console and VTY logins
 * exec-timeout
 * service password encryption
 * copy run start
 * Verify network status and switch operation using basic utilities such as
 * ping
 * telnet
 * SSH

Readings

 * 1)  Network switch
 * 2) Cisco: LAN Switching and VLANs
 * 3) Cisco: Internetwork Design Guide -- LAN Switching

Multimedia

 * 1) YouTube: Managed vs. Unmanaged Switches - CompTIA Network+ N10-005: 2.1
 * 2) YouTube: Understanding Spanning Tree Protocol - CompTIA Network+ N10-005: 1.4

Examples

 * 1) Review ../IOS Basics
 * 2) Review ../IOS Basics
 * 3) Review ../Remote Management
 * 4) Review ../Remote Management
 * 5) Review ../Remote Management
 * 6) Review ../IOS Basics
 * 7) Review ../Remote Management

Command Sequence
A command sequence to configure a switch might be similar to the following. enable configure terminal

hostname switch ip domain-name example.com

interface vlan 1 ip address 192.168.1.10 255.255.255.0 ip default-gateway 192.168.1.1

username admin password secret

line console 0 login local

line aux 0 login local

line vty 0 4 login local transport input ssh exit

enable secret cisco service password-encryption

crypto key generate rsa 1024 ip ssh version 2

exit copy run start

show arp
To display the entries in the Address Resolution Protocol (ARP) table, use the show ip arp command in user EXEC or privileged EXEC mode. show arp show ip arp

show mac-address-table
Use the show mac-address-table privileged EXEC command to display the MAC address table. show mac-address-table

Activities

 * 1) Configure switch console password security.Cisco CCENT Switch.png
 * 2) Add an EtherSwitch router to a new GNS3 project and start the device.
 * 3) Open the console for the router and practice using the following commands.
 * 4) Verify the configuration using the following command.
 * 5) Exit the router console session and open the console again to test the configuration.
 * 6) Configure switch vty username and password security.Cisco CCENT 2 Switches.png
 * 7) Add a second EtherSwitch router to the project above and start the device.
 * 8) Add a link to connect the following.
 * 9) * ESW1 FastEthernet1/1 <-> ESW2 FastEthernet1/1
 * 10) Set the following IP addresses and subnet masks.
 * 11) * ESW1 VLAN 1: 192.168.1.1 255.255.255.0
 * 12) * ESW2 VLAN 1: 192.168.1.2 255.255.255.0
 * 13) Open the console for both routers and practice using the following commands.
 * 14) Verify the configuration using the following command on both routers.
 * 15) Test the configuration using the following command to remotely manage one router from the other.
 * 16) Configure switch SSH access.Cisco CCENT 2 Switches.png
 * 17) Use the routers from above and practice using the following commands on both routers.
 * 18) Verify the configuration using the following command on both routers.
 * 19) Test the configuration using the following command to verify that telnet access is no longer supported.
 * 20) Test the configuration using the following command to remotely manage one router from the other.
 * 21) Save the configuration using the following command.
 * 1) * ESW1 VLAN 1: 192.168.1.1 255.255.255.0
 * 2) * ESW2 VLAN 1: 192.168.1.2 255.255.255.0
 * 3) Open the console for both routers and practice using the following commands.
 * 4) Verify the configuration using the following command on both routers.
 * 5) Test the configuration using the following command to remotely manage one router from the other.
 * 6) Configure switch SSH access.Cisco CCENT 2 Switches.png
 * 7) Use the routers from above and practice using the following commands on both routers.
 * 8) Verify the configuration using the following command on both routers.
 * 9) Test the configuration using the following command to verify that telnet access is no longer supported.
 * 10) Test the configuration using the following command to remotely manage one router from the other.
 * 11) Save the configuration using the following command.
 * 1) Verify the configuration using the following command on both routers.
 * 2) Test the configuration using the following command to remotely manage one router from the other.
 * 3) Configure switch SSH access.Cisco CCENT 2 Switches.png
 * 4) Use the routers from above and practice using the following commands on both routers.
 * 5) Verify the configuration using the following command on both routers.
 * 6) Test the configuration using the following command to verify that telnet access is no longer supported.
 * 7) Test the configuration using the following command to remotely manage one router from the other.
 * 8) Save the configuration using the following command.
 * 1) Configure switch SSH access.Cisco CCENT 2 Switches.png
 * 2) Use the routers from above and practice using the following commands on both routers.
 * 3) Verify the configuration using the following command on both routers.
 * 4) Test the configuration using the following command to verify that telnet access is no longer supported.
 * 5) Test the configuration using the following command to remotely manage one router from the other.
 * 6) Save the configuration using the following command.
 * 1) Verify the configuration using the following command on both routers.
 * 2) Test the configuration using the following command to verify that telnet access is no longer supported.
 * 3) Test the configuration using the following command to remotely manage one router from the other.
 * 4) Save the configuration using the following command.
 * 1) Verify the configuration using the following command on both routers.
 * 2) Test the configuration using the following command to verify that telnet access is no longer supported.
 * 3) Test the configuration using the following command to remotely manage one router from the other.
 * 4) Save the configuration using the following command.
 * 1) Test the configuration using the following command to remotely manage one router from the other.
 * 2) Save the configuration using the following command.
 * 1) Save the configuration using the following command.
 * 1) Save the configuration using the following command.

Lesson Summary

 * A network switch is a computer networking device that connects devices together on a computer network, by using frame switching to receive, process and forward data to the destination device.
 * A network switch forwards data only to one or multiple devices that need to receive it, rather than broadcasting the same data out of each of its ports.
 * Switches forward frames through one of three methods: store and forward, cut through, and fragment free.
 * Store and forward buffers and verifies each frame before forwarding it.
 * Cut through starts forwarding after the frame's destination address is received.
 * Fragment free checks the first 64 bytes of the frame, to detect collision errors before forwarding occurs.
 * Some switches may support adaptive switching by automatically selecting between the three methods.
 * Switch global configuration is similar to router global configuration, including the,  ,  ,  ,  , and   commands.
 * Switch password configuration is similar to router password configuration, including the,  ,  ,  ,  ,  ,  , and   commands.
 * Switch line configuration is similar to router line configuration, including the  and   commands.
 * Switch interface configuration is similar to router interface configuration, including the,  ,  ,  ,   and   commands.
 * Switch SSH configuration is similar to router SSH configuration, including the,  , and   commands.
 * Switch configuration management is similar to router configuration management, including the,  ,  ,  , and   commands.
 * Switch remote management is similar to router remote management, including the  and   commands.
 * Switch status is tested similar to router status, including the  and   commands.
 * To enable remote management of a switch, assign an IP address to the management VLAN interface, which by default is VLAN 1.
 * To define a default gateway (router) when IP routing is disabled, use the  command in global configuration mode.
 * To display the entries in the Address Resolution Protocol (ARP) table, use the  command in user EXEC or privileged EXEC mode.
 * Use the  privileged EXEC command to display the MAC address table.

Key Terms

 * autonegotiation
 * An Ethernet procedure by which two connected devices choose common transmission parameters, such as speed, duplex mode, and flow control.


 * flooding
 * Sending incoming unknown-destination frames out on all ports.


 * Spanning Tree Protocol (STP)
 * A network protocol that ensures a loop-free topology for Ethernet networks and allows a network design to include spare (redundant) links to provide automatic backup paths if an active link fails, without the danger of bridge loops, or the need for manual enabling or disabling of these backup links.

Assessments

 * Flashcards: Quizlet: CCENT - Switching
 * Quiz: Quizlet: CCENT - Switching