Professional Documents
Culture Documents
11.advanced OSPF Topics Part II
11.advanced OSPF Topics Part II
In This Lesson:
Route Summarization Route Filtering Functionality Virtual Links Configuration of Advanced OSPF Lab Exercises
Route Summarization
1. Why Summarize Routes at All? 2. Configuring Summary Routes 3. Verification of Summary Routes
Route Summarization
Why Summarize Routes at All? Positive Aspects of Route Summarization Reduction in size and scope of routing tables Shrinking of query scope (stops at router configured with summary) Summary routes carry best metric Potential Drawbacks Possible less than optimal routing Packet discards (if networks contained in the summary are unreachable)
Route Summarization
Configuring Summary Routes Uses the area <area #> range <prefix> <mask> command on the ABR in OSPF router configuration mode Summary route to Null0 will be created in the IP routing table for OSPF More specific routes in neighbor routing tables will be suppressed in favor of the configured summary route Multiple summary routes per area
Route Summarization
Configuring Summary Routes Uses the summary-address <prefix> <mask> command on the ASBR in OSPF router configuration mode Used for summarization of external routes into the OSPF routing domain More specific routes in neighbor routing tables will be suppressed in favor of the configured summary route Creates a Type 5 LSA for the summary route
Route Summarization
Verification of Summary Routes Verify Existence of Summary Route show ip route ospf should list only the summarized route show ip route <prefix> should list route details show ip ospf summary-address should list the summary route show ip route <summary prefix> on the originating router should list the route to Null0 show ip ospf database should list the summary route in the topology
Virtual Links
1. Understanding Virtual Links 2. Configuring Virtual Links 3. Verifying Virtual Links
Virtual Links
OSPF Area 0
R7
OSPF Area 79
R9
VLAN 79
Virtual-Link
VLAN 910
Understanding Virtual Links What Virtual-Links Accomplish The OSPF hierarchy requires that all areas connect to Area 0 as a transit area Virtual-Links create a legitimate exception by using another area as a R10 transit When to Use Virtual-Links As seldom as possible (design issue) When companies merge To prevent partitioning of Area 0 (called split-brain)
Virtual Links
OSPF Area 0
R7
OSPF Area 79
R9
VLAN 79
Virtual-Link
VLAN 910
Configuring Virtual Links Configuration Takes Place on ABRs of Transit Area (Area 79 pictured left) Use area <area#> virtual-link <router-id> command on ABR on each side of the transit area Other optional commands include: R10 authentication, authentication-key or message-digest-key hello-interval, dead-interval Retransmit-interval, transmitdelay
Virtual Links
OSPF Area 0
R7
OSPF Area 79
R9
VLAN 79
Virtual-Link
VLAN 910
Verifying Virtual Links On the Transit ABRs Execute show ip ospf neighbors command and verify presence of virtual-link neighbor ABR (status full) Execute show ip ospf virtual-links and confirm adjacency and state is up R10 Execute show ip ospf interface and verify virtual-link interface presence and state is up On the Discontiguous Area Router(s) Execute show ip route ospf command and verify expected routes
OSPF Area 0
607 608
706
806
708
807
R7
Backbone
OSPF Area 79
R9
VLAN 79
VLAN 910
R10
Review of OSPF Configuration Commands Neighbor Authentication Creation of keys using the ip ospf message-digest-key command in interface configuration mode Specification of area parameters using the area <area#> messagedigest command R8 Application to the interface using the ip ospf authentication messagedigest commands
OSPF Area 0
607 608
706
806
708
807
R7
Backbone
OSPF Area 79
R9
VLAN 79
VLAN 910
R10
Review of OSPF Configuration Commands Route Summarization on R10 Suppression of loopback 0 (10.10.10.10/32) on R10 using the area <area#> range <prefix> <mask> command Route Filtering on R9 Creation of standard access-list using R8 the access-list <number> <permit | deny> <network> <mask> command Applying filtering using the distribute-list command
OSPF Area 0
607 608
706
806
708
807
R7
Backbone
OSPF Area 79
R9
VLAN 79
Review of OSPF Configuration Commands OSPF Stub Area Configuration on R8 Configuration of the stub area using the area 8 stub command under the OSPF routing process OSPF Virtual-Link Configuration on R7/R9 Configuration of a virtual-link joining area 910 to Area 0 using the area R8 <area#> virtual-link command under the OSPF routing process
VLAN 910
R10
OSPF Area 0
607 608
706
806
708
807
R7
Backbone
OSPF Area 79
R9
VLAN 79
VLAN 910
R10
Configuration of OSPF Routers Using preshared key of myospfkey between Area 0 frame-relay neighbors Configuration of default route to 192.168.254.1 (ASA Firewall) for Internet access Creating Area 910 range summary of 10.10.10.0/24 from R10 R8Filtering of 10.10.10.10/32 on all routing updates from R9 to R7 Configuration of OSPF stub area on R8 Configuration of a Virtual-Link on R7 and R9
OSPF Area 0
607 608
706
806
708
807
R7
Backbone
OSPF Area 79
R9
VLAN 79
VLAN 910
R10
Verification of OSPF Configuration Verify fully functional neighbor relationships on R6, R7, & R8 using the show ip ospf neighbor command Verify no 10.10.10.10/32 route exists on all routers except R10 using the show ip route ospf and show ip ospf database summary commands Verify Stub Area using ip ospf command R8 Verify Virtual-Link is correctly configured by confirming output of show ip ospf virtual-links and show ip ospf interface commands on R7
What We Covered
Route Summarization Route Filtering Functionality Virtual Links Configuration of Advanced OSPF Lab Exercises