Академический Документы
Профессиональный Документы
Культура Документы
VLAN – VTP
Hoy en día, una red física está basada principalmente en uno o más switches. Se trata
de dispositivos que regulan el tráfico de datos entre los participantes. Todos los cables
de red están conectados al switch y hacen posible la comunicación entre los diferentes
ordenadores. Actualmente, los switches son capaces de conectar cientos de
dispositivos que, a su vez, pueden comunicarse sin que apenas se produzcan
problemas. No obstante, a veces resulta útil poder dividir redes tan grandes sin tener
que realizar cambios en la instalación física.
Ingresamos al primer Switch 0, nos dirigimos a la opción CLI (Interface línea de comando),
presionar Enter
Switch 0
Escribimos dos veces exit, después digitamos el comando show vlan, se muestra el siguiente
resultado.
Switch 1
Instalación y Configuración de Redes
Switch>enable
Switch#config terminal
Enter configuration commands, one per line. End with CNTL/Z.
Switch(config)#vlan 10
Switch(config-vlan)#name ADMINISTRACION
Switch(config-vlan)#vlan 20
Switch(config-vlan)#name CONTABILIDAD
Switch(config-vlan)#exit
Switch(config)#exit
Switch#show vlan
Resultado
Switch 3
Switch>enable
Switch#config terminal
Enter configuration commands, one per line. End with CNTL/Z.
Switch(config)#vlan 10
Switch(config-vlan)#name ADMINISTRACION
Instalación y Configuración de Redes
Switch(config-vlan)#vlan 20
Switch(config-vlan)#name CONTABILIDAD
Switch(config-vlan)#exit
Switch(config)#exit
Switch#
RESULTADO
Switch 1
Switch>enable
Switch#config ter
Enter configuration commands, one per line. End with CNTL/Z.
Switch(config)#interface f0/2
Switch(config-if)#switchport access vlan 10
Switch(config-if)#interface f0/3
Switch(config-if)#switchport access vlan 20
Switch(config-if)#exit
Switch(config)#exit
Instalación y Configuración de Redes
Switch#show vlan
Switch 2
Switch>enable
Switch#config ter
Enter configuration commands, one per line. End with CNTL/Z.
Switch(config)#interface f0/2
Switch(config-if)#switchport access vlan 10
Switch(config-if)#interface f0/3
Switch(config-if)#switchport access vlan 20
Switch(config-if)#exit
Switch(config)#exit
Switch#show vlan
Instalación y Configuración de Redes
PC0
Instalación y Configuración de Redes
LAPTOP 0
PC1
Instalación y Configuración de Redes
LAPTOP1
Switch 2
Switch>enable
Switch#config term
Enter configuration commands, one per line. End with CNTL/Z.
Switch(config)#interface f0/1
Switch(config-if)#switch mode trunk
Switch(config-if)#
%LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet0/1, changed
state to down
%LINEPROTO-5-UPDOWN: Line protocol on Interface FastEthernet0/1, changed
state to up
Switch(config-if)#switchport trunk native vlan 1
Switch(config-if)#exit
Switch 0
Switch#config ter
Enter configuration commands, one per line. End with CNTL/Z.
Switch(config)#int range f0/1-2
Switch(config-if-range)#switchport mode trunk
Switch(config-if-range)#switchport trunk native vlan 1
Instalación y Configuración de Redes
VERIFICAMOS EL RESULTADO