Вы находитесь на странице: 1из 26

Seminario

Introducción a los Routers CISCO


Unidad Docente de Redes

Ampliación de Redes 2º I.T.I.S. Seminario – 1

Indice
1. ¿Qué es un Router?
2. Componentes internos del Router.
3. Fuentes de configuración de un Router.
4. Secuencia de inicio de un Router.
5. Configuración inicial de un Router (SETUP)
6. Modos de configuración de un Router.
7. Comandos Show de un Router.
8. Procesos de prueba de conectividad.
9. Comandos del IOS
1. Configuración básica de un Router
10. Topología del Laboratorio
Bibliografía: Curriculum CNAP de CISCO

Ampliación de Redes 2º I.T.I.S. Seminario – 2


1. ¿Qué es un Router?
! Los routers son dispositivos de interconexión de Capa 3 y se utilizan
para conectar LAN´s a través de enlaces WAN
! Tienen interfaces WAN y LAN
! Las dos funciones principales:
" Determinación de las mejores rutas para los paquetes de datos entrantes
" Conmutación de los paquetes a la interfaz saliente correcta
! Se basan en la construcción de tablas de enrutamiento
! DTE/DCE: El punto donde cambia la responsabilidad
(Modem)
WAN punto a punto (Modem)
CSU/DSU
CSU/DSU

DTE DCE
DCE DTE
Data Circuit
Data Terminal Terminating Data Terminal
Equipment Data Circuit
Equipment Terminating Equipment
Equipment

Ampliación de Redes 2º I.T.I.S. Seminario – 3

1. ¿Qué es un Router?
Router vs Puente vs Switch
! Los puentes y los switches usan direcciones físicas (direcciones MAC)
para tomar decisiones con respecto al envío de datos
" El fabricante de la NIC generalmente es el que asigna las direcciones físicas
• Se codifican de forma permanente en la NIC
! Los routers usan direcciones IP (direcciones lógicas) en lugar de
direcciones MAC
" El administrador de la red generalmente asigna las direcciones IP
• Es común que un administrador de la red agrupe los dispositivos de acuerdo con
su ubicación geográfica, departamento o piso dentro de un edificio
• Como se implementan en software, las direcciones IP se pueden cambiar con
relativa facilidad
! Los puentes y switches se usan principalmente para conectar los
segmentos de una red
! Los routers se usan para conectar redes separadas, y para acceder a
Internet
" Esto se hace a través del enrutamiento de extremo a extremo

Ampliación de Redes 2º I.T.I.S. Seminario – 4


1. ¿Qué es un Router?
Números de red únicos
! Los routers conectan dos o más redes, cada una de las
cuales debe tener un número de red exclusivo para que el
enrutamiento se produzca con éxito.
" El número de red exclusivo se incorpora a la dirección IP que se le
asigna a cada dispositivo conectado a esa red.
! Cuando los datos (tramas) llegan al router, éste ejecuta las
siguientes funciones:
1. Extrae y elimina el encabezado y la cola que transporta la trama.
2. Extrae el campo de datos de la trama (donde va encapsulado el
paquete IP). Examina la dirección IP destino de la cabecera del
paquete IP para determinar cuál es la red destino.
3. Consulta las tablas de enrutamiento para determinar cuál de las
interfaces usará para enviar los datos, a fin de que lleguen a la red
destino.

Ampliación de Redes 2º I.T.I.S. Seminario – 5

1. ¿Qué es un Router?
Ejemplo de Interconexión LAN/WAN

DCE= S0/0
DTE= S0/1
MADRID BARCELONA VALENCIA SEVILLA ALBACETE
172.20.8.0/21 172.20.16.0/21 172.20.24.0/21 172.20.32.0/21
172.20.8.1 172.20.8.2 172.20.16.1 172.20.16.2 172.20.24.1 172.20.24.2 172.20.32.1 172.20.32.2

S0/1 S0/0 S0/1 S0/0 S0/1 S0/0 S0/1 S0/0 S0/1 S0/0
172.20.40.1 F0/0 172.20.48.1 F0/0 172.20.56.1 F0/0 172.20.64.1 F0/0 172.20.72.1 F0/0

172.20.40.2 172.20.48.2 172.20.56.2 172.20.64.2 172.20.72.2

172.20.47.254 172.20.48.3 172.20.55.254 172.20.56.3 172.20.63.254 172.20.64.3 172.20.71.254 172.20.72.3 172.20.79.254

172.20.40.0/21 172.20.48.0/21 172.20.56.0/21 172.20.64.0/21 172.20.72.0/21

172.20.0.0/16

Ampliación de Redes 2º I.T.I.S. Seminario – 6


2. Componentes Internos del Router
ROM borrable y reprogramable. Contiene diagnósticos
Almacena la copia de respaldo Almacena una o más versiones de encendido, un
del archivo de configuración/ del IOS (Sistema Operativo programa bootstrap y
archivo de configuración de del Router) un sistema operativo
inicio del router básico

Almacena el
archivo de
configuración en
ejecución, tablas
de ruteo y ARP. Al
apagar
El router o
reiniciarlo se borra
toda la
información

Conexiones de red donde los paquetes entran/salen del router

Ampliación de Redes 2º I.T.I.S. Seminario – 7

3. Fuentes de Configuración de un Router


El puerto de consola se utiliza Este tipo de conexión se
como mínimo para configurar utiliza en red, desde cualquier
por primera vez al router. equipo de la LAN (TELNET).
Se conecta una terminal al router
con un cable rollover, desde
el puerto console del
router al puerto COM
del PC mediante
un adaptador.

Ampliación de Redes 2º I.T.I.S. Seminario – 8


4. Secuencia de Inicio de un Router
1) Verificación del hardware

2) Encontrar y cargar en la RAM el software Cisco IOS que el


router usa para su sistema operativo.

3) Encontrar, cargar en la RAM y aplicar la información del


archivo de configuración del router

Ampliación de Redes 2º I.T.I.S. Seminario – 9

5. Configuración Inicial de un Router (SETUP)

! Si no existe ningún archivo de configuración válido en la NVRAM, el


S.O. ejecuta una rutina de configuración inicial con preguntas
denominada diálogo de configuración inicial (modo Setup).
! Se debe usar el modo de configuración inicial para realizar una
configuración mínima, y luego se deben usar diferentes comandos de
configuración, para realizar una configuración más avanzada
" Valores por defecto entre [ ] al lado de la pregunta
" Control+C para interrumpir el proceso y comenzar de nuevo
! Una vez terminada la configuración inicial, todas las interfaces quedan
administrativamente cerradas (shutdown)
" Posteriormente habrá que abrirlas, con el comando no shutdown desde el
modo de interfaz
! Al completarse el proceso se nos pregunta entonces si deseamos usar
esa configuración
" Si respondemos "yes", se ejecuta la configuración y ésta se guarda en la
NVRAM
" Si responde que "no", la configuración no se guarda y el proceso comienza
de nuevo
Ampliación de Redes 2º I.T.I.S. Seminario – 10
5. Diálogo de Configuración Inicial
--- System Configuration Dialog --- Configuring interface parameters:

