Introduction To Cisco Switches: Switching made simple!!

Detailed view of a network switch featuring multiple ethernet ports and LED indicators.

Cisco entered the switching market in the early 1990s, a time when networking was dominated by hubs and routers. The first major step was the acquisition of Crescendo Communications in 1993. This deal brought the Catalyst 1200 switch into the Cisco portfolio. The Catalyst line quickly became the company’s flagship switching product. These early switches were pivotal in moving from shared-media Ethernet to switched Ethernet, significantly improving network performance and security by creating dedicated connections for each device.

Detailed view of blue ethernet cables connected to a network switch in a data center.

Cisco Catalyst switches are very common in networks. They can work at Layer 2 (switching) and Layer 3 (routing). They are used in core networks, campus networks, and data centers, and they also provide security features.

In this tutorial, we’ll go through some basic setup tasks:

  • Setting the hostname
  • Assigning a management VLAN and IP address
  • Creating VLANs
  • Configuring Link Aggregation (LACP) and trunking
computer, utp, network, cisco, color, jack, electronics, wire, cisco, cisco, cisco, cisco, cisco
  1. What this does: Gives your switch an easy-to-recognize name.

1. Connect to the terminal with a terminal emulator (putty)

  1. Connect to the switch (console cable with PuTTY, or SSH).
  2. Enter privileged mode: Switch> enable
  3. Enter global configuration mode: Switch# configure terminal
  4. Set the hostname: Switch(config)# hostname QCNS-Switch
  5. Verify: Switch# show running-config | include hostname

2. Assign a Management IP

What this does: Lets you manage the switch over the network (SSH/Telnet).

Steps:

  1. Switch# configure terminal
  2. Switch(config)# vlan 10
  3. Switch(config-vlan)# name Management
  4. Switch(config-vlan)# exit
  5. Switch(config)# interface vlan 10
  6. Switch(config-if)# ip address 192.168.1.10 255.255.255.0
  7. Switch(config-if)# no shutdown
  8. Switch(config-if)# exit
  9. Switch(config)# ip default-gateway 192.168.1.1


3. Create and Assign VLANs

What this does: Segments your network into different broadcast domains.

Steps:

  1. Switch(config)# vlan 20
  2. Switch(config-vlan)# name QCNS-Office
  3. Switch(config-vlan)# exit
  4. Switch(config)# interface GigabitEthernet1/0/20
  5. Switch(config-if)# switchport mode access
  6. (config-if)# switchport access vlan 20
  7. Switch(config-if)# exit

4. Configure LACP (EtherChannel) and Trunking

What this does: Combines multiple links for higher bandwidth and redundancy.

Steps:

  1. Switch(config)# interface GigabitEthernet1/0/47
  2. Switch(config-if)# switchport mode trunk
  3. Switch(config-if)# channel-group 1 mode active
  4. Switch(config-if)# exit
  5. Switch(config)# interface GigabitEthernet1/0/48
  6. Switch(config-if)# switchport mode trunk
  7. Switch(config-if)# channel-group 1 mode active
  8. Switch(config-if)# exit
  9. Switch(config)# interface Port-channel1
  10. Switch(config-if)# switchport mode trunk
  11. Switch(config-if)# exit

3 thoughts on “Introduction To Cisco Switches: Switching made simple!!”

  1. Pingback: MyBlog

  2. Hey Chris,
    Thanks for the posting a well documented and technical guide on Cisco switches. This information has helped me greatly. Thank you for also making it easier than some of the other posts out there.

Leave a Comment

Your email address will not be published. Required fields are marked *

Scroll to Top