Está en la página 1de 53

Extreme Training

Configuracin
L3 Bsica
Agenda

A. Routing IP
B. Rutas Estticas
C. RIP
D. Troubleshooting
E. Laboratorio 1

F. OSPF
G. Troubleshooting
H. Laboratorio 2
Routing IP
Routing IP
Interfaces de Routing

A. Cualquier VLAN definida en un switch puede transformarse en


una interfaz de router IP.
B. Para ello es necesario asignar a la VLAN una direccin IP
mediante el comando
config vlan <vlan_name> ip address <ip_address>
/ <mask>
la que ser usada como default gateway por las estaciones de
trabajo conectadas a esa VLAN.
C. Adicionalmente, es necesario habilitar la funcionalidad de
routing en esa VLAN mediante el comando
enable ipforwarding vlan <vlan_name>

Ip address Ip address Ip address


10.0.1.1/24 10.0.2.1/24 10.0.3.1/24
Rutas Estticas
Routing IP
Rutas Estticas

A. Un router redirige trfico a destinos remotos basado en su tabla


de ruteo.
B. Esta tabla est inicialmente poblada slo con las redes a las
cuales est directamente conectado el router a traves de sus
interfaces (VLANs).
C. Si el router no implementa algn protocolo dinmico de ruteo
(RIP, OSPF, BGP), es necesario poblar manualmente esa tabla
de rutas.
D. Estas rutas se denominan rutas estticas, y se configuran con
el comando
configure iproute add <network_address>/<mask>
<gateway_address> <cost>
E. Un caso especial de ruta esttica es la ruta default, que se
emplea cuando no se conoce una ruta cierta al destino
solicitado. Esta ruta se configura con el comando
configure iproute add default <gateway_address>
<cost>
RIP
Routing IP
RIP

A. RIP es un protocolo dinmico de ruteo que intercambia con


otros routers informacin sobre las rutas a las que puede
llegar.
B. RIP enva, cada 30 segundos, toda su tabla de rutas.
C. RIP se debe habilitar a nivel global mediante el comando
enable rip
D. Adicionalmente, RIP se debe habilitar VLAN por VLAN
mediante el comando
configure rip add vlan [<vlan_name> | all]
E. Similarmente, RIP se puede habilitar VLAN por VLAN
mediante el comando
configure rip delete vlan [<vlan_name> | all]
Routing IP
RIP V1 & V2

A. Existen 2 versiones de RIP


RIP V1
RIP V2
B. RIP V1 enva informacin de las rutas sin inclur la mscara
correspondiente y usa una direccin broadcast.
C. RIP V2 incluye la mscara junto con la informacin de las rutas
y usa una direccin multicast reconocida por los routers RIP
V2.
D. Es posible configurar la manera en la que RIP transmitir su
informacin, mediante el comando
configure rip txmode [none | v1compat | v1only
| v2only] {[<vlan_name> | all]}
E. Tambin es posible configurar la manera en la que RIP recibir
la informacin, mediante el comando
configure rip rxmode [any | none | v1only |
v2only] {[<vlan_name> | all]}
Routing IP
Loopback

A. El switch informar mediante RIP a otros routers como llegar a


interfaces propias que cumplan las siguientes condiciones:
Tengan RIP habilitado.
Tengan al menos un puerto de la VLAN activo.
B. Si una VLAN tiene RIP habilitado, pero ninguno de sus puertos
est activo, el switch no publicitar esa ruta, debido a que no
hay nadie con quien establecer comunicacin.
C. Si se desea que esta ruta sea publicitada independientemente
de que haya puertos activos o no es necesario habilitar la
funcionalidad de loopback en esa VLAN.
D. Eso se logra mediante el comando
enable loopback-mode vlan <vlan_name>
Routing IP
RIP Export

A. RIP puede enviar (exportar) a otros routers informacin que


