Está en la página 1de 4

CONFIGURACION BASICA SW enable configure terminal enable secret class line console 0 password cisco login line vty

0 15 password cisco login exit service password-encryption hostname <Desabilita la busqueda de DNS> no ip domain-lookup CONFIGURAR IP DEFAULT ip default-gateway 172.17.99.1 CONFIGURAR EL RELOJ S# clock ? clock set ? hh:mm:ss poner clock set 12:12:12 ? poner 1-31 mes BUFFER HISTORIAL DE LINEA line console 0 history size 50 line vty 0 4 history size 50 CONFIGURACION SECUENCIA DE ARRANQUE show flash configure terminal boot system flash: c2960-lanbase-mz.122-25.SEE1.bin junto si no funca CONFIGURAR DUPLEX Y LA VELOCIDAD interface f0/18 duplex full speed 100 MAC ESTATICA mac-address-table static 0060.3EDD.19A3 vlan 99 int f0/24 (mac de la pc o server)

CONFIGURAR SEGURIDAD DE PUERTO interface f0/18 switchport mode access switchport port-security switchport port-security mac-address (poner la mac) PONER DESCRIPCION AL PUERTO interface f0/1 description PC MAESTROS DESABILITAR PUERTOS EN DES-USOS interface f0/4 shut

CREAR Y ASIGNAR VLAN 99 vlan 99 name Management&Default exit interface vlan 99 ip address 172.17.99.31 255.255.255.0 no shut exit interface f0/1 switchport access vlan 99 end CONFIGURAR VTP vtp mode server vtp domain CCNA vtp password cisco CONFIGURAR LOS SWITCHES EN MODO DE ACCESO interface f0/6 switchport mode access no shutdown interface f0/11 switchport mode access no shutdown interface f0/18 switchport mode access no shutdown CONFIGURAR PUERTOS TRONACLES interface f0/1 switchport mode access switchport mode trunk no shut

CONFIGURAR LAS VLANS CON VTP vlan 99 name management vlan 10 name faculty-staff vlan 20 name students vlan 30 name guest end ASIGNAR LOS PUERTOS DE LAS VLANS interface f0/6 switchport access vlan 30 interface f0/11 switchport access vlan 10 interface f0/18 switchport access vlan 20 PUENTE RAIZ spanning-tree vlan 99 priority 4096 spanning-tree vlan 1 priority 4096 spanning-tree vlan 10 priority 4096 spanning-tree vlan 20 priority 4096 spanning-tree vlan 30 priority 4096 CONFIGURACION ROUTER interface f0/1 no shut interface f0/1.10 encapsulation dot1q 10 ip address 172.17.10.1 255.255.255.0 interface f0/1.20 encapsulation dot1q 20 ip address 172.17.20.1 255.255.255.0 interface f0/1.30 encapsulation dot1q 30 ip address 172.17.30.1 255.255.255.0 interface f0/1.99 encapsulation dot1q 99 native ip address 172.17.99.1 255.255.255.0 MODO SPANNIN TREE DEBUG S1# debug spanning-tree events DESABILITAR PUERTOS CON RANGO interface f0/1-24 shutdown

PUENTE RAIZ STP spanning-tree vlan 5 priority 4096 (la vlan segun la que es la native) Configurecion de DIR vlan interface vlan 5 ip address 10.1.1.228 255.255.255.240 no shut

También podría gustarte