0% found this document useful (0 votes)
36 views3 pages

Switch Lab For Vlans

The document provides instructions for configuring VLANs on a switch by creating VLANs for sales, HRM, and marketing with IDs 10, 20, and 30 respectively and assigning port ranges to each VLAN.

Uploaded by

mucaad
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
36 views3 pages

Switch Lab For Vlans

The document provides instructions for configuring VLANs on a switch by creating VLANs for sales, HRM, and marketing with IDs 10, 20, and 30 respectively and assigning port ranges to each VLAN.

Uploaded by

mucaad
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as DOCX, PDF, TXT or read online on Scribd
You are on page 1/ 3

SWITCH LAB FOR VLANS

The task is to create three vlans with names SALES ,HRM,MRK and VLAN-IDS 10,20,30
respectively

Assign ports from fastethernet 0/ 1 - 8 to vlan SALES/10 ,from fastethernet 0/9 - 16 to vlan HRM/20
and from fastethernet 0/17 - 24 to vlan MRK/30.

Switch>enable

Switch#configure terminal

Switch(config)#vlan 10

Switch(config-vlan)#name SALES

Switch(config-vlan)#EXIT

Switch(config)#vlan 20

Switch(config-vlan)#name HRM

Switch(config-vlan)#EXIT

Switch(config)#VLAN 30

Switch(config-vlan)#NAME MRK

Switch(config-vlan)#EXIT

Switch(config)#interface fastEthernet 0/1

Switch(config-if)#switchport mode access

Switch(config-if)#switchport access vlan 10

Switch(config)#interface fastEthernet 0/2

1
SWITCH LAB FOR VLANS

Switch(config-if)#switchport mode access

Switch(config-if)#switchport access vlan 10

Switch(config-if)#exit

USING RANGE COMMAND TO ASSIGN MUTLIPLE PORTS TO VLAN ONE TIME

Switch(config)#interface range fastEthernet 0/3 - 8

Switch(config-if-range)#switchport mode access

Switch(config-if-range)#switchport access vlan 10

Switch(config-if-range)#exit

Switch(config)#interface range fastEthernet 0/9

Switch(config-if-range)#switchport mode access

Switch(config-if-range)#switchport access vlan 20

Switch(config-if-range)#exit

Switch(config)#interface range fastEthernet 0/10 - 15

Switch(config-if-range)#switchport mode access

Switch(config-if-range)#switchport access vlan 20

Switch(config-if-range)#exit

Switch(config)#interface fastEthernet 0/16

Switch(config-if)#switchport mode access

Switch(config-if)#switchport access vlan 30

USING RANGE COMMAND TO ASSIGN MUTLIPLE PORTS TO VLAN ONE TIME

Switch(config)#interface range fastEthernet 0/17 - 24

Switch(config-if-range)#switchport mode access

Switch(config-if-range)#switchport access vlan 30

Switch(config-if-range)#exit

Switch(config)#exit

Switch#write memory

2
SWITCH LAB FOR VLANS

You might also like