Está en la página 1de 2

SW_DISTRIBUCION

-------------------
conf t
vlan 10
name SOPORTE
exit
vlan 20
name INVITADOS
exit
vlan 30
name GERENCIA
exit
int e2/2
sw mode access
sw access vlan 10
no sh
exit
int e1/3
sw mode access
sw access vlan 20
no sh
exit
int e3/1
sw mode access
sw access vlan 30
no sh
exit
int e1/2
sw trunk encapsulation dot1q
sw mode trunk
sw trunk allowed vlan 10,20,20
no sh
end
############################################
Sw_CORE:
----------------------------------------
ena
conf t
ip routing
host SW_CORE
vlan 10
name SOPORTE
exit
vlan 20
name INVITADOS
exit
vlan 30
name GERENCIA
exit
int e1/2
sw trunk encapsulation dot1q
sw mode trunk
sw trunk allowed vlan 10,20,30
no sh
exit
int e2/2
no sw
ip add 200.100.120.2 255.255.255.252
no sh
exit
int vlan10
ip add 192.168.10.1 255.255.255.0
no sh
exit
int vlan20
ip add 192.168.20.1 255.255.255.0
no sh
exit
int vlan30
ip add 192.168.30.1 255.255.255.0
no sh
exit
ip dhcp excluded-add 192.168.10.1 192.168.10.20
ip dhcp pool VLAN10
netw 192.168.10.0 255.255.255.0
default-router 192.168.10.1
dns-server 8.8.8.8
exit
ip dhcp excluded-add 192.168.20.1 192.168.20.20
ip dhcp pool VLAN20
netw 192.168.20.0 255.255.255.0
default-router 192.168.20.1
dns-server 8.8.8.8
exit
ip dhcp excluded-add 192.168.30.1 192.168.30.20
ip dhcp pool VLAN30
netw 192.168.30.0 255.255.255.0
default-router 192.168.30.1
dns-server 8.8.8.8
end
############################
R1:
conf t
host R1
int f0/0
ip add 200.100.120.1 255.255.255.252
no sh
exit

También podría gustarte