Switch Hardware, Types, and Initial Switch Configuration : Basic Commands and Setup Guide

🧠 Introduction: Switch Hardware, Types, and Initial Configuration (Complete Beginner Guide)

Network switches are one of the most important devices in modern networking. They are used to connect multiple devices within a local network and ensure efficient communication.

Switch is a plug and play device.
We can assign IP address on a switch.
In production network every switch will have an ip address for telnet access.In order to access remotely from the lan.

Basic home_office setup network diagram
Basic home_office setup network diagram – cloudnet0365.com

 

In this guide, you will learn:

  • Switch hardware components
  • Types of switches
  • Difference between manageable and unmanageable switches
  • Cisco hierarchical design model
  • Basic switch configuration commands

πŸ”§Switch Hardware Components

A network switch consists of several important hardware parts:

 

 

 

Switch hardware Components
Switch hardware Components – (Source: cloudnet0365.com)

 

Cisco switch components diagram and details
Cisco switch components diagram and details – (Source: cloudnet0365.com)

πŸ”Ή 1. Ports

  • Ethernet ports used to connect devices
  • Can be Fast Ethernet, Gigabit, or 10G

πŸ”Ή 2. MAC Address Table (CAM Table)

  • Stores MAC addresses of connected devices
  • Helps in forwarding frames efficiently

πŸ”Ή 3. CPU and Memory

  • CPU handles processing
  • RAM stores temporary data
  • Flash stores configuration

πŸ”Ή 4. Power Supply

  • Provides power to the switch
  • Some switches support redundant power supply

πŸ”Ή 5. Cooling System

  • Fans to prevent overheating

βš™οΈ Types of Switches

πŸ”Ή 1. Layer 2 Switch

  • Works using MAC address
  • Used in local networks
  • Performs switching only

πŸ”Ή 2. Layer 3 (Multilayer) Switch

  • Works using MAC + IP address
  • Can perform routing
  • Used in larger networks

πŸ”Ή 3. PoE (Power over Ethernet) Switch

  • Provides power to devices (IP phones, cameras)
  • No need for separate power cables

πŸ“Š Key Difference between Manageable vs Unmanageable Switches

FeatureManaged SwitchUnmanaged Switch
ConfigurationFully configurable, we can verify,modify and can implement configurationsNo configurations can be done
ControlHigh controlNo control,these switches are just plug and play
VLAN SupportYesNo
Console PortIt has a console port and CLI accessTheir is no console port
VLAN SupportYesNo
SecurityAdvancedBasic
CostHigherLower
Use CaseEnterprise networksHome / small office

 


🎯 Simple Explanation

πŸ‘‰ Manageable Switches

  • You can configure everything
  • Used in professional networks

πŸ‘‰ Unmanageable Switches

  • Plug and play
  • No setup required

πŸ—οΈ Cisco Hierarchical Network Design Model

 

Cisco Hierarchical Network Design Model
Cisco Hierarchical Network Design Model – (Source: cloudnet0365.com)

Cisco uses a 3-layer design model:

πŸ”Ή 1. Access Layer Switches

  • These are low-end switches
  • Used at end locations (users connect here)
  • Works mainly at Layer 2

βœ” Connects:

  • PCs
  • Printers
  • Laptops
  • Other switches and routers

πŸ’‘ Key Features:

  • Layer 2 switching
  • VLAN support
  • Port security
  • PoE support

βœ… Common Models: Access Layer Switches

  • Cisco Catalyst 2960 Series
  • Cisco Catalyst 2960-X / XR Series
  • Cisco Catalyst 9200 Series
  • Cisco Catalyst 1000 Series

πŸ”Ή 2. Distribution Layer Switches

  • These are Layer 3 / Multilayer switches
  • Better hardware and processing capabilities as compared to access layer or Layer 2 switches.
  • The ports can work as a Layer 2 ( works based on mac address) as well as Layer 3 ( works based on ip address) port.
    Some routing configurations can be done in Distribution layer switches.

πŸ’‘ Key Features:

  • Layer 3 (routing support)
  • Inter-VLAN routing
  • ACLs & QoS
  • Better performance than access layer
  • Aggregates access layer switches and applies policies
  • Works on MAC + IP
  • Can perform routing
  • Supports policies and filtering

βœ… Common Models: Distribution Layer Switches

  • Cisco Catalyst 3560 Series
  • Cisco Catalyst 3750 Series
  • Cisco Catalyst 3850 Series
  • Cisco Catalyst 9300 Series

πŸ”Ή 3. Core Layer Switches

These are

  • High-end switches
  • Very fast and powerful

πŸ’‘ Key Features:

  • High-speed switching
  • Redundancy
  • High availability
  • Very high throughput
  • High performance
  • Handles large traffic
  • Backbone of network

βœ… Common Models: Core Layer Switches

  • Cisco Catalyst 4500 Series
  • Cisco Catalyst 6500 Series
  • Cisco Catalyst 9500 Series
  • Cisco Nexus 7000 / 9000 Series

πŸ‘‰ Some switches can be used in multiple layers depending on network size:

  • Catalyst 9300 β†’ Distribution or Core (small networks)
  • Catalyst 9200 β†’ Access or small Distribution

Core Level Switches are same as Distribution Layer Switches but with more processing and hardware capabilities and much more reliable.

The selection of switch models depends on network size and requirements, and some Cisco switches can operate across multiple layers in smaller or medium-sized networks.


βš™οΈ Basic Switch Initial Configuration (Cisco)

πŸ‘‰ When you first access a switch:

πŸ”Ή Enter Configuration Mode

SW>enable              This is User mode
SW#show startup-config
SW#show running-config
SW#show flash
SW#show version
SW(config)#            This is global configuration mode
Basic Commands
Cisco Switch Basic Commands (Source: cloudnet0365.com)

πŸ”Ή Set Hostname

hostname Switch1

πŸ”Ή Set Password

enable secret yourpassword

πŸ”Ή Configure Console Access

line console 0
password cisco
login

πŸ”Ή Configure VTY (Remote Access)

line vty 0 4
password cisco
login

For telnet access the requirements are :

1. Their should be Network connectivity between the pc and the switch.
2. IP address configured on the switch.The IP address should be on the same network.
3. VTY password and enable password should be configured on the switch.

Cisco switch password commands
Cisco switch password commands (Source: cloudnet0365.com)

 

πŸ”Ή Assign IP Address (Management)

interface vlan 1
ip address 192.168.1.2 255.255.255.0
no shutdown

πŸ”Ή Save Configuration

write memory

⚠️ Important Points to Remember

βœ” Switch works on MAC address (Layer 2)
βœ” Layer 3 switch can perform routing
βœ” Managed switches offer more control
βœ” Cisco model improves scalability


🧾 Conclusion

Understanding switch hardware, types, and configurations is essential for building efficient networks. With the Cisco hierarchical design model, networks can be structured in a scalable and organized way.


πŸ“š Further Reading


 

Leave a Comment