Diferencias
Muestra las diferencias entre dos versiones de la página.
Ambos lados, revisión anterior Revisión previa | |||
doc:tec:net:tool:pt_comandos:inicio [2025/04/25 21:04] – borrado - editor externo (Fecha desconocida) 127.0.0.1 | doc:tec:net:tool:pt_comandos:inicio [2025/04/25 21:04] (actual) – ↷ Página movida de doc:tec:net:tool:sim_pt:pt_comandos:inicio a doc:tec:net:tool:pt_comandos:inicio fepg | ||
---|---|---|---|
Línea 1: | Línea 1: | ||
+ | ====== [Packet Tracer] Relación de comandos ====== | ||
+ | |||
+ | ===== Configuración. Modos, guardar, comandos ===== | ||
+ | |||
+ | * **Entrar en el modo enable**< | ||
+ | enable | ||
+ | </ | ||
+ | * **Entramos en el modo de configuración**< | ||
+ | configure terminal | ||
+ | </ | ||
+ | * **Guardar configuración**. Desde el modo enable ejecutamos < | ||
+ | write | ||
+ | </ | ||
+ | * **Ejecutar comandos enable desde el modo configure terminal** < | ||
+ | do < | ||
+ | </ | ||
+ | * Ejemplo: < | ||
+ | Switch(config)# | ||
+ | </ | ||
+ | * Los comandos de mostrar información los podemos ejecutar desde el modo configure terminal ejecutando: < | ||
+ | Dispositivo(config)# | ||
+ | </ | ||
+ | * **Consultar comandos ejecutados**. Desde el modo enable del dispositivo ejecutamos: < | ||
+ | history | ||
+ | </ | ||
+ | |||
+ | |||
+ | ===== Switch ===== | ||
+ | |||
+ | * **Mostrar la tabla de direccionamiento MAC** < | ||
+ | Switch> | ||
+ | Switch#show mac address-table | ||
+ | </ | ||
+ | * **Mostrar configuración actual** < | ||
+ | Switch> | ||
+ | Switch#show running-config | ||
+ | </ | ||
+ | * **Mostrar las VLANs configuradas** < | ||
+ | Switch> | ||
+ | Switch#show vlan | ||
+ | </ | ||
+ | * **Muestra una pequeña descripción de las VLANs configuradas** < | ||
+ | Switch> | ||
+ | Switch#show vlan brief | ||
+ | </ | ||
+ | * **Muestra una breve descripción de una VLAN** < | ||
+ | Switch> | ||
+ | Switch#show vlan id < | ||
+ | </ | ||
+ | * **Crear VLAN** < | ||
+ | switch> enable | ||
+ | switch# configure terminal | ||
+ | Enter configuration commands, one per line. End with CNTL/ | ||
+ | Switch(config)# | ||
+ | Switch(config-vlan)# | ||
+ | Switch(config-vlan)# | ||
+ | </ | ||
+ | * **Asignar VLAN a un puerto** < | ||
+ | switch(config-if)# | ||
+ | </ | ||
+ | * **Configurar puerto en modo trunk** < | ||
+ | Switch> | ||
+ | Switch# | ||
+ | Switch(config)# | ||
+ | switch(config-if) switchport mode trunk | ||
+ | </ | ||
+ | |||
+ | |||
+ | ===== Router ===== | ||
+ | |||
+ | * **Mostrar la información IP de los dispositivos de red** < | ||
+ | Router#show ip interface | ||
+ | </ | ||
+ | * **Mostrar tabla de enrutamiento** < | ||
+ | router# show ip route | ||
+ | </ | ||
+ | * **Añadir entrada a tabla de enrutamiento** < | ||
+ | router(config)# | ||
+ | </ | ||
+ | * **Eliminar entrada a tabla de enrutamiento** < | ||
+ | router(config)# | ||
+ | </ | ||
+ | * **Añadir interfaz de red virtual** < | ||
+ | Router> | ||
+ | Router# | ||
+ | Router(config)# | ||
+ | </ | ||
+ | * **Configurar VLAN a una interfaz de red (protocolo 802.1q)** < | ||
+ | Router> | ||
+ | Router# | ||
+ | Router(config)# | ||
+ | Router(config-subif)# | ||
+ | </ | ||
+ | * **Configurar ip/mascara a interfaz (virtual)** < | ||
+ | Router(config-subif)# | ||
+ | </ | ||
+ | |||