tenga en su tabla de ruteo proveniente de:
Rutas estticas
Rutas Directas
OSPF
B. Se entiende por rutas directas aquellas VLANs con direccin
IP vlida e IP forwarding habilitado que no tengan RIP
habilitado.
C. El comando para exportar rutas es:
enable rip export [static | direct | ospf]
<cost>
Troubleshooting
Routing IP
Troubleshooting

A. El comando
show vlan
permite ver configuracin IP importante
* Summit1iTx:19 # show vlan
Name VID Protocol Addr Flags Proto Super Ports STPs
Default 0001 10.0.0.1 /24 -----f-r--- ANY 0/ 1 1
MacVlanDis 4095 ------------------ ----- ANY 0/ 0 0
v-any 4094 10.0.1.1-------/24 -----f-r--- ANY 0/ 1 0
v-ip 4093 10.0.2.1-------/24 -----f-r--- IP 0/ 4 0
v-nb 4092 ------------------ ----- netbio 0/ 3 0

Flags : M=ESRP Master, E=ESRP Slave, G=GVRP Enabled, L=Loopback Enabled


S=SuperVlan, s=SubVlan, R=SubVLAN IP Range Configured
C=Domain-masterVlan, c=Domain-memberVlan, v=VRRP Enabled
f=IP Forwarding Enabled, m=IPmc Forwarding Enabled
r=RIP Enabled, o=OSPF Enabled, p=PIM Enabled, d=DVMRP Enabled
X=IPX RIP Enabled, P=IPX SAP Enabled
N=GNS Reply Enabled, 2=IPX Type 20 Forwarding Enabled

Total number of Vlan(s) : 5


Routing IP
Troubleshooting

A. El comando
show ipconfig
permite ver configuracin IP importante
* Summit1iTx:62 # sh ipconfig
IP Routing : Enabled
IPmc Routing : Disabled
Use Redirects : Disabled
RIP : Enabled
DVMRP : Disabled
PIM : Disabled
OSPF : Disabled
BGP : Disabled
IRDP : Disabled
BootpRelay : Disabled
Route Sharing : Disabled
Multinetting : Disabled
IGMP Snooping : Enabled
SLB : Disabled
VRRP : Disabled
IpOption LSRR : Enabled
IpOption SSRR : Enabled
IpOption RR : Enabled
IpOption TS : Enabled
Routing IP
Troubleshooting

A. El comando
show ipconfig
tambin permite ver ms configuracin IP importante
VLAN IP Address Flags nSIA nLRMA nLeMA
Default 10.0.0.1 /24 EUf----s--uRPXMTA----ir------ 0 3 0
v-any 10.0.1.1 /24 EUf----s--uRPXMTA----ir------ 0 3 2
v-ip 10.0.2.1 /24 E-f----s--uRPXMTA----ir------ 0 2 0

Flags : E - Interface Enabled, U - Interface Up, f - Forwarding Enabled,


m - Multicast Forwarding Enabled, b - Broadcast Forwarding Enabled,
h - Directed Broadcast Forwarding by Hardware Enabled,
g - Ignore IP Broadcast Enabled,
s - SubVLAN Proxy, B - BOOTP Enabled, u - Send Unreachables Enabled,
R - Send Redirects Enabled, P - Send Port Unreachables Enabled, X - Send
Time Exceeded Enabled, M - Send Parameter Problem Enabled, T - Time
Stamp Reply Enabled, A - Address Mask Reply Enabled, I - IRDP
Advertisement Enabled, e - ESRP Enabled, i - IGMP Enabled, r - RIP
Enabled, o - OSPF Enabled, d - DVMRP Enabled, p - PIM Enabled, q - ISQ
Enabled, S - SLB Server, C - SLB Client, v - VRRP Enabled.
nSIA - Number of Secondary IP Addresses.
nLRMA - Number of Locally registered Multicast Addresses.
nLeMA - Number of Learned Multicast Addressess.
Routing IP
Troubleshooting

A. El comando
show iproute
muestra la tabla de rutas del switch
* Summit1iTx:70 # sh iproute

OR Destination Gateway Mtr Flags Use M-Use VLAN Acct-1


