You are on page 1of 16

Configuración de Vlan

Luis Eduardo Lacio Vázquez Página 1

Configuración del Switch 1
Switch>enable
Switch#config terminal
Enter configuration commands, one per line. End with CNTL/Z.
Switch(config)#hostname Computo
Computo(config)#exit
Computo#
%SYS-5-CONFIG_I: Configured from console by console
Computo#config terminal Enter configuration commands, one per line. End with
CNTL/Z.
Computo(config)#vlan 100
Computo(config-vlan)#name Administracion
Computo(config-vlan)#exit
Computo(config)#vlan 200
Computo(config-vlan)#nameAlmacen
Computo(config-vlan)#exit
Computo(config)#vlan 300
Computo(config-vlan)#name Financieros
Computo(config-vlan)#exit
Computo(config)#vlan 400
Computo(config-vlan)#nameRecHumanos
Computo(config-vlan)#
Computo#copy running-config startup-config
Configuración de Vlan

Luis Eduardo Lacio Vázquez Página 2



Computo>enable
Computo#config terminal
Enter configuration commands, one per line. End with CNTL/Z.
Computo(config)#interface fa 0/2
Computo(config-if)#switchport access vlan 100
Computo(config-if)#exit
Computo(config)#interface fa 0/3
Computo(config-if)#switchport access vlan 200
Computo(config-if)#exit
Computo(config)#interface fa 0/4
Computo(config-if)#switchport access vlan 300
Computo(config-if)#exit
Computo(config)#interface fa 0/5
Computo(config-if)#switchport access vlan 400
Computo(config-if)#exit
Configuración de Vlan

Luis Eduardo Lacio Vázquez Página 3

Computo(config)#exit

%SYS-5-CONFIG_I: Configured from console by console
Computo>show vlan
VLAN Name Status Ports
---- -------------------------------- --------- -------------------------------
1 default active Fa0/1, Fa0/6, Fa0/7, Fa0/8
Fa0/9, Fa0/10, Fa0/11, Fa0/12
Fa0/13, Fa0/14, Fa0/15, Fa0/16
Fa0/17, Fa0/18, Fa0/19, Fa0/20
Fa0/21, Fa0/22, Fa0/23, Fa0/24
100 Administracion active Fa0/2
200 Almacenactive Fa0/3
300 Financieros active Fa0/4
400 RecHumanosactive Fa0/5
1002 fddi-default act/unsup
1003 token-ring-default act/unsup
1004 fddinet-default act/unsup
1005 trnet-default act/unsup

VLAN Type SAID MTU Parent RingNoBridgeNoStpBrdgMode Trans1 Trans2
---- ----- ---------- ----- ------ ------ -------- ---- -------- ------ ------
1 enet 100001 1500 - - - - - 0 0
100 enet 100100 1500 - - - - - 0 0
200 enet 100200 1500 - - - - - 0 0
Configuración de Vlan

Luis Eduardo Lacio Vázquez Página 4



CONFIGURACIÒN DE PUERTOS
Computo>enable
Computo#conf t
Enter configuration commands, one per line. End with CNTL/Z.
Computo(config)#interface fastEthernet0/2
Computo(config-if)#switchport mode access
Computo(config-if)#switchport access vlan 100
Computo(config-if)#interface fastEthernet0/3
Computo(config-if)#switchport mode access
Computo(config-if)#switchport access vlan 200
Computo(config-if)#interface fastEthernet0/4
Computo(config-if)#switchport mode access
Computo(config-if)#switchport access vlan 300
Computo(config-if)#interface fastEthernet0/5
Computo(config-if)#switchport mode access
Configuración de Vlan

Luis Eduardo Lacio Vázquez Página 5

Computo(config-if)#switchport access vlan 400
Computo(config-if)#end

%SYS-5-CONFIG_I: Configured from console by console
Computo#copy running-config startup-config
Destination filename [startup-config]?
Building configuration...
[OK]
Computo#







Configuración de Vlan

Luis Eduardo Lacio Vázquez Página 6





Configuraciondel Switch 2
Directiva>enable
Directiva#config terminal
Enter configuration commands, one per line. End with CNTL/Z.
Directiva(config)#hostname Computo
Computo(config)#exit
Computo#
%SYS-5-CONFIG_I: Configured from console by console
Computo#config terminal
Enter configuration commands, one per line. End with CNTL/Z.
Computo(config)#vlan 100
Computo(config-vlan)#name Administracion
Computo(config-vlan)#exit
Computo(config)#vlan 200
Computo(config-vlan)#name Almacen
Computo(config-vlan)#exit
Computo(config)#vlan 300
Computo(config-vlan)#name Financieros
Computo(config-vlan)#exit
Configuración de Vlan

