Filtering LSA (3) of Type 3 on the ABR in OSPF Environment)

Source: Internet
Author: User

LSA for filtering Type 3 in the OSPF environment-test

Test-filter LSA of Type 3 that enters area 0 on R1

R1 (config-router) # area 0 filter-list prefix lsa3in in

View the R1 Database

 
 
  1. R1#show ip ospf database  
  2.  
  3. OSPF Router with ID (1.1.1.1) (Process ID 1)  
  4.  
  5. Router Link States (Area 0)  
  6.  
  7. Link ID         ADV Router      Age         Seq#       Checksum Link count  
  8. 1.1.1.1         1.1.1.1         1348        0x80000004 0x0010BC 1  
  9. 2.2.2.2         2.2.2.2         1348        0x80000002 0x00D5EF 1  
  10.  
  11. Net Link States (Area 0)  
  12.  
  13. Link ID         ADV Router      Age         Seq#       Checksum  
  14. 10.1.1.2        2.2.2.2         1349        0x80000001 0x002CEB  
  15.  
  16. Summary Net Link States (Area 0)  
  17.  
  18. Link ID         ADV Router      Age         Seq#       Checksum  
  19. 192.168.4.0     2.2.2.2         1680        0x80000001 0x00794D  
  20. 192.168.5.0     2.2.2.2         1680        0x80000001 0x006E57  
  21. 192.168.6.0     2.2.2.2         1680        0x80000001 0x006361  
  22.  
  23. Router Link States (Area 2)  
  24.  
  25. Link ID         ADV Router      Age         Seq#       Checksum Link count  
  26. 1.1.1.1         1.1.1.1         1489        0x80000004 0x00CFF1 3  
  27.  
  28. Summary Net Link States (Area 2)  
  29.  
  30. Link ID         ADV Router      Age         Seq#       Checksum  
  31. 192.168.4.0     1.1.1.1         1335        0x80000001 0x001A70 

It is found that there are only three LSA entries in Type 3 of Region 0, because only one entry of 192.168.4.0/24 is allowed in the prefix list, so three entries of Region 0 are entered from R1, 192.168.1.0/24, 192.168.2.0/24, and 192.168.3.0/24 cannot enter area 0.

Test-filter LSA of Type 3 advertised from Area 1 on R1

In R1, the LSA of Type 3 advertised from Area 1 is filtered. Only 192.168.1.0/24 is allowed.

 
 
  1. R1(config)#ip prefix-list lsa3out permit 192.168.1.0/24  
  2. R1(config-router)#area 1 filter-list prefix lsa3out out 

View the R1 Database

 
 
  1. R1#show ip ospf database  
  2.  
  3. OSPF Router with ID (1.1.1.1) (Process ID 1)  
  4.  
  5. Router Link States (Area 0)  
  6.  
  7. Link ID         ADV Router      Age         Seq#       Checksum Link count  
  8. 1.1.1.1         1.1.1.1         27          0x80000005 0x000EBD 1  
  9. 2.2.2.2         2.2.2.2         1902        0x80000002 0x00D5EF 1  
  10.  
  11. Net Link States (Area 0)  
  12.  
  13. Link ID         ADV Router      Age         Seq#       Checksum  
  14. 10.1.1.2        2.2.2.2         1903        0x80000001 0x002CEB  
  15.  
  16. Summary Net Link States (Area 0)  
  17.  
  18. Link ID         ADV Router      Age         Seq#       Checksum  
  19. 192.168.4.0     2.2.2.2         365         0x80000002 0x00774E  
  20. 192.168.5.0     2.2.2.2         365         0x80000002 0x006C58  
  21. 192.168.6.0     2.2.2.2         365         0x80000002 0x006162  
  22.  
  23. Router Link States (Area 2)  
  24.  
  25. Link ID         ADV Router      Age         Seq#       Checksum Link count  
  26. 1.1.1.1         1.1.1.1         27          0x80000005 0x00CDF2 3  
  27.  
  28. Summary Net Link States (Area 2)  
  29.  
  30. Link ID         ADV Router      Age         Seq#       Checksum  
  31. 192.168.4.0     1.1.1.1         30          0x80000002 0x001871 

We found that there are only three items in Area 0 because only 192.168.4.0/24 is allowed in the LSA filter of area 0 just made on R1, in this way, even if 192.168.1.0/24 is allowed in the outbound stack of Area 1, it still cannot enter area 0. Therefore, you must allow 192.168.1.0/24 in the prefix list.

R1 (config) # ip prefix-list lsa3in permit 192.168.1.0/24

View the OSPF database of R1

 
 
  1. R1#show ip ospf database  
  2.  
  3. OSPF Router with ID (1.1.1.1) (Process ID 1)  
  4.  
  5. Router Link States (Area 0)  
  6.  
  7. Link ID         ADV Router      Age         Seq#       Checksum Link count  
  8. 1.1.1.1         1.1.1.1         27          0x80000005 0x000EBD 1  
  9. 2.2.2.2         2.2.2.2         1902        0x80000002 0x00D5EF 1  
  10.  
  11. Net Link States (Area 0)  
  12.  
  13. Link ID         ADV Router      Age         Seq#       Checksum  
  14. 10.1.1.2        2.2.2.2         1903        0x80000001 0x002CEB  
  15.  
  16. Summary Net Link States (Area 0)  
  17.  
  18. Link ID         ADV Router      Age         Seq#       Checksum  
  19. 192.168.1.0     1.1.1.1         4           0x80000001 0x00B815  
  20. 192.168.4.0     2.2.2.2         365         0x80000002 0x00774E  
  21. 192.168.5.0     2.2.2.2         365         0x80000002 0x006C58  
  22. 192.168.6.0     2.2.2.2         365         0x80000002 0x006162  
  23.  
  24. Router Link States (Area 2)  
  25.  
  26. Link ID         ADV Router      Age         Seq#       Checksum Link count  
  27. 1.1.1.1         1.1.1.1         27          0x80000005 0x00CDF2 3  
  28.  
  29. Summary Net Link States (Area 2)  
  30.  
  31. Link ID         ADV Router      Age         Seq#       Checksum  
  32. 192.168.4.0     1.1.1.1         30          0x80000002 0x001871 

The LSA of Type 3 of area 0 has an additional IP Address 192.168.1.0/24.
View route table on R2

R2 # show ip route ospf
O ia 192.168.1.0/24 [110/65] via 10.1.1.1, 00:05:08, Serial0
There is only one CIDR route for 192.168.1.0/24.

LSA of Type 3 in the OSPF environment-Summary

The LSA function provided by OSPF in the ABR filtering Type 3 allows you to filter a specific area in the in or out direction on the ABR. That is, LSA of Type 3 that is allowed to enter or exit the region.

Filtering LSA 1 of Type 3 on the ABR in OSPF environment)

Filtering LSA 2 of Type 3 on the ABR in OSPF environment)

  1. Analysis of multicast knowledge in IGMP V2 package
  2. Horizontal split-by-the-command-by-product
  3. Instance resolution: the floating summary routing configuration of the VPN gateway.
  4. Router POS access technology and Solutions
  5. Analysis of multicast knowledge-Layer 2 device forwarding Multicast

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.