*d 10.0.0.0/24 10.0.0.1 1 U------u- 0 0 Default 0
*r 192.168.1.0/24 10.0.1.2 3 UG-----um 0 0 v-any 0
*s 192.168.0.0/24 10.0.1.2 3 UG---S-um 0 0 v-any 0
*d 10.0.1.0/24 10.0.1.1 1 U------u- 0 0 v-any 0
d 10.0.2.0/24 10.0.2.1 1 -------u- 0 0 v-ip 0
*d 127.0.0.1/8 127.0.0.1 0 U-H----um 0 0 Default 0
*s Default Route 10.0.0.2 5 UG---S-um 0 0 Default 0

Origin(OR): b - BlackHole, bg - BGP, be - EBGP, bi - IBGP, bo - BOOTP, ct - CBT


d - Direct, df - DownIF, dv - DVMRP, h - Hardcoded, i - ICMP
mo - MOSPF, o - OSPF, oa - OSPFIntra, or - OSPFInter, oe - OSPFAsExt
o1 - OSPFExt1, o2 - OSPFExt2, pd - PIM-DM, ps - PIM-SM, r - RIP
ra - RtAdvrt, s - Static, sv - SLB_VIP, un - UnKnown.

Flags: U - Up, G - Gateway, H - Host Route, D - Dynamic, R - Modified,


S - Static, B - BlackHole, u - Unicast, m - Multicast.
Routing IP
Troubleshooting

A. El comando
show rip
muestra informacin sobre la configuracin de RIP
* Summit1iTx:71 # sh rip
Rip Enabled: YES Split Horizon: YES Poison Reverse: YES
Triggered Updates: YES Aggregate Routes: NO
UpdateInterval: 30 RouteTimeout: 180 GarbageTime: 120
RouteChanges: 0 Queries: 0
Export Static: YES
Export Ospf-Intra: NO
Export Ospf-Inter: NO
Export Ospf-Extern1: NO
Export Ospf-Extern2: NO
Export Direct: NO
Export Vip: NO
Originate Default: NO

VLAN IP Address Flags Tx Mode Rx Mode Cost Peers


v-ip 10.0.2.1 /24 -rif- V2 V2 1 0
v-any 10.0.1.1 /24 -rif- V2 V2 1 0
Default 10.0.0.1 /24 -rif- V2 V2 1 0
Flags : r - Router RIP Enabled, i - Interface RIP Enabled, f - Interface
Forwarding Enabled.
Laboratorio 1
Laboratorio 1
IP Routing, Rutas Estticas y RIP

Objetivo
A. Aprender a configurar direcciones IP en las interfaces, habilitar
IP routing y configurar rutas estticas
B. Aprender a configurar y habilitar RIP
C. Aprender a exportar rutas externas a RIP
Laboratorio 1-A
IP Routing y Rutas Estticas

VLAN B11
.1
VLAN Red IP VLAN C2 .1
C1 10.0.1.x / 24 S1
C2 10.0.2.x / 24 VLAN B31
.1 .1
C3 10.0.3.x / 24 .3 .3 VLAN B12
B11 10.1.1.x / 24
S3 VLAN C1
B12 10.1.2.x / 24
B21 10.2.1.x / 24 .3 .3
VLAN B21
B22 10.2.2.x / 24 VLAN B32
.2 .2
B31 10.3.1.x / 24
S2
B32 10.3.2.x / 24 .2
VLAN C3
.2
VLAN B22
Laboratorio 1-A
IP Routing y Rutas Estticas