Luis Eduardo Lacio Vázquez Página 7

Computo(config)#vlan 400
Computo(config-vlan)#nameRecHumanos
Computo(config-vlan)#exit
Computo(config)#vlan 999
Computo(config-vlan)#name Gestion
Computo(config-vlan)#exit
Computo(config)#exit
%SYS-5-CONFIG_I: Configured from console by console
Computo#copy running-configstarup-config
Computo#copy running-config startup-config
Destination filename [startup-config]?
Building configuration... [OK]

Computo#enable
Computo#config terminal
Enter configuration commands, one per line. End with CNTL/Z.
Computo(config)#interface fa 0/3
Computo(config-if)#switchport access vlan 100
Configuración de Vlan

Luis Eduardo Lacio Vázquez Página 8

Computo(config-if)#exit
Computo(config)#interface fa 0/4
Computo(config-if)#switchport access vlan 200
Computo(config-if)#exit
Computo(config)#interface fa 0/5
Computo(config-if)#switchport access vlan 300
Computo(config-if)#exit
Computo(config)#interface fa 0/6
Computo(config-if)#switchport access vlan 400
Computo(config-if)#exit
Computo(config)#copy running-config startup-config
Computo(config)#exit
%SYS-5-CONFIG_I: Configured from console by console
Computo#copy running-config startup-config
Destination filename [startup-config]?
Building configuration...
[OK]

Computo#conf t
Enter configuration commands, one per line. End with CNTL/Z.
Computo(config)#interface fastEthernet0/2
Computo(config-if)#switchport mode acces
Computo(config-if)#switchport access vlan 100
Computo(config-if)#interface fastEthernet0/3
Computo(config-if)#switchport mode access
Configuración de Vlan

Luis Eduardo Lacio Vázquez Página 9

Computo(config-if)#switchport access vlan 200
Computo(config-if)#interface fastEthernet0/4
Computo(config-if)#switchport mode access
Computo(config-if)#switchport access vlan 300
Computo(config-if)#interface fastEthernet0/5
Computo(config-if)#switchport mode access
Computo(config-if)#switchport access vlan 400
Computo(config-if)#end
Computo#
%SYS-5-CONFIG_I: Configured from console by console
Computo#copy running-config startup-config
Destination filename [startup-config]?
Building configuration...
[OK]

CONFIGURACION DE LA VLAN DE GESTION

Configuración de Vlan

Luis Eduardo Lacio Vázquez Página 10



Configuraciondel Switch 3
Laboratorio>enable
Laboratorio#config terminal
Enter configuration commands, one per line. End with CNTL/Z.
Laboratorio(config)#hostname Computo
Computo(config)#exit
%SYS-5-CONFIG_I: Configured from console by console
Computo#config terminal
Enter configuration commands, one per line. End with CNTL/Z.
Computo(config)#vlan 100
Computo(config-vlan)#name Administracion
Computo(config-vlan)#exit
Computo(config)#vlan 200
Computo(config-vlan)#name Almacen
Computo(config-vlan)#exit
Computo(config)#vlan 300
Computo(config-vlan)#name Financieros
Computo(config-vlan)#exit
Computo(config)#vlan 400
Computo(config-vlan)#nameRecHumanos
Computo(config-vlan)#exit
Computo(config)#exit
Computo#
Configuración de Vlan

Luis Eduardo Lacio Vázquez Página 11

%SYS-5-CONFIG_I: Configured from console by console

Computo#copy running-config startup-config
Destination filename [startup-config]?
Building configuration...
[OK]
Computo#config terminal
Enter configuration commands, one per line. End with CNTL/Z.
Computo(config)#interface fa 0/2
Computo(config-if)#switchport access vlan 100
Computo(config-if)#exit
Computo(config)#interface fa 0/3
Computo(config-if)#switchport access vlan 200
Computo(config-if)#exit
Computo(config)#interface fa 0/4
Computo(config-if)#switchport access vlan 300
Computo(config-if)#exit
Computo(config)#interface fa 0/5
Computo(config-if)#switchport access vlan 400
Computo(config-if)#exit
Computo(config)#exit

