See the Database entry before applying filter list
R5#sh ip ospf database summary 69.1.1.1
OSPF Router with ID (55.5.5.5) (Process ID 10)
Summary Net Link States (Area 0)
LS age: 366
Options: (No TOS-capability, DC, Upward)
LS Type: Summary Links(Network)
Link State ID: 69.1.1.1 (summary Network Number)
Advertising Router: 1.1.1.1
LS Seq Number: 80000001
Checksum: 0xD915
Length: 28
Network Mask: /32
MTID: 0 Metric: 2
LS age: 2
Options: (No TOS-capability, DC, Upward)
LS Type: Summary Links(Network)
Link State ID: 69.1.1.1 (summary Network Number)
Advertising Router: 55.5.5.5
LS Seq Number: 80000001
Checksum: 0x9D0F
Length: 28
Network Mask: /32
MTID: 0 Metric: 2
R5#
LSA 3 filtering
R5
router ospf 10
area 0 filter-list prefix test in
ip prefix-list test seq 5 deny 69.1.1.1/32
ip prefix-list test seq 10 deny 69.2.1.1/32
ip prefix-list test seq 15 permit 0.0.0.0/0 le 32
R5#sh ip ospf database summary 69.1.1.1
OSPF Router with ID (55.5.5.5) (Process ID 10) LSA 3
Summary Net Link States (Area 0)
LS age: 95
Options: (No TOS-capability, DC, Upward)
LS Type: Summary Links(Network)
Link State ID: 69.1.1.1 (summary Network Number)
Advertising Router: 1.1.1.1
LS Seq Number: 80000001
Checksum: 0xD915
Length: 28
Network Mask: /32
MTID: 0 Metric: 2
No entry from 55.5.5.5
**********************
R5#sh ip ospf database summary 69.2.1.1
***************************
OSPF Router with ID (55.5.5.5) (Process ID 10) LSA 3
Summary Net Link States (Area 0)
LS age: 141
Options: (No TOS-capability, DC, Upward)
LS Type: Summary Links(Network)
Link State ID: 69.2.1.1 (summary Network Number)
Advertising Router: 1.1.1.1
LS Seq Number: 80000001
Checksum: 0xCD20
Length: 28
Network Mask: /32
MTID: 0 Metric: 2
***************************
R5#sh ip ospf database summary 69.3.1.1
************************
OSPF Router with ID (55.5.5.5) (Process ID 10)
Summary Net Link States (Area 0) LSA 3
LS age: 1779
Options: (No TOS-capability, DC, Upward)
LS Type: Summary Links(Network)
Link State ID: 69.3.1.1 (summary Network Number)
Advertising Router: 1.1.1.1
LS Seq Number: 80000001
Checksum: 0xC12B
Length: 28
Network Mask: /32
MTID: 0 Metric: 2
LS age: 970
Options: (No TOS-capability, DC, Upward)
LS Type: Summary Links(Network)
Link State ID: 69.3.1.1 (summary Network Number)
Advertising Router: 55.5.5.5
LS Seq Number: 80000001
Checksum: 0x8525
Length: 28
Network Mask: /32
MTID: 0 Metric: 2
R5#
sh ip route
R5#sh ip route 69.1.1.1
Routing entry for 69.1.1.1/32
Known via "ospf 10", distance 110, metric 2, type intra area
Last update from 56.0.0.6 on FastEthernet0/1, 00:35:35 ago
Routing Descriptor Blocks:
* 56.0.0.6, from 69.4.1.1, 00:35:35 ago, via FastEthernet0/1
Route metric is 2, traffic share count is 1
R2#sh ip ospf database summary 69.1.1.1
OSPF Router with ID (2.2.2.2) (Process ID 10)
Summary Net Link States (Area 0)
Routing Bit Set on this LSA in topology Base with MTID 0
LS age: 1207
Options: (No TOS-capability, DC, Upward)
LS Type: Summary Links(Network)
Link State ID: 69.1.1.1 (summary Network Number)
Advertising Router: 1.1.1.1
LS Seq Number: 80000001
Checksum: 0xD915
Length: 28
Network Mask: /32
MTID: 0 Metric: 2
Summary Net Link States (Area 2)
LS age: 702
Options: (No TOS-capability, DC, Upward)
LS Type: Summary Links(Network)
Link State ID: 69.1.1.1 (summary Network Number)
Advertising Router: 2.2.2.2
LS Seq Number: 80000003
Checksum: 0xCB1B
Length: 28
Network Mask: /32
MTID: 0 Metric: 4
R2# sh ip route
O IA 69.1.1.1 [110/4] via 25.0.0.5, 00:12:52, FastEthernet0/0
[110/4] via 23.0.0.3, 00:12:52, FastEthernet0/1
O IA 69.2.1.1 [110/4] via 25.0.0.5, 00:12:52, FastEthernet0/0
[110/4] via 23.0.0.3, 00:12:52, FastEthernet0/1
O IA 69.3.1.1 [110/3] via 25.0.0.5, 00:34:17, FastEthernet0/0
O IA 69.4.1.1 [110/3] via 25.0.0.5, 00:34:17, FastEthernet0/0
[110/4] via 23.0.0.3, 00:12:52, FastEthernet0/1
O IA 69.2.1.1 [110/4] via 25.0.0.5, 00:12:52, FastEthernet0/0
[110/4] via 23.0.0.3, 00:12:52, FastEthernet0/1
O IA 69.3.1.1 [110/3] via 25.0.0.5, 00:34:17, FastEthernet0/0
O IA 69.4.1.1 [110/3] via 25.0.0.5, 00:34:17, FastEthernet0/0
No comments:
Post a Comment