Would you like to enter the initial configuration dialog? [yes/no]:yes Do you want to configure FastEthernet0/0 interface? [yes]:
Use the 100 Base-TX (RJ-45) connector? [yes]:
At any point you may enter a question mark '?' for help. Operate in full-duplex mode? [no]: yes
Use ctrl-c to abort configuration dialog at any prompt. Configure IP on this interface? [yes]:
Default settings are in square brackets '[]'. IP address for this interface: 172.20.48.1
Basic management setup configures only enough connectivity Subnet mask for this interface [255.255.0.0] : 255.255.248.0
for management of the system, extended setup will ask you Class B network is 172.20.0.0, 21 subnet bits; mask is /21
to configure each interface on the system
Do you want to configure Serial0/0 interface? [yes]:
Would you like to enter basic management setup? [yes/no]:no
Some supported encapsulations are
First, would you like to see the current interface summary? [yes]: no ppp/hdlc/frame-relay/lapb/x25/atm-dxi/smds
Choose encapsulation type [hdlc]:
Configuring global parameters:
Serial interface needs clock rate to be set in dce mode.
Enter host name [Router]: Barcelona The following clock rates are supported on the serial interface.
1200, 2400, 4800, 9600, 14400, 19200
The enable secret is a password used to protect access to 28800, 32000, 38400, 56000, 57600, 64000
privileged EXEC and configuration modes. This password, after 72000, 115200, 125000, 128000, 148000, 500000
entered, becomes encrypted in the configuration. 800000, 1000000, 1300000, 2000000, 4000000, 8000000
Enter enable secret: cisco
choose speed from above : [2000000]:
The enable password is used when you do not specify an Configure IP on this interface? [yes]:
enable secret password, with some older software versions, and Configure IP unnumbered on this interface? [no]:
some boot images. IP address for this interface: 172.20.16.1
Enter enable password: epsa Subnet mask for this interface [255.255.0.0] : 255.255.248.0
Class B network is 172.20.0.0, 21 subnet bits; mask is /21
The virtual terminal password is used to protect
access to the router over a network interface. Do you want to configure Serial0/1 interface? [yes]:
Enter virtual terminal password: cisco
Some supported encapsulations are
Configure SNMP Network Management? [yes]: no ppp/hdlc/frame-relay/lapb/x25/atm-dxi/smds
Configure DECnet? [no]: Choose encapsulation type [hdlc]:
Configure AppleTalk? [no]: Configure IP on this interface? [yes]:
Configure IPX? [no]: Configure IP unnumbered on this interface? [no]:
Configure IP? [yes]: IP address for this interface: 172.20.8.2
Configure IGRP routing? [yes]: no Subnet mask for this interface [255.255.0.0] : 255.255.248.0
Configure RIP routing? [no]: yes
Configure bridging? [no]: [0] Go to the IOS command prompt without saving this config
Async lines accept incoming modems calls. If you will have [1] Return back to the setup without saving this config.
users dialing in via modems, configure these lines. [2] Save this configuration to nvram and exit.
Configure Async lines? [yes]: no
Enter your selection [2]:2
Ampliación de Redes 2º I.T.I.S. Seminario – 11

6. Modos de Configuración del Router


Modo de visualización en el que el usuario puede
visualizar alguna información acerca del router, pero Implementa poderosos
no puede realizar cambios. comandos de una línea
que ejecutan tareas
Soporta los simples de
comandos de configuración
depuración y
prueba, el
examen
detallado del
router, la
Permiten
manipulación de
configuraciones
los archivos de
más detalladas
configuración, y
de múltiples
el acceso a los
líneas
modos de
configuración

Presenta en la consola un diálogo interactivo Modo de mantenimiento que se puede usar,


basado en indicadores que ayuda al nuevo entre otras cosas, para recuperar las
usuario a crear una configuración básica inicial contraseñas perdidas

Ampliación de Redes 2º I.T.I.S. Seminario – 12


6. Modos de Configuración del Router

enable Ctrl+Z

configure terminal
exit

exit

Ampliación de Redes 2º I.T.I.S. Seminario – 13

7. Comandos show del Router


! Estos comandos nos ayudan a obtener información del estado
del router que es necesaria para monitorear y diagnosticar los
fallos en las operaciones del router

Versiones de IOS < 10.3


Ampliación de Redes 2º I.T.I.S. Seminario – 14
7. Comandos show del Router
! show version: Muestra la configuración del hardware del sistema, la
versión del software, los nombres y orígenes de los archivos de
configuración y la imagen de arranque
! show protocols: Muestra los protocolos configurados. Muestra el estado
de todos los protocolos configurados de Capa 3
! show memory: Muestra estadísticas acerca de la memoria del router,
incluyendo estadísticas de memoria disponible
! show buffers: Suministra estadísticas sobre los grupos de búfer en el
router
! show flash: Muestra información acerca del dispositivo de memoria
Flash
! show running-config: Muestra el archivo de configuración activo
! show startup-config: Muestra la copia de respaldo del archivo de
configuración
! show interfaces: Muestra estadísticas para todas las interfaces
configuradas en el router

Ampliación de Redes 2º I.T.I.S. Seminario – 15

8. Procesos de prueba de conectividad


Comandos de prueba
! Las pruebas básicas de una red deben desarrollarse en
secuencia desde una capa del modelo de referencia OSI a
la siguiente

Ampliación de Redes 2º I.T.I.S. Seminario – 16


8. Procesos de prueba de conectividad
Comandos de prueba: TELNET
! Si se puede acceder remotamente a otro router a través de
Telnet, entonces se sabe que por lo menos una aplicación
TCP/IP puede acceder al router remoto
! Una conexión exitosa de Telnet indica que la aplicación de
capa superior (y los servicios de las capas inferiores
también) funcionan correctamente

Ampliación de Redes 2º I.T.I.S. Seminario – 17

8. Procesos de prueba de conectividad


Comandos de prueba: PING
! El comando ping envía un paquete al host destino y luego
espera un paquete de respuesta de ese host
! Los resultados de este protocolo de eco pueden ayudar a
evaluar la confiabilidad de ruta a host, las demoras en la
ruta, y si se puede acceder al host, o si éste está
funcionando
Si obtenemos (.)
en la pantalla, la
aplicación en su
router superó el
tiempo de espera
(!) indican esperando el eco
cada eco de un paquete
exitoso determinado
desde el objetivo
de ping

Ampliación de Redes 2º I.T.I.S. Seminario – 18


8. Procesos de prueba de conectividad
Comandos de prueba: TRACE
! El comando trace es similar al comando ping
" En lugar de probar la conectividad de extremo a extremo, trace prueba cada
paso del proceso
! El comando trace es la herramienta ideal para descubrir a dónde se envían los
datos en su red
! Esta operación se puede realizar a los niveles EXEC usuario o privilegiado
! El comando trace envía varios
paquetes y muestra el tiempo de
viaje de ida y vuelta para cada
uno de ellos
! La ventaja del comando trace es
que indica cuál de los routers que
aparecen en el camino fue el
último al que se accedió
! Esto se denomina aislamiento de
fallas

