Thursday, February 7, 2019

Cisco Trunking and switching:Router on a stick (Part1)


Router on a stick 
(Part 1)

Introduction

This is a beginner course that talks about router on a stick architecture and is devided on 3 parts, each blog will contain certain tasks to do and after finishing the three parts you will be able to fully configure a router on a stick topology using CiscoPacketTracer.


Today we are covering a very simple task and that will be configuring vlans, access and trunk ports in a switch.

Task 1 - Create two vlans
Task 2 - Configure a port in Vlan 10 and a port on vlan 20.
Task 3 - Configure a port as a Trunk.

Please note that this lab was created with CiscoPacketTracer, also all of the mentioned configurations were issued on the same switch.

Let's jump into it !!

Task 1 : Create two Vlans 

To configure vlans 10 and 20 we need to enter these commands on configuration mode:

(config)#vlan 10
(config)#name IT

(config)#vlan 20 
(config)#name HumanResources


Task 2 - Configure a port in Vlan 10 and a port on vlan 20.

To configure a port in a specified static vlan the commands are;

Under config mode (To access this mode enter configure terminal command):

(config)#interface f0/1
(config)#switchport mode access
(config)#switchport access vlan 10

(config)#interface f0/2
(config)#switchport mode access
(config)#switchport access vlan 20


Verifying our configuration:
To do so issue the command

(config)#do show vlan or (do sh vl)




Task 3: Configure a port as a Trunk.

(config)#interface f0/24
(config)#switchport mode trunk
(config)#switchport trunk allowed vlan 10-20

Verifying our config:
We need to issue the #do sh run command and jump to the port f0/24






In the Next Lab we are going to assign IP addresses to the machines connected to the switch and add a router to our topology.

Thank you for viewing.


1 comment:

Cisco Identity Services Engine (ISE)

Introduction to Cisco Identity Services Engine (ISE) Cisco Identity Services Engine (ISE)  Cisco Identity Services Engine (ISE) is...