Está en la página 1de 2

////// VLANS-ROUTER //////////

siempre: ena
conf t
Para guardar: do wr
····Configuracion de VLANs·······
-Vlan 1

vlan 10
name vlanx
exit
-Vlan 2

vlan 20
name vlany
exit
-Vlan 3

vlan 30
name vlanz
exit

······Configuracion de Interfaces·······
interface e0/0(numero de puerto en uso:0,1,2,etc)
switchport
switchport mode access
switchport access vlan 30 (Vlan del puerto que desea:10,20,30,etc)
exit

·······Configuracion de la Troncal Swicht-Switch·········


interface e1/3 (Puerto en uso entre los dos switch)
switchport
switchport trunk encapsulation dot1q
switch trunk allowed vlan 10,20,30 (agregamos la Vlans existentes en el Switch)
switchport mode trunk

······Configuracion de la Troncal Swicht-Router··········


interface e1/3 (Puerto en uso entre Swicht-Router)
switchport
switchport trunk encapsulation dot1q
switch trunk allowed vlan 10,20,30 (agregamos la Vlans existentes en el Switch)
switchport mode trunk

·····Configuracion del Router·······


Siempre:enable
conf t

interface e0/0
no sh
exit

-el 10 luego del dot es el nombre de la vlan

int e0/0.1
encapsulation dot1q 10
ip add 192.168.10.1 255.255.255.0
no shut
exit
int e0/0.2
encapsulation dot1q 20
ip add 192.168.20.1 255.255.255.0
no shut
exit

int e0/0.3
encapsulation dot1q 30
ip add 192.168.30.1 255.255.255.0
no shut
exit

También podría gustarte