Ampliación de Redes 2º I.T.I.S. Seminario – 19

8. Procesos de prueba de conectividad


Comandos de prueba: SHOW IP ROUTE
! Este comando nos muestra la tabla de encaminamiento de
un router y por tanto nos permite determinar si existe una
entrada de la tabla de enrutamiento para la red objetivo

Ampliación de Redes 2º I.T.I.S. Seminario – 20


8. Procesos de prueba de conectividad
Comandos de prueba: SHOW INTERFACES
! Este comando nos muestra el estado de las interfaces y por tanto nos
permite saber si el enlace esta en funcionamiento
! También muestra las estadísticas de la interfaz desde la última vez en
que se despejaron los contadores
! Se usa el comando clear counters para colocar los contadores en 0

show interfaces

Ampliación de Redes 2º I.T.I.S. Seminario – 21

9. Comandos del IOS


Creando una conexión vía consola
Creating a Cisco Router Connection
Keywords Hyper Terminal

First make or check the physical connection between a Connect console cable RJ45 plug to serial adapter and attach
workstation and a Cisco Router. serial adapter to com1 serial workstation port. Connect the
other RJ45 plug to the con port of the router.
Note: Cisco 2500 will also work with aux port.

Bootup work station and go to Hyper Terminal folder Click <Start-Programs-Accessories-HyperTerminal>


Execute HyperTerminal program Click <Hypertrm.exe>

Connection Description window Name: Cisco Router (or other appropriate icon name)
Select connection name and a connection icon Icon: Accept default icon or pick desired icon
Click OK

Phone Number window Connect using: Direct to Com1 (do not use dial up)
Enter indicated settings: Bits per second: 9600
You are not creating a phone dial-up connection Data bits: 8
Parity: none
Flow control: Hardware
Click OK

Save the new connection: Click <File-Save>

It is recommended to drag the router icon to the desktop for


convenient future router access.

Start a router session: Click <HyperTerminal>


Execute HyperTerminal: Click <File-Open> and select Router icon
Connect to the router Press <Enter>
You should see user-exec prompt like Router>

Ampliación de Redes 2º I.T.I.S. Seminario – 22


9. Comandos del IOS
Conectándose al router
Logging into the Router
Keywords <enable> help <?> <^Z> <exit>

Correct, initial, router connection should provide user-exec Router>


mode prompt. The user-exec mode provides minimal router
command access, which is mostly of the “read-only” variety.
Router configurations cannot be changed in user mode.

To display a list of available user-exec commands: Router> ?

To enter privileged-exec mode: Router> enable


The privileged-exec mode provides maximum router Password: class (password is not displayed)
command access. A password prompt may not be seen the Router#
first time that a router is activated. You must provide the
password for future logins.

To display a list of available privileged-exec commands: Router# ?

To enter global configuration mode: Router# config t


(t is short for terminal) Router(config)#
Return to privileged mode with <Ctrl-Z>: Router(config)#^Z
Router#
You can also return to privileged mode with exit: Router(config)# exit
Router#

Return the router to user-exec mode: Router#disable

Note:
Cisco routers automatically disconnect after an inactive
time period. It will be necessary to repeat the login.

If a user-exec prompt does not appear, try pressing


the <Enter> key.

Ampliación de Redes 2º I.T.I.S. Seminario – 23

9. Comandos del IOS


Configuración del reloj y comando de ayuda
Using Clock and Getting Cisco Router Command Help
Keywords <clock> <set> <show> <?>

The ? can be used to display a list of available options after a


partial router command entry.

To set the clock and only knowing the clock command: Router# clock ?
Router responds with: set Set the time and date

Enter the next step and ask for more help: Router# clock set ?
Router responds with: hh:mm:ss Current Time (hh:mm:ss)

Now enter new time: Router# clock set 10:29:30


Router responds with: % Incomplete command

Ask for additional help: Router# clock set 10:29:30 ?


Router responds with: <1-31> Day of the month
MONTH Month of the year

Add day and month information and ask for more help: Router# clock set 10:29:30 10 October ?
Router responds with: <1993-2035> Year

Enter the complete clock command: Router# clock set 10:29:30 10 October 1999

To display date and time information: Router# show clock


10:30:01.543 UTC Sun Oct 10 1999

Ampliación de Redes 2º I.T.I.S. Seminario – 24


Cisco Router Editing Commands
Keywords <show> <terminal> <editing> <history> <size>

Move to the beginning of the command line: <Ctrl-A>

Move to the end of the command line: <Ctrl-E>

Move forward one character: Right-Arrow or <Ctrl-F>

Move backward one character: Left-Arrow or <Ctrl-B>


9. Comandos del IOS

Repeat the entire (last) previous command: Up-Arrow or <Ctrl-P>

Most recent command recall: Down-Arrow or <Ctrl-N>

Move backward one word: <Esc-B>


Comandos de edición

Move forward one word: <Esc-F>

Show history of commands in the buffer: Router> show history

Set the history buffer size (up to 256): Router> terminal history size

Disable advanced editing features: Router> no terminal editing

Enable advanced editing features: Router> terminal editing

Completing a partial command with <tab> key: Router# show run <tab>
Router responds with: Router# show running-config

Typing a complete command: Router# show clock

Typing a partial, but recognizable, command Router# sho clo

Typing a partial, unrecognizable, command Router# sh cl


% Ambiguous command: “sh cl”

Ampliación de Redes 2º I.T.I.S. Seminario – 25

Configuration Modes and Prompts


Keywords <config> <interface> <subinterface> <line> <router> <ipx>
User EXEC mode for limited examination of the router Router>

Privileged EXEC mode for detailed examination of the router, Router#


debugging, debugging, file manipulation and remote access
Modos de configuración y prompts

All router configurations start by changing to the global


configuration mode. Router# config t
Router(config)#
9. Comandos del IOS

This example changes to the configuration-interface mode Router(config)# int e0


for the e0 interface of the router: Router(config-if)#

Router(config)# int e0.100


Note: Router(config-subif)#

The remainder of the example include a variety of Cisco Router(config)# router rip
router configuration modes. Router(config-router)#

You will not know the meaning of many of these Router(config)# line vty 0 4
commands. Right now that does not matter. The main Router(config-line)#
point is that many commands do not work because they
are not entered from the correct configuration mode. Router(config)# ipx router rip
Router(config-ipx-router)#

Router(config)# map-list Qwerty


Router(config-map-list)#

Router(config)# map-map Secure 10


Router(config-rout-map)#

RXBOOT mode used to recover from lost passwords or


accidental flash erasure

SETUP mode prompted dialog to enter router configuration

Ampliación de Redes 2º I.T.I.S. Seminario – 26


9. Comandos del IOS
Comprobación del estado del router
Router Status Commands
Keywords <show> <version> <processes> <mem> <stacks> <flash> <run> <start> <int>

Displays system configuration, software version, file names Router#show version