A. Desconfigurar el switch
B. Crear las VLANs correspondientes al switch elegido y
agregarles puertas
C. Habilitar ruteo IP
D. Establecer rutas estticas a las VLANs Bx1 de los otros
switches
E. Verificar conectividad mediante ping
F. Loopback?
Laboratorio 1-A
IP Routing y Rutas Estticas
Switch 1 Switch 2
Unconfigure switch Unconfigure switch
Config default del port all Config default del port all
Create vlan c1 Create vlan c1
Create vlan c2 Create vlan c3
Create vlan b11 Create vlan b21
Create vlan b12 Create vlan b22
Config c1 ip 10.0.1.1/24 Config c1 ip 10.0.1.2/24
Config c2 ip 10.0.2.1/24 Config c3 ip 10.0.3.2/24
Config b11 ip 10.1.1.1/24 Config b21 ip 10.2.1.2/24
Config b12 ip 10.1.2.1/24 Config b22 ip 10.2.2.2/24
# agregar puertos a las vlans # agregar puertos a las vlans
Enable loopback-mode b11 Enable loopback-mode b21
Enable ipforward Enable ipforward
Config iprou add 10.2.1.0/24 10.0.1.2 10 Config iprou add 10.1.1.0/24 10.0.1.1 10
Config iprou add 10.2.1.0/24 10.0.2.3 20 Config iprou add 10.1.1.0/24 10.0.3.3 20
Config iprou add 10.3.1.0/24 10.0.2.3 10 Config iprou add 10.3.1.0/24 10.0.3.3 10
Config iprou add 10.3.1.0/24 10.0.1.2 20 Config iprou add 10.3.1.0/24 10.0.1.1 20

Switch 3
Unconfigure switch # agregar puertos a las vlans
Config default del port all Enable loopback-mode b31
Create vlan c2 Enable ipforward
Create vlan c3 Config iprou add 10.1.1.0/24 10.0.3.1 10
Create vlan b31 Config iprou add 10.1.1.0/24 10.0.2.2 20
Create vlan b32 Config iprou add 10.2.1.0/24 10.0.2.2 10
Config c2 ip 10.0.2.3/24 Config iprou add 10.2.1.0/24 10.0.3.1 20
Config c3 ip 10.0.3.3/24
Config b31 ip 10.3.1.3/24
Config b32 ip 10.3.2.3/24
Laboratorio 1-B
RIP

A. Habilitar RIP en las VLANs Cx de cada switch


B. Habilitar RIP en la VLAN Bx2 de cada switch
C. Habilitar RIP en el switch
D. Verificar la propagacin de rutas de otros switches
E. Verificar conectividad mediante ping
F. Loopback?
Laboratorio 1-B
RIP
Switch 1
Config rip add c1
Config rip add c2
Config rip add b12
Enable loopback-mode b12
Enable rip

Switch 2
Config rip add c1
Config rip add c3
Config rip add b22
Enable loopback-mode b22
Enable rip

Switch 3
Config rip add c2
Config rip add c3
Config rip add b32
Enable loopback-mode b32
Enable rip
Laboratorio 1-C
Export Static

A. Agregar rutas estticas ficticias


B. Habilitar exportacin de rutas estticas a otros switches
mediante RIP
C. Verificar la propagacin de las rutas ficticias de otros switches
Laboratorio 1-C
Export Static
Switch 1
config iproute add 11.0.0.0/8 10.1.1.100 5
enable rip export static metric 50

Switch 2
config iproute add 21.0.0.0/8 10.2.1.100 5
enable rip export static metric 50

Switch 3
config iproute add 31.0.0.0/8 10.3.1.100 5
enable rip export static metric 50
OSPF
Routing IP
OSPF

A. Es un protocolo de ruteo dinmico ms eficiente que RIP


B. Es del tipo Link State Protocol y emplea un modelo de base de
datos distribudo
C. Cada router publicita una descripcin de su entorno local
Interfaces
Costos
Informacin de sus vecinos
D. Usa una nica base de datos sincronizada qu almacena esta
informacin (LSDB)
E. La tabla de ruteo se deriva de esta base de datos usando un
algoritmo conocido como shortest-path first
F. OSPF soporta balance de carga a travs de mltiples rutas de
igual costo hacia un mismo destino
Routing IP
OSPF Router ID

A. Cada switch debe tener un router ID nico


