Cisco Catalyst Center Template Labs – Rest-APIs – Part 9
Hace 17 horas
En este post se repasarán distintos métodos para filtrar prefijos en OSPFv2 de una área a otra a nivel de los ABR (Area Border Router). Se utilizarán los siguinetes comandos; area range, area filter-list y distribute-list in.
La topología a utilizar en éste y los otros posts de OSPF filter se muestra en la siguiente figura:
1. Evitar la generación de LSA 3 en ABR de origen con area range.
En particular se puede ver cómo R5 inserta en su tabla de ruteo el prefijo 5.5.5.5/32 proveniente de un LSA tipo 3 (summary) generado por R2 (2.2.2.2) para esa área en particular.
R4#sh ip rou 5.5.5.5
Routing entry for 5.5.5.5/32
Known via "ospf 1", distance 110, metric 5, type inter area
Last update from 192.0.2.1 on Serial0/0, 00:17:45 ago
Routing Descriptor Blocks:
* 192.0.2.1, from 2.2.2.2, 00:17:45 ago, via Serial0/0
Route metric is 5, traffic share count is 1
R4#sh ip ospf data sum 5.5.5.5
OSPF Router with ID (4.4.4.4) (Process ID 1)
Summary Net Link States (Area 24)
Routing Bit Set on this LSA
LS age: 1122
Options: (No TOS-capability, DC, Upward)
LS Type: Summary Links(Network)
Link State ID: 5.5.5.5 (summary Network Number)
Advertising Router: 2.2.2.2
LS Seq Number: 80000001
Checksum: 0x8E8E
Length: 28
Network Mask: /32
TOS: 0 Metric: 4
R4#
R5#sh ip ospf data self-originate
OSPF Router with ID (5.5.5.5) (Process ID 1)
Router Link States (Area 15)
Link ID ADV Router Age Seq# Checksum Link count
5.5.5.5 5.5.5.5 1177 0x8000000B 0x00B405 3
R1#conf t
Enter configuration commands, one per line. End with CNTL/Z.
R1(config)#router ospf 1
R1(config-router)#area 15 range 5.5.5.5 255.255.255.255 not
R1(config-router)#
R4#sh ip rou 5.5.5.5
% Network not in table
R1#conf t
Enter configuration commands, one per line. End with CNTL/Z.
R1(config)#ip prefix-li no-lsa3 deny 5.5.5.5/32
R1(config)#ip prefix-li no-lsa3 permit 0.0.0.0/0 le 32
R1(config)#router ospf 1
R1(config-router)#area 15 filter-list prefix no-lsa3 out
R4#sh ip rou 5.5.5.5
% Network not in table
R2#conf t
Enter configuration commands, one per line. End with CNTL/Z.
R2(config)#ip prefix-li no-lsa3 deny 5.5.5.5/32
R2(config)#ip prefix-li no-lsa3 permit 0.0.0.0/0 le 32
R2(config)#router ospf 1
R2(config-router)#area 24 filter-list prefix no-lsa3 in
R2(config-router)#
R4#sh ip rou 5.5.5.5
% Network not in table
R4#conf t
Enter configuration commands, one per line. End with CNTL/Z.
R4(config)#ip prefix-li no-lsa3 deny 5.5.5.5/32
R4(config)#ip prefix-li no-lsa3 permit 0.0.0.0/0 le 32
R4(config)#router ospf 1
R4(config-router)#distribute-l pre no-lsa3 in
R4#sh ip rou 5.5.5.5
% Network not in table
© 2010. CCIE en Español. All Rights Reserved.
Blogger Template by Blogger SEO Tools based on WP theme by CamelGraph.
En total 0 comentarios: