0% found this document useful (0 votes)
142 views

Configuration Switch Cisco Vlan

This document provides instructions for configuring VLANs on a Cisco Catalyst 3560 switch. It describes how to change the hostname, set the enable password, create VLANs 10-30 and name them for rooms 1-3, assign interface ranges FA0/1-8, FA0/9-16 and FA0/17-24 to VLANs 10, 20 and 30 respectively, assign IP addresses to each VLAN interface, enable IP routing and save the startup configuration. It also provides instructions for testing connectivity between devices using ping.

Uploaded by

Taoufiq K
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
142 views

Configuration Switch Cisco Vlan

This document provides instructions for configuring VLANs on a Cisco Catalyst 3560 switch. It describes how to change the hostname, set the enable password, create VLANs 10-30 and name them for rooms 1-3, assign interface ranges FA0/1-8, FA0/9-16 and FA0/17-24 to VLANs 10, 20 and 30 respectively, assign IP addresses to each VLAN interface, enable IP routing and save the startup configuration. It also provides instructions for testing connectivity between devices using ping.

Uploaded by

Taoufiq K
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 2

SWITCH CISCO CATALYST 3560

EXEMPLE CONFIGURATION DES VLAN

Switch>
Switch>enable
Switch#
Switch# conf t
Switch(config)#
How to change Hostname in Cisco Switch
Switch(config)# hostanme Test-switch
Test-switch (config)#
How to set Enable mode Password
Test-switch (config)#
Enable password cisco (invisible)
Test-switch (config)# exit
Switch>
Switch>enab
Password : cisco
Test-switch (config)# show vlan
How to create VLAN in Cisco Switch 2960, 3550
How to name VLAN How to assign interface to VLAN
Test-switch# conf t
Test-switch(config)# vlan 10
Test-switch(config-vlan)#
Test-switch(config-vlan)# name Salle 1
Test-switch(config-vlan)# exit
Test-switch(config)#
Test-switch(config)# vlan 20
Test-switch(config-vlan)#
Test-switch(config-vlan)# name Salle 2
Test-switch(config-vlan)# exit
Test-switch(config)#
Test-switch(config)# vlan 30
Test-switch(config-vlan)#
Test-switch(config-vlan)# name Salle 3
Test-switch(config-vlan)# exit
Test-switch(config)#
Test-switch# show vlan
Test-switch#
Test-switch# conf t
Test-switch(config)#
How to assign Interface to VLAN
Test-switch(config)# interface range fastethernet 0/1-8
Test-switch(config-if-range)#
Test-switch(config-if-range)# switchport mode access
Test-switch(config-if-range)# switchport access vlan 10
Test-switch(config-if-range)# exit
Test-switch(config)# interface range fastethernet 0/9-16
Test-switch(config-if-range)#
Test-switch(config-if-range)# switchport mode access
Test-switch(config-if-range)# switchport access vlan 20
Test-switch(config-if-range)# exit
Test-switch(config)# interface range fastethernet 0/17-24
Test-switch(config-if-range)#
Test-switch(config-if-range)# switchport mode access
Test-switch(config-if-range)# switchport access vlan 30
Test-switch(config-if-range)# exit
How to assign IP Address to VLAN
Test-switch(config)# interface vlan 10
Test-switch(config-if)# ip address 10.10.10.1 255.255.255.0
Test-switch(config-if)# exit
Test-switch(config)# interface vlan 20
Test-switch(config-if)# ip address 10.10.20.1 255.255.255.0
Test-switch(config-if)# exit
Test-switch(config)# interface vlan 30
Test-switch(config-if)# ip address 10.10.30.1 255.255.255.0
Test-switch(config-if)# exit
Test-switch(config)# exit
Test-switch# show ip interface brief
How to enable Inter Vlan Routing in cisco switch
Test-switch# conf t
Test-switch(config)# ip routing

How to save startup-configuration


Test-switch# copy running-config startup-config
OR
Test-switch# write memory

Test du ping à partir de chaque Test du Ping à partir de Ordinateur1


ordinateur vers sa passerelle vers Ordinateur 2 et Ordinateur 3
Ex : Ordinateur 1 ping 10.10.10.1 Ex : Ordinateur 1 ping 10.10.20.5
Ex : Ordinateur 2 ping 10.10.20.1 Ex : Ordinateur 1 ping 10.10.30.5
Ex : Ordinateur 3 ping 10.10.30.1 Ex : Ordinateur 2 ping 10.10.10.5
Ex : Ordinateur 3 ping 10.10.10.5
Ex : Ordinateur 2 ping 10.10.30.5
Ex : Ordinateur 3 ping 10.10.20.5

You might also like