%SYS-5-CONFIG_I: Configured from console by console
Computo#copy running-config startup-config
Destination filename [startup-config]?
Configuración de Vlan

Luis Eduardo Lacio Vázquez Página 12

Building configuration...
[OK]
Computo#show vlan
VLAN Name Status Ports
---- -------------------------------- --------- -------------------------------
1 default active Fa0/1, Fa0/6, Fa0/7, Fa0/8
Fa0/9, Fa0/10, Fa0/11, Fa0/12
Fa0/13, Fa0/14, Fa0/15, Fa0/16
Fa0/17, Fa0/18, Fa0/19, Fa0/20
Fa0/21, Fa0/22, Fa0/23, Fa0/24
100 Administracion active Fa0/2
200 Almacen active Fa0/3
300 Financieros active Fa0/4
400 RecHumanos active Fa0/5
1002 fddi-default act/unsup
1003 token-ring-default act/unsup
1004 fddinet-default act/unsup
1005 trnet-default act/unsup

VLAN Type SAID MTU Parent RingNoBridgeNoStpBrdgMode Trans1 Trans2
---- ----- ---------- ----- ------ ------ -------- ---- -------- ------ ------
1 enet 100001 1500 - - - - - 0 0
100 enet 100100 1500 - - - - - 0 0
200 enet 100200 1500 - - - - - 0 0
--More--
Configuración de Vlan

Luis Eduardo Lacio Vázquez Página 13


Configuraciondel Switch 4
Biblioteca>enable
Biblioteca#config terminal
Enter configuration commands, one per line. End with CNTL/Z.
Biblioteca(config)#hostname Computo
Computo(config)#exit
Computo#
%SYS-5-CONFIG_I: Configured from console by console
Computo#config terminal
Enter configuration commands, one per line. End with CNTL/Z.
Computo(config)#vlan 100
Computo(config-vlan)#name Administracion
Computo(config-vlan)#exit
Computo(config)#vlan 200
Computo(config-vlan)#name Almacen
Computo(config-vlan)#exit
Computo(config)#vlan 300
Computo(config-vlan)#name Financieros
Computo(config-vlan)#exit
Computo(config)#vlan 400
Computo(config-vlan)#nameRecHumanos
Computo(config-vlan)#exit
Computo(config)#exit

Configuración de Vlan

Luis Eduardo Lacio Vázquez Página 14

%SYS-5-CONFIG_I: Configured from console by console
Computo#copy running-config startup-config
Destination filename [startup-config]?
Building configuration...
[OK]
Computo#config terminal
Enter configuration commands, one per line. End with CNTL/Z.
Computo(config)#interface fa 0/2
Computo(config-if)#switchport access vlan 100
Computo(config-if)#exit
Computo(config)#interface fa 0/3
Computo(config-if)#switchport access vlan 200
Computo(config-if)#exit
Computo(config)#interface fa 0/4
Computo(config-if)#switchport access vlan 300
Computo(config-if)#exit
Computo(config)#interface fa 0/5
Computo(config-if)#switchport access vlan 400
Computo(config-if)#exit
Computo(config)#exit

%SYS-5-CONFIG_I: Configured from console by console
Computo#copy running-config startup-config
Destination filename [startup-config]?
Building configuration...
Configuración de Vlan

Luis Eduardo Lacio Vázquez Página 15

[OK]
Computo#showvlan

VLAN Name Status Ports
---- -------------------------------- --------- -------------------------------
1 default active Fa0/1, Fa0/6, Fa0/7, Fa0/8
Fa0/9, Fa0/10, Fa0/11, Fa0/12
Fa0/13, Fa0/14, Fa0/15, Fa0/16
Fa0/17, Fa0/18, Fa0/19, Fa0/20
Fa0/21, Fa0/22, Fa0/23, Fa0/24
100 Administracion active Fa0/2
200 Almacen active Fa0/3
300 Financieros active Fa0/4
400 RecHumanos active Fa0/5
1002 fddi-default act/unsup
1003 token-ring-default act/unsup
1004 fddinet-default act/unsup
1005 trnet-default act/unsup

VLAN Type SAID MTU Parent RingNoBridgeNoStpBrdgMode Trans1 Trans2
1 enet 100001 1500 - - - - - 0 0
100 enet 100100 1500 - - - - - 0 0
200 enet 100200 1500 - - - - - 0 0
--More—

Configuración de Vlan

Luis Eduardo Lacio Vázquez Página 16