0% found this document useful (0 votes)
147 views2 pages

Comandos de Router

This document provides instructions for configuring basic settings and network services on a router including the hostname, passwords, interfaces, static routes, DHCP, NAT/PAT, RIP routing, and restoring the enable password. It includes commands for configuring IP addresses, enabling protocols, and verifying configurations.

Uploaded by

Roger Moreira
Copyright
© Attribution Non-Commercial (BY-NC)
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as TXT, PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
147 views2 pages

Comandos de Router

This document provides instructions for configuring basic settings and network services on a router including the hostname, passwords, interfaces, static routes, DHCP, NAT/PAT, RIP routing, and restoring the enable password. It includes commands for configuring IP addresses, enabling protocols, and verifying configurations.

Uploaded by

Roger Moreira
Copyright
© Attribution Non-Commercial (BY-NC)
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as TXT, PDF, TXT or read online on Scribd
You are on page 1/ 2

A=10.0.0.0/8 B=172.16.0.0/16 C=192.168.1.

0/24 INICIAR SESION DE ROUTER Y CONFIG NAME AND PASSWORD Router>enable Router#configure terminal config te Router(config)#hostname <name> <name>(config)#line console 0 <name>(config-line)#password <newpassword> <name>(config-line)#login <name>(config-line)#exit PASSWORD DE LINEAS DE TERMINAL VIRTUAL (VTY) <name>(config)#line vty 0 4 <name>(config-line)#password <password> <name>(config-line)#login <name>(config-line)#exit <name>(config)#enable password <password> <name>(config)#enable secret <newpassword1> <name>(config)#exit MOSTRAR CONFIG. EN EJECUCION DEL ROUTER <name>#show running-config sh run CONFIG. INTERFAZ SERIAL DEL ROUTER <name>(config)#interface serial 0/0/0 <name>(config-if)#ip address <direcc_ip> <mask_ip> <name>(config-if)#clock rate 56000 64000 (solo si interfaz router es DCE) <name>(config-if)#no shutdown <name>(config-if)#exit <name>(config)#exit <name>#show interface serial 0/0/0 (ver la interfaz serial router) CONFIG. INTERFAZ FASTETHERNET DEL ROUTER <name>(config)#interface fastethernet 0/0 <name>(config-if)#ip address <direcc_ip> <mask_ip> <name>(config-if)#no shutdown <name>(config-if)#exit <name>(config)#exit <name>#show interface fastethernet 0/0 (ver la interfaz fastethernet router) GUARDAR CONFIG. DE ROUTER <name>#copy running-config startup-config CONFIG. RUTAS ESTATICAS Y POR DEFECTO EN ROUTER ESTATICA <name>(config)#ip route 0.0.0.0 0.0.0.0 <direcc_ip_fastethernet_router> POR DEFECTO <name>(config)#ip route <direcc_ip_serial_router> <mask-ip> <direcc_ip_fastether net_router> <name>(config)#show ip route (ver ruta estatica y por defecto) CONFIG. DIRECCION LOOPBACK <name>(config)#interface loopback 0

<name>(config-if)#ip address <direcc_ip> <mask_ip> CONFIG. DHCP <name>(config)#ip dhcp excluded-address <direcc_ip> <name>(config)#ip dhcp pool internal <name>(dhcp-config)#network <direcc_ip> <mask_ip> <name>(dhcp-config)#domain-name <name> <name>(dhcp-config)#default-router <direcc_ip> <name>(dhcp-config)#dns-server <direcc_ip> <name>#show ip dhcp binding (ver asignacion dhcp) CONFIGURAR NAT/PAT <name>(config)#access-list 1 permit <direcc_ip> <mask_willcard (0.0.0.255)> (ide ntifica lista de direcc para traducir) CREAR NAT <name>(config)#ip nat inside source list 1 interface serial 0/0/0 overload <name>(config)#interface serial 0/0/0 <name>(config-if)#ip nat outside <name>(config-if)#exit <name>(config)#interface fastethernet 0/0 <name>(config)#ip nat inside <name>(config)#end <name>#show ip nat translation (probar NAT) <name>#debug ip icmp (ver paquetes ICMP) <name>#clear ip nat translation (eliminar NAT) CONFI. RIP <name>#router rip <name>(config-router)#version 2 <name>(config-router)#network <direc_ip> (fastethernet) <name>(config-router)#network <direc_ip> (serial) <name>(config-router)#exit ELIMINAR ERROR DE COMANDO <name>(config)no ip domain lookup RECUPERAR CONTRASEA rommon 1 > confreg 0x2142 rommon 2 > reset Router> enable Router# configure terminal Router(config)# enable secret nuevo password Router(config)# config-register 0x2102 Router(config)# exit Router# copy running-config startup-config Router# reload

You might also like