B. Si bien el switch puede elegir un router ID automticamente, se
recomienda establecerlo manualmente para cada switch que
participe en OSPF
C. No se debe usar 0.0.0.0 como router ID
D. El comando para establecerlo es:
config ospf routerid [automatic | <routerid>]
Routing IP
Areas OSPF

A. OSPF implementa un esquema de ruteo jerrquico, dividiendo


los routers en reas.
B. Esto representa una reduccin en:
La cantidad de memoria consumida por la tabla de ruteo
Recursos requeridos para el clculo de la tabla de ruteo
Ancho de banda requerido para distribur informacin de ruteo

Area Area
0.0.0.1 Area 0.0.0.3
0.0.0.0
Area Backbone Area
0.0.0.2 0.0.0.4
Routing IP
Areas OSPF (cont.)

A. Un rea es un grupo de uno o ms segmentos de red


interconectados por routers
B. Existen 4 tipos de reas:
Area 0 (existe por default y no es necesario crearla)
Normal Area
Stub Area
Not-So-Stubby-Area (NSSA)
C. Las reas se identifican mediante un Area ID de 32 bits. El
identificador 0.0.0.0 se reserva para el rea Backbone.
D. El comando para crear un rea es:
create ospf area <area_id>
Routing IP
Areas OSPF (cont.)

A. Para configurar el tipo de rea se usa el comando


config ospf <area_id> [normal | stub | nssa]
B. El rea 0 (backbone) slo puede ser normal
C. Para agregar una vlan a un rea determinada se usa el
comando
config ospf add vlan [<vlan_name> | all] area
<area_id>
D. Para habilitar OSPF en el switch se usa el comando
enable ospf
Routing IP
OSPF Export

A. OSPF puede enviar (exportar) a otros routers informacin que


tenga en su tabla de ruteo proveniente de:
Rutas estticas
Rutas Directas
RIP
B. Se entiende por rutas directas aquellas VLANs con direccin
IP vlida e IP forwarding habilitado que no tengan RIP
habilitado.
C. El comando para exportar rutas es:
enable ospf export [direct | rip | static]
cost <metric> [ase-type-1 | ase-type-2]
Routing IP
Tipos de Routers OSPF

A. Internal Router (IR)


Todas sus interfaces pertenecen a la misma rea.
B. Area Border Router (ABR)
Sus interfaces pertenecen a distintas reas. Es responsible de
intercambiar resmenes de rutas con otros ABRs. Un switch Extreme
soporta hasta 7 reas no 0.
C. Autonomous System Boundary Router (ASBR)
Un ASBR acta como gateway entre OSPF y otros protocolos de ruteo,
u otros sistemas autnomos.
Routing IP
Tipos de routers OSPF

R1 R2
R7 R6
Internet

R3 Area 1 R9

R8 Area 2
R4 R 10
ABR ABR
ASBR

Area 3 R 11
R5 Area 3
ABR
R 12
R 13

Autonomous S ystem

*Todos los routers no etiquetados como ASBR o ABR son Internal Routers
Routing IP
Network Type - Broadcast Networks

A. Es el tipo de red usado por defecto en los switches Extreme


B. Existen otros tipos de red que se usan en enlaces WAN

10.1.1.1 10.1.1.3 10.1.1.5

10.1.1.2 10.1.1.4
Routing IP
Designated Router

A. Toda red broadcast tiene un Designated Router (DR) y un


Backup Designated Router (BDR).
B. Cada router de la red intercambia informacin sobre el estado
de sus enlaces slo con el DR y el BDR.
La direccin de destino IP del mensaje ser la direccin multicast
224.0.0.6 (All DRouters).
C. El DR enviar este update a todos los routers OSPF
La direccin de destino IP del mensaje ser la direccin multicast
224.0.0.5 (All OSPFRouters).
D. Esto reduce el nivel de trfico consumido por el protocolo de
ruteo ya que si todos los routers tuvieran que intercambiar
informacin con todos los dems routers tendramos n*(n-1)
intercambios.
Troubleshooting
Routing IP
Troubleshooting