and the boot image:

Displays information about the active processes: Router#show processes

Displays the configured protocols: Router#show protocols

Monitors stack use, interrupt routines, and last system reboot: Router#show stacks

Displays buffer statistics: Router#show buffer

Displays flash memory information: Router#show flash

Displays the active configuration file in RAM: Router#show running-config (usually just show run)
This is one of the most useful router commands
Router#show startup-config (usually just show start)
Displays the startup (backup) configuration file in NVRAM:
Router#show interfaces
Displays statistics for all router interfaces:

Note: All command examples are shown in the privileged


mode. Many of the show commands are also available in the
user mode.

Ampliación de Redes 2º I.T.I.S. Seminario – 27

9. Comandos del IOS


Protocolo CDP
Cisco Discovery Protocol
Keywords <cdp> <interface> <neighbors> <detail> <entry> <enable> <traffic>

Show packets and holdtime: Router#show cdp

Shows information about the router’s interface status, such as Router#show cdp interface
CDP timers, packets and encapsulation:
Router#show cdp neighbors
Displays information about directly connected routers, such as
device identifiers, address lists, port idenmtifiers and version:
Router#show cdp neighbors detail
Displays additional detailed information about directy
connected routers, including their ip addresses:
Router#show cdp entry *
Displays the same information as the show cdp neighbors
detail command:
Router#show cdp entry LAB-B
Displays information for a specified neighbor:
Router#config t
Enabling CDP on a specified interface, which begins CDP’s Router(config)#int s0
dynamic discovery and starts the exchange of CDP frames: Router(config-if)#cdp enable

Displays the amount of packets sent and received among Router#show cdp traffic
router neighbors:

Ampliación de Redes 2º I.T.I.S. Seminario – 28


9. Comandos del IOS
Manejo de la tabla ARP

Working with ARP tables


Keywords Hyper Terminal

Display the ARP table: Router#show arp


This will show the IP address address, MAC address and the
interface

Clear the ARP table: Router#clear arp

Ampliación de Redes 2º I.T.I.S. Seminario – 29

9. Comandos del IOS


Pruebas en el router
Router Testing
Keywords <telnet> <exit> <disconnect> <return> <sessions> <users> <ping> <trace>
<ip route> <clear> <counters>

Starting a virtual terminal session with an IP address: Router#telnet 172.16.50.1

Starting a virtual terminal session with a host name: Router#telnet Lab-A

Finish a telnet session connected to LAB-A router: Lab-A#exit

Disconnect a telnet session: Lab-A#disconnect Router

Return to original router without terminating telnet session: Lab-A#<Ctrl><Shift><6>

Resume earlier telnet session: Lab-A#return

Displays open telnet sessions: Router#show sessions

Displays routers connected by telnet: Router#show users

Test end-to-end connectivity using ip address: Router#ping 172.16.50.1

Test end-to-end connectivity host name: Router#ping LAB-A

Test each step from source to destination: Router#trace 172.16.50.1

Abort continuous trace attempts: <Ctrl><Shift><6>

Check if a router has a routing table: Router#show ip route

Check if a specific interafce is operational and display Router#show intyerfaces s1


statistics since the last time counter were cleared:

To reset counters which helps to get a current router picture: Router#clear counters

Ampliación de Redes 2º I.T.I.S. Seminario – 30


9. Comandos del IOS
Manipulación de archivos de configuración
Commands related to Router Startup and Configurations
Keywords <run> <run> <reload> <setup> <write> <erase> <term>

Display running configuration in RAM: Router#show running-config (or show run)


Cisco IOS 10.3 and earlier: Router#write term

Display startup (backup) configuration in NVRAM: Router#show startup-config (or show start)
Cisco IOS 10.3 and earlier: Router#show config

Erase the startup configuration in NVRAM: Router#erase start-up config (or erase start)
Cisco IOS 10.3 or earlier: Router#write erase

Restart the entire startup process with start-up configuration: Router#reload

Enter router-prompted running configuration sequence: Router#setup

Copy the running configuration to the startup configuration: Router#copy run start
Cisco IOS 10.3 or earlier: Router#write mem

Copy the startup configuration to the running configuration: Router#copy start run
Cisco IOS 10.3 or earlier: Router#config mem

Note: the setup command can be used only for creating a


minimal router configuration. Many configurations cannot be
entered or altered with setup

Ampliación de Redes 2º I.T.I.S. Seminario – 31

9. Comandos del IOS


Configuración de las passwords
Setting Cisco Router Passwords
Keywords <config> <enable> <secret> <password> <line> <vty> <aux> <con> <login>
<service> <password-encryption>

Setting the privileged password: Router# config t


Used for non-encrypted privileged mode and older IOS Router(config)# enable password cisco
All password settings must be done in global configuration

Setting the privileged-exec mode password: Router(config)# enable secret class

Setting the virtual terminal password: Router(config)# line vty 0 4


This password is used for telnet sessions into your router. Router(config-line)# login
line vty 0 4 specifies that up to 5 telnet sessions are allowed: Router(config-line)# password cisco

Setting the auxiliary password: Router(config)# line aux 0


This password is used to control access to the router through Router(config-line)# login
the aux port via a modem for remote console connections. Router(config-line)# password cisco

Setting the console password: Router(config)# line con 0


This password controls access to the router through the Router(config-line)# login
standard con router port Router(config-line)# password cisco

Manually encrypting all password configurations that follow: Router(config)#service password-encryption

Ampliación de Redes 2º I.T.I.S. Seminario – 32


9. Comandos del IOS
Configuración del nombre del router y banners
Hostnames and Login Banners
Keywords <hostname> <banner> <motd>

Changing the router’s hostname from current Router to the Router#config t


new name Lab-A: Router(config)#hostname Lab-A

Note: Casual changing of host names can cause problems.


You will see in later router commands that host names are
used in various router configurations that are stored for future
use. The ability to do something like Telnet may not be
possible anymore when host names are arbitrarily changed.

You can add a banner that will be displayed with login. Router#config t
The motd commands stands for message of the day. Router(config)#banner motd #
Start with the command with a delimiting charcter, like # Enter TEXT message: End with the chracter #
Have a nice day#

Both end and <Ctrl-Z> return to the priviliged mode: Router(config)#end


Router#

Router(config)#^Z
Router#

Ampliación de Redes 2º I.T.I.S. Seminario – 33

9. Comandos del IOS


Configuración de las interfaces
Configuring router ports
Keywords <description> <int> <ip address> <no> <shutdown> >clock rate>

Enter specific port interface Ethernet 0: Lab-A(config)#int e0

Provide optional comment for router port: Lab-A(config-if)#description E0 link to Sales LAN

Enter ip address for e0 followed by subnet mask: Lab-A(config-if)#ip address 192.5.5.1 255.255.255.0

Activate e0 port from default down to up: Lab-A(config-if)#no shutdown

Change to port interface Ethernet 1: Lab-A(config-if)#int e1

Provide optional comment for router port: Lab-A(config-if)#description E1 link to switch

Enter ip address for e1 followed by subnet mask: Lab-A(config-if)#ip address 205.7.5.1 255.255.255.0

Activate e1 port from default down to up: Lab-A(config-if)#no shutdown

Change to port interface Serial 0: Lab-A(config-if)#int s0

Provide optional comment for router port: Lab-A(config-if)#description S0 WAN link (DCE) to Lab-B

Enter ip address for s0 followed by subnet mask: Lab-A(config-if)#ip address 201.100.11.1 255.255.255.0

Enter clockrate for DCE serial interface: Lab-A(config-if)#clock rate 56000

Activate s0 port from default down to up: Lab-A(config-if)#no shutdown

Removing an ip address: Lab-A(config-if)#no ip address

Change an interface from up to down: Lab-A(config-if)#shutdown

Ampliación de Redes 2º I.T.I.S. Seminario – 34


9. Comandos del IOS
Configuración del servidor de nombres
Host Name to address mapping and Name server configuration
Keywords <ip host> <hosts> <domain> <lookup> <name-server>

Set up host name, address mapping on Lab-A router: Lab-A(config)#ip host Lab-A 205.7.5.1 201.100.11.1 192.5.5.1
Lab-A(config)#ip host Lab-B 219.17.100.1 201.100.11.2 199.6.13.1
Lab-A(config)#ip host Lab-C 199.6.13.2 223.8.151.1 204.204.7.1
Lab-A(config)#Ip host Lab-D 204.204.7.2 210.93.105.1
Lab-A(config)#ip host Lab-E 210.93.105.2

Lab-B(config)#ip host Lab-A 205.7.5.1 201.100.11.1 192.5.5.1


Set up host name, address mapping on Lab-B router: Lab-B(config)#ip host Lab-B 219.17.100.1 201.100.11.2 199.6.13.1
Lab-B(config)#ip host Lab-C 199.6.13.2 223.8.151.1 204.204.7.1
Lab-B(config)#Ip host Lab-D 204.204.7.2 210.93.105.1
Lab-B(config)#ip host Lab-E 210.93.105.2
Note: you can enter a maximum of eight addresses

Display the list of host name, address mappings: Lab-A#show hosts

Or

Lab-A#show run (will also include mappings)

Remove mapping for router Lab-B on router Lab-A: Lab-A(config)#no ip host Lab-B

Turn on ip domain lookup (turned on by default): Router(config)#ip domain-lookup


Set the IP address of the DNS server: Router(config)#ip name-server 192.168.0.70
Append the domain name to the hostname: Router(config)#ip domain-name schnook.com

Ampliación de Redes 2º I.T.I.S. Seminario – 35

9. Comandos del IOS


Configuración de las opciones de arranque

Bootstrap options
Keywords <boot system> <flash> <tftp>

Loading Cisco IOS from flash memory (this is default) with a Router#config t
specified file name: Router(config)#boot system flash gsnew-image

Loading Cisco IOS from TFTP server with a specified file Router(config)#boot system tftp test.exe 172.16.13.111
name and TFTP server ip address:

Loading Cisco IOS from ROM, which is only a subset of the Router(config)#boot system rom
completye IOS:

Ampliación de Redes 2º I.T.I.S. Seminario – 36


9. Comandos del IOS
Utilización de servidores TFTP
Working with a TFTP server
Keywords <flash> <copy> <tftp>

Determining memory available in flash, as well as IOS file Router#show flash


name that is stored in flash: 4096K bytes of flash memory sized on embedded flash
File name/status
0 mater/California//i11/bin/gs7-j-mz.112-0.11 [deleted]

Upload copying the system image from flash to a tftp server: Router#copy flash tftp
IP address of remote host [255.255.255.255]? 172.16.13.111
filename to write on tftp host? c4500-i

Downloading a new image from a tftp server to flash: Router#copy tftp flash
IP address of remote hosts [255.255.255.255]? 172.16.13.111
Name of tftp filename to copy into flash []? c4500-aj-m

Upload running configuration to a tftp server: Router#copy run tftp

Upload startup configuration to a tftp server: Router#copy start tftp

Download running configuration from a tftp server: Router#copy tftp run

Download startup configuration from a tftp server: Router#copy tftp start

Ampliación de Redes 2º I.T.I.S. Seminario – 37

9. Comandos del IOS


Recuperación de la password
Recovering a router from lost password
Keywords Hyper Terminal

Restart the router Turn off router for a short period of time and turn it back on

Interrupt the bootup sequence: Press the <Ctrl> <Break> keys

Read the configuration register’s original value: >o (Little letter o not zero)
Record this value for later, like 0x2102

Change the configuration register and tell the router to ignore >o/r 0x2142
the startup config in NVRAM:

Initialize and reboot the router: >i


Type n not to enter initial configuration
Press <Enter> to see Router> prompt

Enter privileged mode: Router>enable

Restore original startup configuration: Router#copy start run


You will not be able to see the secret password.
Reset the secret password.

Change to the original configuration register: Router#config t


Router(config)#config-register 0x2102

Save new configuration: Router#copy run start

Restart the computer with the new startup configuration: Router#reload

Check the new configuration: Router#show run

Check if configuration register is set to original settings: Routershow version

Ampliación de Redes 2º I.T.I.S. Seminario – 38


9. Comandos del IOS
Configuración de rutas estáticas
Configuring static routes
Keywords <ip route> <show ip route>

Set static route to 172.16.30.0 with subnet mask Router(config)#ip route 172.16.30.0 255.255.255.0 172.16.20.2
255.255.255.0 via gateway 172.16.20.2

Set static route to 172.16.50.0 with subnet mask Router(config)#ip route 172.16.50.0 255.255.255.0 172.16.20.2
255.255.255.0 via gateway 172.16.20.2

Set static route to 172.16.40.0 with subnet mask Router(config)#ip route 172.16.40.0 255.255.255.0 e0 10
255.255.255.0 via interface e0 with administrative
distance 10:

View static route information: Router#show run

Removing a static route: Router(config)#no ip route 172.16.50.0 255.255.255.0 172.16.20.2

Note: It is not possible to state: no ip route to


remove a static route. It is an incomplete
command. The entire set of ip addresses needs to
be provided. Keep in mind that there can be
multiple static routes.

Ampliación de Redes 2º I.T.I.S. Seminario – 39

9. Comandos del IOS


Configuración de rutas por defecto

Configuring default routing


Keywords <ip route> <ip classless>

Default route to 172.16.49.1 with subnet mask 0.0.0.0 via Router(config)#ip route 0.0.0.0 0.0.0.0 172.16.49.1
gateway 0.0.0.0:
Default is like a static route with wild cards.
Default is used if the router does not know how to move a
packet.

Sometimes default routing fails to forward to appriate subnets. Router(config)#ip route 0.0.0.0 0.0.0.0 172.16.49.2
Specifying ip classless will forward packets to the best route Router(config)#ip classless
according to default specifications. Normally classless is
used with IP unless RIP is used for erouting:

Remove default route: Router(config)#no ip route 0.0.0.0 0.0.0.0 172.16.49.2

Alternative default routing commands: Router(config)#router rip


Router(config-router)#router rip
Router(config-router)#network 172.16.0.0
Router(config-router)#network 192.168.17.0
Router(config-router)#ip default network 192.168.17.0

Ampliación de Redes 2º I.T.I.S. Seminario – 40


9. Comandos del IOS
Configuración del protocolo RIP
Configuring Routing Information Protocol (RIP)
Keywords Hyper Terminal

Add RIP to update routing tables dynamically: Router(config)#router rip

Network 172.16.0.0 is being advertised by the router: Router(config-router)#network 172.16.0.0


Network 221.50.32.0 is being advertised by the router: Router(config-router)#network 21.50.32.0

View contents of routing tables: Router#show ip route


:
View contents of RIP routes only: Router#show ip route rip

Holding back routing updates through a specified interface: Router(config-router)#passive-interface serial 0

To make RIP broadcast on non-broadcast networks: Router(config-router)#neighbor 172.18.3.10

View RIP information about routing timers and network Router#show ip protocol
information associated with the entire router:

Remove RIP routing: Router(config)#no router rip

Display routing updates as they happen: Router#debug ip rip

Remove debugging: Router#no debug ip rip

Remove all debugging: Router#undebug all

Ampliación de Redes 2º I.T.I.S. Seminario – 41

9. Comandos del IOS


Configuración del protocolo IGRP

Configuring Interior Gateway Routing Protocol (IGRP)


Keywords <router> <igrp> <network> <ip route> <protocol> <events> <transactions>

Activate IGRP routing protocol with AS number 10 (0-65535): Router(config)#router igrp 10


Specify attached network addresses: Router(config-router)#network 172.16.0.0
Router(config-router)#network 172.25.0.0

Check IGRP routing table information: Router#show ip route

Useful command to see ip addresses for each interface and Router#show protocol
determine if routing protocol is enabled:

Verifying which routing protocol is active: Router#show ip protocol

Display a summary of IGRP routing information: Router#debug igrp events

Display message requests and broadcasts: Router#debug igrp transactions

Turn off all debugging: Router#un all

Ampliación de Redes 2º I.T.I.S. Seminario – 42


9. Comandos del IOS
Configuración de listas de acceso (ACL´s)
Configuring standard IP access lists
Keywords <access-list> <deny> <permit> <hosts> <any> <in> <out> <access-group>

Deny any packets from host 172.16.30.2 Router(config)#access-list 10 deny host 172.16.30.2
Permit access to all other ip addresses: Router(config)#access-list 10 permit any
Change to interface mode: Router(config)#int e0
Attach access list 10 to Ethernet 0 outgoing: Router(config-if)#ip access-group 10 out

Permit any packets from network 172.16.0.0: Router(config)#access-list 20 permit 172.16.0.0 0.0.255.255

Permit any packets from subnet 172.16.4.0: Router(config)#access-list 30 permit 172.16.4.0 0.0.0.255

Permit only host 172.16.30.2 using wild card: Router(config)#access-list 40 permit 172.16.30.2 0.0.0.0

Deny only host 200.23.45.78: Router(config)#access-list 50 deny host 200.23.45.78


Permit all other addresses using wild cards: Router(config)#access-list 50 permit 0.0.0.0 255.255.255.255
same as:
Permit all other addresses using any: Router(config)#access-list 50 permit any

Permit only even-numbered hosts of network Router(config)#access-list 60 permit 220.100.50.0 0.0.0.254


220.100.50.0:

Permit only ip addresses in the range Router(config)#access-list 70 permit 172.16.16.0 0.0.3.255


172.16.16.0 through 172.16.19.0:

Permit only ip addresses in the range Router(config)#access-list 80 permit 172.16.16.0 0.0.7.255


172.16.16.0 through 172.16.23.0:

Permit only ip addresses in the range Router(config)#access-list 90 permit 172.16.32.0 0.0.31.255


172.16.32.0 through 172.16.63.0:

Ampliación de Redes 2º I.T.I.S. Seminario – 43

9. Comandos del IOS


Configuración de listas de acceso (ACL´s)
Controlling VTY (Telnet) access and viewing access lists
Keywords <line vty 0 4> <access-class>

Create a standard access list permitting only 172.16.10.3: Router(config)#access-list 50 permit 172.16.10.3
Change to telnet line mode: Router(config)#line vty 0 4
Apply the access list to the VTY line: Router(config-line)#access-class 50 in

Display all the access lists: Router#show access-list

Display only access list 75: Router#show access-list 75

Shows only the IP access lists: Router#show ip access-list

Shows which interfaces have access lists: Router#show ip interface

Shows the access lists and which interfaces have access lists: Router#show run

Access list main number ranges


Keywords

IP standard access list 1-99

IP extended access list 100-199

Appletalk access list 600-699

IPX standard access list 800-899

IPX extended access list 900-999

IPX SAP access list 1000-1099

Ampliación de Redes 2º I.T.I.S. Seminario – 44


9. Comandos del IOS
Configuración de listas de acceso (ACL´s)
Configuring extended ip access lists
Keywords <access-list> <deny> <permit> <eq> <any> <ftp> <telnet>

Deny acces from any source to host Router(config)#access-list 110 deny ip any host 172.16.10.5
172.16.10.5

Deny access from any ftp and any telnet Router(config)#access-list 120 deny tcp any host 172.16.10.5 eq 21
source to host 172.16.10.5 Router(config)#access-list 120 deny tcp any host 172.16.10.5 eq 23
Router(config)#access-list 120 permit ip any any

Same access list as above, but using port Router(config)#access-list 120 deny tcp any host 172.16.10.5 eq ftp
names (ftp and telnet) in place of numbers Router(config)#access-list 120 deny tcp any host 172.16.10.5 eq telnet
(21 and 23) Router(config)#access-list 120 permit ip any any

Permit access from source network Router(config)#access-list 130 permit ip 150.50.0.0 0.0.255.255
150.50.0.0 to destination network 200.1.1.0 200.1.1.0 0.0.0.255

Ampliación de Redes 2º I.T.I.S. Seminario – 45

9. Comandos del IOS


