- Cambiar de nombre al dispositivo
- Proteger EXEC privilegiado
- Proteger acceso por consola
- Backup de la configuración actual
- Configurar interfaz virtual (SVI)
- Configurar acceso telnet
- Configurar DHCP en un router/switch
- Ver la tabla MAC de un switch
- Selección de interfaces
- Añadir una descripción a la interfaz
- Especificar la velocidad de los puertos
- Especificar el modo de comunicación
- Creación de VLANs
- Interfaz en modo trunk
- Poner interfaz en modo access
- Asignar una interfaz a una VLAN
- Ver bases de datos de VLANs
- Designamos servidor VTP
- Configuramos un dominio VTP
- Designamos clientes VTP
- Inscribimos clientes al dominio VTP
- Crear VLANs desde el servidor VTP
- Configurar un switch transparente
- Ver el estado de un dominio VTP
- Crear las VLANs
- Configurar interfaces en modo acceso
- Configurar SVI (Switch Virtual Interfaces)
- Activar enrutado en el switch
sw(config)# hostname nuevo_nombre
sw(config)# no hostname
sw(config)# enable secret contraseña
sw(config)# line console 0
sw(config-line)# password mi_contraseña
sw(config-line)# login
sw# copy running-config startup-config
sw(config)# interface vlan 1
sw(config-if)# ip address DIRECCION_IP MASCARA_DE_RED
sw(config-if)# no shutdown
sw(config)# line vty 0 15
sw(config-line)# password contraseña
sw(config-line)# login
sw(config-line)# transport input telnet
PC>telnet
Trying 192.168.1.1 ...Open
sw(config)#ip dhcp pool smrpool
sw(dhcp-config)#network 192.168.1.0 255.255.255.0
sw(dhcp-config)#default-router 192.168.1.1
sw(dhcp-config)# dns-server 8.8.8.8
sw(dhcp-config)#exit
sw(config)#ip dhcp excluded-address 192.168.1.1 192.168.1.10
sw(config)# service dhcp
sw# show mac-address-table
sw(config)# interface [type] [module/number]
[type]: FastEthernet, GigabitEthernet [module/number] :0/1, 0/2, 1/1 ...
Ejemplo : sw(config)# interface FastEthernet 0/1
sw(config)# interface range FastEthernet 0/1-4, FastEthernet 0/10, FastEthernet 0/20-24
sw(config-if)# description ´interfaz sala 1´
sw(config-if)# speed [10 | 100 | 1000 | auto]
sw(config-if)# duplex [auto | full | half]
sw(config)# vlan número
sw(config-vlan)# name mi_vlan_de_prueba
sw(config)# interface FastEthernet 0/1
sw(config-if)# switchport mode trunk
sw(config)# interface FastEthernet 0/1
sw(config-if)# switchport mode access
Requiere hacer 1º (poner interfaz en modo access)
sw(config-if)# switchport access vlan numero
sw# show vlan
- Designamos servidor VTP
- En el servidor VTP creamos un dominio VTP (nombre y contraseña)
servidor-vtp(config)# vtp mode server
servidor-vtp(config)# vtp domain 1smr
servidor-vtp(config)# vtp password 123456
- Designamos que switches seran clientes VTP
vtp-cliente-1(config)# vtp mode client
- Inscribimos los clientes al dominio VTP
vtp-cliente-1(config)# vtp domain 1smr
vtp-cliente-1(config)# vtp password 123456
- Desde el servidor VTP se crean las VLAN
sw-transparente(config)# vtp mode transparent
vtp-cliente-1# show vtp status
- Creamos las 2 VLANs
- Ponemos las interfaces necesarias en modo de accesso y las asociamos a las VLAN
- Configuramos las SVI (Switch virtual interfaces) en el switch
sw-multicapa(config)# interface vlan X
sw-multicapa(config-if)# ip address 192.168.10.1 255.255.255.0
sw-multicapa(config-if)# no shutdown
sw-multicapa(config-if)# exit
sw-multicapa(config)# inteface vlan y
sw-multicapa(config-if)# ip address 192.168.20.1 255.255.255.0
sw-multicapa(config-if)# no shutdown
sw-multicapa(config-if)# exit
- Activamos enrutado en el switch
sw-multicapa(config)# ip routing
R1 (config)# interface GigabitEthernet 0/0
R1 (config-if)# ip address 10.0.1.1 255.255.255.0
R1 (config-if)# no shutdown
R1 (config)# interface Serial 0/0/0
R1 (config-if)# ip address 10.0.2.1 255.255.255.0
R1 (config-if)# clock rate 4000000
R1 (config-if)# no shutdown
R2(config) interface Serial 0/0/0
R1 (config-if)# ip address 10.0.2.2 255.255.255.0
R1 (config-if)# no shutdown
R1# show ip route
R1(config)# ip route red máscara ip-sig-salto
> Ejemplo: R2(config)# ip route 10.0.1.0 255.255.255.0 10.0.2.1
📌 Profesor de Redes Locales: Pablo Esteban
📧 Correo: [email protected]