A. El comando
show vlan
permite ver configuracin IP importante
Name VID Protocol Addr Flags Proto Super Ports STPs
Default 0001 10.0.0.1 /24 -----f--o-- ANY 1/ 8 1
MacVlanDis 4095 ------------------ ----- ANY 0/ 0 0
c1 4094 10.0.1.1 /24 -L---f--o-- ANY 0/ 0 0
c2 4093 10.0.2.1 /24 -L---f--o-- ANY 0/ 0 0
c3 4092 10.0.3.1 /24 -L---f--o-- ANY 0/ 0 0

Flags : M=ESRP Master, E=ESRP Slave, G=GVRP Enabled, L=Loopback Enabled


S=SuperVlan, s=SubVlan, R=SubVLAN IP Range Configured
C=Domain-masterVlan, c=Domain-memberVlan, v=VRRP Enabled
f=IP Forwarding Enabled, m=IPmc Forwarding Enabled
r=RIP Enabled, o=OSPF Enabled, p=PIM Enabled, d=DVMRP Enabled
X=IPX RIP Enabled, P=IPX SAP Enabled
N=GNS Reply Enabled, 2=IPX Type 20 Forwarding Enabled

Total number of Vlan(s) : 5


* Summit1iTx:39 #
Routing IP
Troubleshooting

A. El comando
show ipconfig
permite ver configuracin IP importante
* Summit1iTx:62 # sh ipconfig
IP Routing : Enabled
IPmc Routing : Disabled
Use Redirects : Disabled
RIP : Disabled
DVMRP : Disabled
PIM : Disabled
OSPF : Enabled
BGP : Disabled
IRDP : Disabled
BootpRelay : Disabled
Route Sharing : Disabled
Multinetting : Disabled
IGMP Snooping : Enabled
SLB : Disabled
VRRP : Disabled
IpOption LSRR : Enabled
IpOption SSRR : Enabled
IpOption RR : Enabled
IpOption TS : Enabled
Routing IP
Troubleshooting

A. El comando
show ipconfig
tambin permite ver ms configuracin IP importante
VLAN IP Address Flags nSIA nLRMA nLeMA
Default 10.0.0.1 /24 EUf----s--uRPXMTA----i-o----- 0 4 3
c1 10.0.1.1 /24 EUf----s--uRPXMTA----i-o----- 0 4 0
c2 10.0.2.1 /24 EUf----s--uRPXMTA----i-o----- 0 4 0
c3 10.0.3.1 /24 EUf----s--uRPXMTA----i-o----- 0 4 0

Flags : E - Interface Enabled, U - Interface Up, f - Forwarding Enabled,


m - Multicast Forwarding Enabled, b - Broadcast Forwarding Enabled,
h - Directed Broadcast Forwarding by Hardware Enabled,
g - Ignore IP Broadcast Enabled,
s - SubVLAN Proxy, B - BOOTP Enabled, u - Send Unreachables Enabled,
R - Send Redirects Enabled, P - Send Port Unreachables Enabled, X - Send
Time Exceeded Enabled, M - Send Parameter Problem Enabled, T - Time
Stamp Reply Enabled, A - Address Mask Reply Enabled, I - IRDP
Advertisement Enabled, e - ESRP Enabled, i - IGMP Enabled, r - RIP
Enabled, o - OSPF Enabled, d - DVMRP Enabled, p - PIM Enabled, q - ISQ
Enabled, S - SLB Server, C - SLB Client, v - VRRP Enabled.
nSIA - Number of Secondary IP Addresses.
nLRMA - Number of Locally registered Multicast Addresses.
nLeMA - Number of Learned Multicast Addressess.
*
Routing IP
Troubleshooting

