Anda di halaman 1dari 8

S1 enable configure terminal hostname s1 vlan 10 name MKT vlan 20 name VENTAS vlan 30 name GERENCIA vlan 99 name

ADM exit interface range fa0/1-5 switchport mode trunk switchport trunk native vlan 99 no shutdown interface range fa0/6-10 switchport access vlan 10 switchport mode access interface range fa0/11-15 switchport access vlan 20 switchport mode access interface range fa0/16-20 switchport access vlan 30 switchport mode access exit exit shutdown vlan S2 enable configure terminal

hostname S2 vlan 10 name MKT vlan 20 name VENTAS vlan 30 name GERENCIA vlan 99 name ADM exit interface range fa0/1-5 switchport mode trunk switchport trunk native vlan 99 no shutdown interface range fa0/6-10 switchport access vlan 10 switchport mode access interface range fa0/11-15 switchport access vlan 20 switchport mode access interface range fa0/16-20 switchport access vlan 30 switchport mode access S3 enable configure terminal hostname S3 vlan 10 name MKT vlan 20 name VENTAS vlan 30 name GERENCIA vlan 99 name ADM exit interface range fa0/1-5 switchport mode trunk switchport trunk native vlan 99 no shutdown interface range fa0/6-10 switchport access vlan 10 switchport mode access interface range fa0/11-15 switchport access vlan 20 switchport mode access interface range fa0/16-20 switchport access vlan 30

switchport mode access ------------------------------ ACTIVAR TELNET EN LOS SWITCHS --------------------------------S1 End Enable Configure terminal Enable secret class Line console 0 Password cisco Login Line vty 0 15 Password cisco Login Exit Interface vlan 99 Ip address 172.16.99.10 255.255.255.0 Exit Ip default-gateway 172.16.99.1 S2 Enable Configure terminal Enable secret class Line console 0 Password cisco Login Line vty 0 15 Password cisco Login Exit Interface vlan 99 Ip address 172.16.99.12 255.255.255.0 Exit Ip default-gateway 172.16.99.1 S3 Enable Configure terminal Enable secret class Line console 0 Password cisco Login Line vty 0 15 Password cisco Login Exit Interface vlan 99 Ip address 172.16.99.11 255.255.255.0 Exit Ip default-gateway 172.16.99.1

-------------- CONFIGURACION SW CENTRAL MULTICAPA -----------------------Entramos al switch multicapa enable configure terminal hostname CENTRAL vlan 10 name MKT vlan 20 name VENTAS vlan 30 name GERENCIA vlan 99 name ADM exit interface range fa0/1-5 switchport mode trunk switchport trunk native vlan 99 end CENTRAL # shutdown vlan CENTRAL # sh controllers fa0/5 CENTRAL # sh interface trunk ---------------------------- ASIGNAR LAS IPS A LAS VLANS ----------------------------------Entramos al switch multicapa Interface vlan 10 Ip address 172.16.10.1 255.255.255.0 Interface vlan 20 Ip address 172.16.20.1 255.255.255.0 Interface vlan 30 Ip address 172.16.30.1 255.255.255.0 Interface vlan 99 Ip address 172.16.99.1 255.255.255.0 CENTRAL # end CENTRAL # sh ip interface brief ------------------ ENRUTAMIENTO INTERVLANS -----------------------------------------Entramos al switch multicapa CENTRAL >enable CENTRAL #configure terminal router ospf 1 netword 172.16.10.0 0.0.0.255 area 0 netword 172.16.20.0 0.0.0.255 area 0 netword 172.16.30.0 0.0.0.255 area 0 netword 172.16.99.0 0.0.0.255 area 0 end wr primero vemos CENTRAL #conf t CENTRAL (config)#router ? Muestra : BGP , EIGRP , OSPF, RIP

Escogemos el ospf CENTRAL (config)# router ospf 1 netword 172.16.10.0 0.0.0.255 area 0 netword 172.16.20.0 0.0.0.255 area 0 netword 172.16.30.0 0.0.0.255 area 0 netword 172.16.99.0 0.0.0.255 area 0 end wr CENTRAL #sh ip route CENTRAL #conf t CENTRAL (config)#interface fa0/21 CENTRAL (config-if)# no switchport CENTRAL (config-if)# ip address 10.10.10.2 255.255.255.252 CENTRAL (config-if)#no shutdown Despues del router escribimos en el switch multicapa CENTRAL (config-if)# end CENTRAL #conf t CENTRAL (config)# ip routing CENTRAL (config)#exit CENTRAL # wr ---------------- EN EL ROUTER ----------------------------Ahora entramos al ROUTER0 Router>enable Router#conf t Router(config)#hostname R1 R1(config)# interface fa0/0 R1(config-if)# ip address 10.10.10.1 255.255.255.252 R1(config-if)#no shutdown R1(config-if)#exit R1(config)#router ospf 1 R1(config-router)# network 10.10.10.0 0.0.0.3 area 0 R1(config-router)#end R13# wr R1#

A cada pc primero con pc con .10 poner su ip 172.16.10.10 255.255.255.0 172.16.10.1 A cada pc primero con pc con .11 poner su ip 172.16.20.11 255.255.255.0 172.16.20.1

Ponemos en switch multicapa enable configure terminal hostname CENTRAL vlan 10 name MKT vlan 20 name VENTAS vlan 30 name GERENCIA vlan 99 name ADM exit interface range fa0/1-5 switchport mode trunk switchport trunk native vlan 99 end CENTRAL # shutdown vlan CENTRAL # sh controllers fa0/5

CENTRAL # sh interface trunk

Anda mungkin juga menyukai