Configuración de NAT/NATP
C o n fig u rin g N A T y N A P T
K e yw o rd s < ip n at> < in s id e > < o u tsid e> <list> < p o ll> < o verlo ad > < static> < so u rc e>
D e fin ir lo s in te rfa ce s qu e va n a p a rticip a r e n e l
N A T y d e q u e tip o son : in sid e (c on e cta d a a la R o u te r(c o n fig -if)# ip n a t { in sid e | o u ts id e }
re d in te rn a ) o o u tsid e (co n e cta d a a la re d
e xte rn a ).
R o u te r(c o n fig )# ip n a t p o o l < n a m e > < s ta rt-ip > < e n d -ip > { n e tm a sk
P a ra la a s ig n a c ió n d in á m ica d e d ire c cio n e s < n e tm a sk > | p re fix -le n g th < p re fix-le n g th >
p o r pa rte d e N A T se d e b e d efin ir u n N a m e e s el n om b re q ue le a sign a m o s a l co nju nto de d irec c io ne s (po o l).
co n ju n to (ra n go ) d e d ire c cio n e s IP . E sta s S tart-ip es la prim era direc c ión IP d e l c o nju nto (ra ng o).
E n d-ip es la ú ltim a d ire cc ió n IP d e l c on jun to (ran g o).
d ire c cio n e s se rá n u tiliza d a s p o r N A T c o n fo rm e N e tm a sk n etm a s k e sp e cific a la m a sc a ra d e red /su b re d d e la re d a la cu al p erte n ec e
la s va ya n e ce s ita n d o . el co nju n to d e d irec cio ne s .
P refix -len g th p refix -len g th in d ic a e l n ú m e ro d e 1´s q ue tie n e la m as ca ra .
P a ra h a b ilita r N A T p a ra la tra d u c ción de R o u te r(c o n fig )# ip n a t ins id e s o u rc e {lis t {a cc e ss -list-n u m b e r | na m e } {
d ire c cio n e s fu e n te in tern a s p o ol n a m e | in te rfa c e in te rfa ce -n a m e }[o v e rlo a d] | s ta tic lo ca l-ip g lo b a l-ip }
L ist ac c es s -list nu m b er es e l n úm e ro d e lis ta d e a cc e s o IP e stán d ar. Ú n ic am en te lo s
pa qu e tes cu ya d ire c ció n fue nte pa s an la lista de a cc e so s on tra du c ido s
din ám ic am en te u tiliza nd o la s d ire c cio ne s g lob a le s d e l po o l n am e.
L ist na m e e s e l n o m bre de lis ta d e a c ce so IP e s tá n da r.
P o ol n am e es e l n om b re de l c on jun to de dire c cion es q ue s erá n a s ign a da s d e form a
din ám ic a.
O v e rloa d (op cio na l) h a b ilita a l ro uter p a ra q ue u tilic e un a ún ica d ire cc ió n g lob a l p ara
va rias direc cio ne s lo ca les u tilizan d o N A PT .
In terfa ce inte rfac e es el n o m b re d e la inte rfa z cu ya d ire c ció n IP s e rá as ig n a da d e
fo rm a diná m ic a u tiliza n do N A PT
S tatic lo c a l-ip e sta b lec e u n a tra d uc c ión e stá tic a s im p le e n tre loc a l-ip y g lob a l-ip . Es ta
direc c ió n g lo b a l IP as ig n a da a l disp o s itivo inte rno s e rá la d irec ció n qu e s erá vis ta
de s de el e xte rio r.

R o u te r(c o n fig )# ip n a t tra n s la tio n {tim e o u t | ud p -tim e o ut | d ns -tim e o u t |


C o n figu ra c ió n d e lo s tim e o u ts d e tra d u c ció n tc p -tim e o u t | fin rs t-tim e o u t} s e co n d s

M o stra r tra d u cc io n e s a ctiva s R o u te r# s h o w ip n a t tra n s la tio n s [ ve rb o se ]

M o stra r e sta d ística s d e la s trad u ccio n e s N A T R o u te r# s h o w ip n a t s ta tis tic s

B o rra r tra d u c cio n e s d in á m ica s R o u te r# c le a r ip n a t tra ns la tio n {* | [in s ide g lo b a l-ip lo ca l-ip ] [o u ts id e lo c a l-
ip g lo b a l-ip ]}
D e b u g g in g R o u te r# d e b u g ip n a t [ < lis t> ] [ d e ta ile d ]

Ampliación de Redes 2º I.T.I.S. Seminario – 46


9.1 Configuración básica del Router
Descripción / Explicación Indicador de comando del
Comando IOS
del paso router
Habilitar el modo privilegiado Router> enable
Configurar (el router) desde la
Router# configure terminal
Terminal (teclado)
Ponerle nombre al Router
Barcelona (el indicador Router(config)# hostname Barcelona
cambia)
Establecer la contraseña
cifrada (secreta) para el
Barcelona(config)# enable secret cisco
modo privilegiado como
"cisco"
Establecer la contraseña de
texto del modo privilegiado Barcelona A(config)# enable password epsa
(opcional) como "epsa"

Seleccionar la interfaz
Barcelona (config)# interface f 0/0
FastEthernet 0
Establecer la dirección IP y la
Barcelona (config-if)# ip address 172.20.48.1 255.255.248.0
máscara de subred de f0/0
Activar la interfaz f0/0 Barcelona (config-if)# no shutdown

Seleccionar la interfaz
Barcelona (config-if)# interface s 0/0
Serial 0
Establecer la dirección IP y la
Barcelona (config-if)# ip address 172.20.16.1 255.255.248.0
máscara de subred de s0/0
Establecer la sincronización
Barcelona (config-if)# clock rate 56000
de DCE en 56000
Activar la interfaz s0/0 Barcelona (config-if)# no shutdown

Seleccionar la interfaz
Barcelona(config-if)# interface s 0/1
Serial 1
Establecer la dirección IP y la
Barcelona(config-if)# ip address 172.20.8.2 255.255.248.0
máscara de subred de s0/0
Activar la interfaz s0/1 Barcelona(config-if)# no shutdown

Ampliación de Redes 2º I.T.I.S. Seminario – 47

Activar el protocolo de
Barcelona(config)# router rip
enrutamiento RIP
9.1 Configuración básica del Router

Especificar la red
directamente conectada para
Barcelona(config-router)# network 172.20.8.0
las actualizaciones de
enrutamiento
Especificar la red
directamente conectada para
Barcelona(config-router)# network 172.20.16.0
las actualizaciones de
enrutamiento
Especificar la red
directamente conectada para
Barcelona(config-router)# network 172.20.48.0
las actualizaciones de
enrutamiento

Definir la tabla de nombres


Barcelona(config)#
de host del router
Especificar la entrada de
tabla de host para Barcelona ip host Barcelona 172.20.8.2 172.20.16.1
Barcelona(config)#
(con direcciones IP de las 172.20.48.1
interfaces)
Especificar la entrada de
tabla de host para Madrid
Barcelona(config)# ip host Madrid 172.20.8.1 172.20.40.1
(con direcciones IP de las
interfaces)
Especificar la entrada de
tabla de host para Valencia ip host Valencia 172.20.16.2 172.20.24.1
Barcelona(config)#
(con direcciones IP de las 172.20.56.1
interfaces)
Especificar la entrada de
tabla de host para Sevilla ip host Sevilla 172.20.24.2 172.20.32.1
Barcelona(config)#
(con direcciones IP de las 172.20.64.1
interfaces)
Especificar la entrada de
tabla de host para Albacete
Barcelona(config)# ip host Albacete 172.20.32.2 172.20.72.1
(con direcciones IP de las
interfaces)

Ampliación de Redes 2º I.T.I.S. Seminario – 48


9.1 Configuración básica del Router