A. El comando
show iproute
muestra la tabla de rutas del switch
* Summit1iTx:43 # sh iproute so
OR Destination Gateway Mtr Flags Use M-Use VLAN Acct-1
*d 10.0.0.0/24 10.0.0.1 1 U------u- 540 0 Default 0
*d 10.0.1.0/24 10.0.1.1 1 U------u- 0 0 c1 0
*d 10.0.2.0/24 10.0.2.1 1 U------u- 0 0 c2 0
*d 10.0.3.0/24 10.0.3.1 1 U------u- 0 0 c3 0
*oa 10.1.1.0/24 10.0.0.2 14 UG-----um 0 0 Default 0
*or 11.2.1.0/24 10.0.0.2 14 UG-----um 0 0 Default 0
*or 11.3.1.0/24 10.0.0.2 14 UG-----um 0 0 Default 0
*or 11.4.1.0/24 10.0.0.2 14 UG-----um 0 0 Default 0
*d 127.0.0.1/8 127.0.0.1 0 U-H----um 0 0 Default 0

Origin(OR): b - BlackHole, bg - BGP, be - EBGP, bi - IBGP, bo - BOOTP, ct - CBT


d - Direct, df - DownIF, dv - DVMRP, h - Hardcoded, i - ICMP
mo - MOSPF, o - OSPF, oa - OSPFIntra, or - OSPFInter, oe - OSPFAsExt
o1 - OSPFExt1, o2 - OSPFExt2, pd - PIM-DM, ps - PIM-SM, r - RIP
ra - RtAdvrt, s - Static, sv - SLB_VIP, un - UnKnown.

Flags: U - Up, G - Gateway, H - Host Route, D - Dynamic, R - Modified,


S - Static, B - BlackHole, u - Unicast, m - Multicast.
Routing IP
Troubleshooting

A. El comando
show ospf
muestra informacin sobre la configuracin de RIP

* Summit1iTx:44 # sh osp
Router Id OSPF ASBR ABR ExtLSA ExtLSACsum OrigNewLSA RxNewLSA SpfHoldTime
1.1.1.1 E NO YES 0 0x0 30 16 3

RouterId Selection: User Configured


Export Static: Enabled
Export Rip: Disabled
Export Direct: Disabled
Export EBGP: Disabled
Export IBGP: Disabled
Export Vip: Disabled
Originate Default: Disabled
ASBR route Filter: None
Direct route Filter: None
10M Cost = 10, 100M Cost = 5,1G Cost = 4.
Lsa Batch Interval = 30.
AS-external LSA limit: disabled Timeout: disabled Current count: 0
Capabilities: Opaque LSA: Enabled
Routing IP
Troubleshooting

A. El comando
show ospf interfaces
muestra informacin sobre la configuracin de RIP
* Summit1iTx:45 # sh osp interfaces
VLAN IP Address AREA ID Flags Cost State Neighbors
c3 10.0.3.1 /24 0.0.0.2 -rif- 10/A DR 0
c2 10.0.2.1 /24 0.0.0.2 -rif- 10/A DR 0
c1 10.0.1.1 /24 0.0.0.2 -rif- 10/A DR 0
Default 10.0.0.1 /24 0.0.0.0 -rif- 4/A DR 1
Flags : r - Router OSPF Enabled, i - Interface OSPF Enabled, f - Interface
Forwarding Enabled, p - Passive Interface.
Routing IP
Troubleshooting

A. El comando
show ospf interfaces detail
muestra informacin sobre la configuracin de OSPF
* Summit1iTx:46 # sh osp interfaces detail
Interface(rif0): 10.0.0.1/24 Vlan: Default Ospf: ENABLED Router: ENABLED
AreaId: 0.0.0.0 (0) RtId: 1.1.1.1 Link Type: broadcast(auto) Passive: No
Cost: 4/A Priority: 1 Transit Delay: 1
Hello Interval: 10s Rtr Dead Time: 40s Retransmit Interval: 5s
Wait Timer: 40s(auto)
Authentication: NONE
State: DR Number of events: 5
DR RtId: 1.1.1.1 DR IP addr: 10.0.0.1 BDR IP addr: 10.0.0.2
Num Neighbor State Change to FULL : 1
Neighbours:
RtrId: 2.2.2.2 IpAddr: 10.0.0.2 Pri: 1 Type: Auto
State: FULL Dr: 10.0.0.1 BDR: 10.0.0.2 Dead Time: 10
Options (0x2): Opaque LSA: No
Laboratorio 2
Laboratorio 2
OSPF

