All rights reserved.BSCI 5 Học viện mạng Bách Khoa - www.bkacad.com LSA Type 1 Link Types Link 1 Point-to-point connection to another 2 Connection to a transit network IP address of D
Trang 1BSCI Module 3 Lesson 6 - Multiarea OSPF
Operation
Trang 2 Large OSPF Network Issues
OSPF LSA Types
OSPF LSA Types (cont.)
Interpreting the OSPF LSDB and Routing Table
Interpreting the Routing Table
Calculating Costs for E1 and E2 Routes
Configuring OSPF LSDB Overload Protection
Changing the Cost Metric
Trang 3© 2008 Cisco Systems, Inc All rights reserved.
BSCI
3
Học viện mạng Bách Khoa - www.bkacad.com
Large OSPF Network Issues
Hierarchical area routing separates a large internetwork
into multiple areas When you use this technique, interarea routing still occurs, but many of the internal routing operations, such as SPF calculations, remain within individual areas
– Reduced frequency of SPF calculations
– Smaller routing table
– Reduced LSU overhead
Trang 4LSA Types
Trang 5© 2008 Cisco Systems, Inc All rights reserved.
BSCI
5
Học viện mạng Bách Khoa - www.bkacad.com
LSA Type 1 Link Types
Link
1 Point-to-point connection to another
2 Connection to a transit network IP address of DR
3 Connection to a stub network IP network/subnet
number
4 Virtual link Neighboring router ID
Trang 6The Link ID in the OSPF Database
RouterA# show ip ospf database
OSPF Router with ID (10.0.0.11) (Process ID 1)
Router Link States (Area 0) Link ID ADV Router Age Seq# Checksum Link count
Trang 7© 2008 Cisco Systems, Inc All rights reserved.
BSCI
7
Học viện mạng Bách Khoa - www.bkacad.com
LSA Type 1: Router LSA
One router LSA (type 1) for every router in an area:
– Includes list of directly attached links
Identified by the router ID of the originating router
Floods within its area only; does not cross ABR
Link-state ID depends on link type
Trang 8LSA Type 1: Router LSA
Trang 9© 2008 Cisco Systems, Inc All rights reserved.
BSCI
9
Học viện mạng Bách Khoa - www.bkacad.com
Type 1: Router LSAs
The command show ip ospf database router will list all of the Router
LSAs in a database.
Trang 10LSA Type 2: Network LSA
Advertised by the DR of the broadcast network
Floods within its area only; does not cross ABR
Link-state ID is the DR
Trang 11© 2008 Cisco Systems, Inc All rights reserved.
BSCI
11
LSA Type 2: Network LSA
Học viện mạng Bách Khoa - www.bkacad.com
Trang 12Type 2: Network LSAs
The command show ip ospf database network is used to observe a
Network LSA.
Trang 13© 2008 Cisco Systems, Inc All rights reserved.
BSCI
13
Học viện mạng Bách Khoa - www.bkacad.com
LSA Type 3: Summary LSA
Advertised by the ABR of originating area
Regenerated by subsequent ABRs to flood throughout
the autonomous system
By default, routes are not summarized, and type 3 LSA
is advertised for every subnet
Link-state ID is the network or subnet advertised in the
summary LSA
Trang 14LSA Type 3: Summary LSA
Trang 15© 2008 Cisco Systems, Inc All rights reserved.
BSCI
15
Học viện mạng Bách Khoa - www.bkacad.com
Type 3: ABR Summary LSAs
The command show ip ospf database summary is used to display the
network summary LSAs in the database.
Trang 16LSA Type 4: Summary LSA
all other areas in the autonomous system.
Trang 17© 2008 Cisco Systems, Inc All rights reserved.
BSCI
17
Học viện mạng Bách Khoa - www.bkacad.com
Type 4: ASBR Summary LSAs
The command show ip ospf database asbr-summary is used to display
ASBR Summary LSAs
Trang 18LSA Type 5: External LSA
other autonomous systems.
Trang 19© 2008 Cisco Systems, Inc All rights reserved.
BSCI
19
Học viện mạng Bách Khoa - www.bkacad.com
Type 5: Autonomous System External LSAs
The command show ip ospf data base externaldisplays AS External
LSAs
Trang 20LSA Types: 6, 7, 8
Group Membership LSAs are used in an enhancement of OSPF
known as Multicast OSPF (MOSPF) MOSPF routes packets from
a single source to multiple destinations, or group members, which share a class D multicast address Although Cisco supports other multicast routing protocols, MOSPF is not supported as of this writing.
NSSA External LSAs are originated by ASBRs within
not-so-stubby areas (NSSAs
External Attributes LSAs were proposed as an alternative to
running Internal BGP (iBGP), to transport BGP information across
Trang 21© 2008 Cisco Systems, Inc All rights reserved.
BSCI
21
Học viện mạng Bách Khoa - www.bkacad.com
Type 7: Not-So-Stubby Area LSAs
The command show ip ospf database nssa-externaldisplays NSSA
external LSAs
Trang 22LSA Operation Example
Trang 23© 2008 Cisco Systems, Inc All rights reserved.
BSCI
23
LSA Types: 9, 10, 11
Opaque LSAs are a class of LSAs that consist of a standard LSA
header followed by application-specific information
The Information field can be used directly by OSPF or indirectly by
other applications to distribute information throughout the OSPF
domain
Opaque LSAs have been used to add various extensions to OSPF ,
such as traffic engineering parameters for Multiprotocol Label
Switching (MPLS) networks
Học viện mạng Bách Khoa - www.bkacad.com
Trang 24Interpreting the OSPF Database
RouterA# show ip ospf database
OSPF Router with ID (10.0.0.11) (Process ID 1)
Router Link States (Area 0) Link ID ADV Router Age Seq# Checksum Link count
ADV Router: Advertising router; the source router of the LSA
Link count: Total number of directly attached links, used only on
router LSAs
Trang 25© 2008 Cisco Systems, Inc All rights reserved.
BSCI
25
Học viện mạng Bách Khoa - www.bkacad.com
Interpreting the Routing Table
When an ABR receives summary LSAs, it adds them to
its LSDB and regenerates them into the local area
When an ABR receives external LSAs, it adds them to its LSDB and floods them into the area
Trang 26Calculating Costs for E1 and E2 Routes
Trang 27© 2008 Cisco Systems, Inc All rights reserved.
BSCI
27
Học viện mạng Bách Khoa - www.bkacad.com
OSPF LSDB Overload Protection
Excessive LSAs generated by other routers can drain
local router resources
This feature can limit the processing of non-self-generated LSAs for a defined OSPF process
max-lsa maximum-number [threshold-percentage]
[warning-only] [ignore-time minutes] [ignore-count count-number]
[reset-time minutes]
Router(config-router)#
Trang 28The max-lsa Parameters
Parameter Description
maximum-number Maximum number of non-self-generated LSAs that the OSPF process can keep in the OSPF LSBD.threshold-
percentage
(Optional) The percentage of the maximum LSA number, as specified by the
maximum-number argument, at which a warning message is logged The
max-lsa maximum-number [threshold-percentage]
[warning-only] [ignore-time minutes] [ignore-count count-number]
[reset-time minutes]
Router(config-router)#
Trang 29© 2008 Cisco Systems, Inc All rights reserved.
BSCI
29
Học viện mạng Bách Khoa - www.bkacad.com
ip ospf cost interface-cost
Changing the Cost Metric
The cost, or metric, is an indication of the overhead to
send packets over an interface Default = (100 Mbps)/(bandwidth in Mbps)
auto-cost reference-bandwidth ref-bw
RouterA(config-if)#
RouterA(config-router)#
Overrides the default cost calculation Values from 1 to
65535 can be defined
Sets the reference bandwidth to values other than 100
Mbps (legal values range from 1 to 4,294,967 in Mbps)
Trang 30 3.6.3 Drag and Drop: OSPF LSA Types
– Upon completion of this activity, the student will be able to identify the different OSPF LSA types.
Trang 31© 2008 Cisco Systems, Inc All rights reserved.
BSCI
31
Học viện mạng Bách Khoa - www.bkacad.com
Self Check
1 List popular LSA types of OSPF
2 Different between E2 and E1
3 Differentiate O, O IA, O E2/1 in routing table
4 If bandwidth of an interface is 1Gbps, to calculate the
cost for this link, what we must do
Trang 33© 2008 Cisco Systems, Inc All rights reserved.
BSCI
33
Học viện mạng Bách Khoa - www.bkacad.com
Q and A