Configurar la línea de
consola (conectada
Barcelona(config)# line con 0
directamente al puerto de
consola)
Activar verificación de
contraseña de conexión de Barcelona(config-line)# login
consola
Establecer la contraseña de
modo usuario para la Barcelona(config-line)# password cisco
conexión de consola
Configurar telnet line
Barcelona(config-line)# line vty 0 4
(terminal virtual o VTY)
Activar verificación de
contraseña de conexión de Barcelona(config-line)# login
telnet
Establecer la contraseña de
modo usuario para la Barcelona(config-line)# password cisco
conexión de telnet

Comprobar la configuración Barcelona# show running-config


Guardar la configuración
actual en la configuración Barcelona# copy running-config startup-config
inicial

Ampliación de Redes 2º I.T.I.S. Seminario – 49

10 Topología del Laboratorio


! 8 routers CISCO de la serie 2620.
" 1 interface Fast Ethernet UTP (RJ45)
" 2 interfaces serie V.35
! 3 routers CISCO de la serie 2621 (Madrid, Jaén, Guadalajara)
" 2 interfaces Fast Ethernet UTP (RJ45)
" 2 interfaces serie V.35
! 8 switches CISCO Catalyst 2950
" 24 ó 12 puertos Fast Ethernet UTP (RJ45)
" 2 puertos Gigabit Ethernet (Fibra Optica, troncales)
! 3 Hubs 3COM (Jaén, Guadalajara, Ciudad Real)

Ampliación de Redes 2º I.T.I.S. Seminario – 50


10 Topología del Laboratorio
Armario A

ARMARIO A ARMARIO B
DCE= S0/0 DCE= S0/0
DTE= S0/1 DTE= S0/1
MADRID BARCELONA VALENCIA SEVILLA ALBACETE JAEN GUADALAJARA CIUDAD REAL TOLEDO CUENCA
172.20.8.0/21 172.20.16.0/21 172.20.24.0/21 172.20.32.0/21 172.20.80.0/21 172.20.88.0/21 172.20.96.0/21 172.20.104.0/21 172.20.112.0/21 172.20.120.0/21GRANADA
172.20.8.1 172.20.8.2 172.20.16.1 172.20.16.2 172.20.24.1 172.20.24.2 172.20.32.1 172.20.32.2 172.20.80.1 172.20.80.2 172.20.88.1 172.20.88.2 172.20.96.1 172.20.96.2 172.20.104.1 172.20.104.2 172.20.120.1 172.20.120.2
172.20.112.1 172.20.112.2
S0/1 S0/0 S0/1 S0/0 S0/1 S0/0 S0/1 S0/0 S0/1 S0/0 S0/1 S0/0 S0/1 S0/0
S0/1 S0/0 S0/1 S0/0 S0/1 S0/0 S0/1 S0/0
172.20.40.1 F0/0 172.20.48.1 F0/0 172.20.56.1 F0/0 172.20.64.1 F0/0 172.20.72.1 F0/0 F0/0 F0/0
172.20.128.1 172.20.136.1 F0/0 172.20.144.1 F0/0 172.20.152.1 172.20.160.1 F0/0 172.20.168.1 F0/0

172.20.40.2 172.20.48.2 172.20.56.2 172.20.64.2 172.20.136.2 172.20.144..2


172.20.72.2 172.20.128.2 172.20.152.2 172.20.160.2 172.20.168.2

172.20.40.3 172.20.47.254 172.20.48.3 172.20.55.254 172.20.56.3 172.20.63.254 172.20.64.3 172.20.71.254 172.20.72.3 172.20.79.254 172.20.128.3 172.20.135.254 172.20.136.3 172.20.143.254 172.20.144.3 172.20.151.254 172.20.152.3 172.20.159.254 172.20.160.3 172.20.167.254 172.20.168.3 172.20.175.254

172.20.40.0/21 172.20.48.0/21 172.20.56.0/21 172.20.64.0/21 172.20.72.0/21 172.20.128.0/21 172.20.136.0/21 172.20.144.0/21 172.20.152.0/21 172.20.160.0/21 172.20.168.0/21

172.20.0.0/16

172.20.0.0/16

Ampliación de Redes 2º I.T.I.S. Seminario – 51

10 Topología del Laboratorio


Armario B

ARMARIO A ARMARIO B
DCE= S0/0
DCE= S0 /0
DTE= S0/1
DTE= S0/1
MADRID BARCELONA VALENCIA SEVILLA ALBACETE JAE N GUADALA JARA CIUDAD REAL TO LE DO
172.20.8.0/21 172.20.16.0/21 172.20.24.0/21 172.20.32.0/21 172.20.80.0/21 CUENCA GRANADA
1 72.20.88.0/21 172.20.96.0/21 172.20.104.0/21 172.20.11 2.0/21 172.20.120.0/2 1
172.20.8 .1 172.20.8.2 172.20 .16.1 17 2.20.16.2 172.20 .24.1 1 72.20.24. 2 1 72.20.32. 1 172.20 .32.2 172 .20.80.1 172.20.8 0.2 172.20.120.1 1 72.20.120.2
1 72.20.88.1 172.20.88.2 172.20.96.1 172.20.96.2 172.20.104.1 172. 20 .104.2 172.20.112 .1 172.20.112.2
S0/1 S0/0 S0/1 S0/0 S0/1 S0/0 S0/1 S0/0 S0/1 S0/0 S0/1 S0/0 S0/1 S0/0
S 0/1 S0/0 S0/1 S0/0 S 0/1 S0/0 S 0/1 S0/0
172.20.4 0.1 F0/0 172.20 .4 8.1 F0/0 172.20 .56.1 F0/0 1 72.20.64. 1 F0/0 172.2 0.72.1 F0/0 172.20.128.1 F0/0 172.20.136.1 F0/0 172.20.144.1 F0/0 172.20.152.1 F0/0 172.20.160 .1 F0/0 172.20.168.1 F0/0

172.20.4 0.2 17 2.20.48.2 172.20. 56.2 1 72.20.64. 2 172.20.136.2 172.2 0.144..2


172.2 0.72.2 172.20.128.2 172.20.152.2 172.20.160 .2 172.20.168.2

172.20 .40.3 172.20.4 7.254 172.20 .4 8.3 172.20.55 .254 172.20. 56.3 172.20.6 3.254 172.20 .64.3 1 72.20.71 .254 172.20 .72.3 172.20.79 .254 1 72.20.128.3 172.20.135.254 172.20.136.3 172.20.1 43.254 172.20.144.3 172.20.151 .254 17 2.20.152.3 172.20.159.254 17 2.20.160.3 172.20.1 67.254 1 72.20.168.3 172.2 0. 175.254

172.20.40.0/21 172.20.48.0/21 172.20.56.0/21 172.20.64.0/21 172.20.72.0/21 172.20.128.0/2 1 172.20.136.0/21 172.20.144.0/21 1 72 .20.152.0/21 172.20.160.0/21 172.20.168.0/21

172.20.0.0/16

172.20.0.0/16

Ampliación de Redes 2º I.T.I.S. Seminario – 52

Вам также может понравиться