Objetivo
A. Aprender a configurar y habilitar OSPF
B. Aprender a exportar rutas externas a OSPF
Laboratorio 2-A
OSPF

VLAN B11
.1
VLAN C2 .1
S1
VLAN Red IP
VLAN B31
.1 Area
C1 10.0.1.x / 24
.3 .3 0.0.0.1
C2 10.0.2.x / 24
C3 10.0.3.x / 24 S3 VLAN C1
B11 10.1.1.x / 24 .3 Area
B21 10.2.1.x / 24 VLAN B21
0.0.0.3 .2 .2
B31 10.3.1.x / 24
S2
.2
VLAN C3
Area 0.0.0.0 Area
0.0.0.2
Laboratorio 2-A
OSPF

A. Desconfigurar el switch
B. Crear las VLANs correspondientes al switch elegido y
asignarles puertas
C. Habilitar ruteo IP
D. Configurar Router ID
S1: Rtr_ID = 1.1.1.1
S2: Rtr_ID = 2.2.2.2
S3: Rtr_ID = 3.3.3.3
E. Crear reas
F. Habilitar OSPF en las VLANs y en el switch
G. Verificar establecimiento de OSPF con vecinos
H. Verificar la propagacin de rutas de otros switches
I. Verificar conectividad mediante ping
Laboratorio 2-A
OSPF
Switch 1 Switch 2
Unconfigure switch Unconfigure switch
Config default del port all Config default del port all
Create vlan c1 Create vlan c1
Create vlan c2 Create vlan c3
Create vlan b11 Create vlan b21
Config c1 ip 10.0.1.1/24 Config c1 ip 10.0.1.2/24
Config c2 ip 10.0.2.1/24 Config c3 ip 10.0.3.2/24
Config b11 ip 10.1.1.1/24 Config b21 ip 10.2.1.2/24
# agregar puertos a las vlans # agregar puertos a las vlans
Enable loopback-mode b11 Enable loopback-mode b21
Enable ipforward Enable ipforward
Config ospf routerid 1.1.1.1 Config ospf routerid 2.2.2.2
Create ospf area 0.0.0.1 Create ospf area 0.0.0.2
Config ospf add vlan c1 area 0.0.0.0 Config ospf add vlan c1 area 0.0.0.0
Config ospf add vlan c2 area 0.0.0.0 Config ospf add vlan c3 area 0.0.0.0
Config ospf add vlan b11 area 0.0.0.1 Config ospf add vlan b21 area 0.0.0.2
Enable ospf Enable ospf

Switch 3
Unconfigure switch Enable loopback-mode b31
Config default del port all Enable ipforward
Create vlan c2 Config ospf routerid 3.3.3.3
Create vlan c3 Create ospf area 0.0.0.3
Create vlan b31 Config ospf add vlan c2 area 0.0.0.0
Config c2 ip 10.0.2.3/24 Config ospf add vlan c3 area 0.0.0.0
Config c3 ip 10.0.3.3/24 Config ospf add vlan b31 area 0.0.0.3
Config b31 ip 10.3.1.3/24 Enable ospf
# agregar puertos a las vlans
Laboratorio 2-B
Export Static

A. Agregar rutas estticas inexistentes (slo para prueba)


B. Habilitar exportacin de rutas estticas a otros switches
mediante OSPF
C. Verificar la propagacin de rutas de otros switches
Laboratorio 2-B
Export Static
Switch 1
Config iproute add 11.0.0.0/8 10.1.1.100 200
Enable ospf export static cost 100 type ase-type-1

Switch 2
Config iproute add 21.0.0.0/8 10.2.1.100 200
Enable ospf export static cost 100 type ase-type-1

Switch 3
Config iproute add 31.0.0.0/8 10.3.1.100 200
Enable ospf export static cost 100 type ase-type-1
Fin !

También podría gustarte