Professional Documents
Culture Documents
Comandos de Router
Comandos de Router
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