1. Trang chủ
  2. » Công Nghệ Thông Tin

CCIE Professional Development Large-Scale IP Network Solut phần 5 pps

49 190 0

Đang tải... (xem toàn văn)

Tài liệu hạn chế xem trước, để xem đầy đủ mời bạn chọn Tải xuống

THÔNG TIN TÀI LIỆU

Thông tin cơ bản

Định dạng
Số trang 49
Dung lượng 753,75 KB

Các công cụ chuyển đổi và chỉnh sửa cho tài liệu này

Nội dung

The Link-State Request Packet The link-state request packet, OSPF packet type 3, is sent in response to a router during the database exchange process.. The link-state update packet, OSP

Trang 1

elected as master and the other as slave The master is responsible for sending the DBD packets when either of the following is true:

• When the slave acknowledges the previous DBD packet by echoing the DD sequence number

• When a set number of seconds (configured by the retransmit interval) elapses without an acknowledgment, in which case the previous DBD packet is retransmitted

The slave is not allowed to form the DBD packet DBD packets are sent in response only to DBD packets received from the master If the DBD packet received from the master is new, a new packet is sent; otherwise, the previous DBD packet is re-sent

If a situation arises when the master has finished sending the DBD packet, and the slave still has packets to send, the master sends an empty DBD packet with the M (more) bit set The M bit is used to indicate that there are still more packets to send At this point, the master sends an empty DBD packet with the M bit set

Note that when a router receives a DBD packet that contains an MTU field larger than the largest

IP datagram, the router will reject the packet Figure 9-4 shows a DBD packet and all the fields

Trang 2

When set to 1, this bit indicates that more DBD packets are to follow

As the name indicates, this field consists of the header of each LSA and describes pieces

of the database If the database is large, the entire LSA header cannot fit into a single DBD packet, so a single DBD packet will have a partial database The LSA header contains all the relevant information required to uniquely identify both the LSA and the LSA's current instance

The Link-State Request Packet

The link-state request packet, OSPF packet type 3, is sent in response to a router during the database exchange process This request is sent when a router detects that it is missing parts of the database or when the router has a copy of LSA older than the one it received during the database exchange process Figure 9-5 shows fields in the link -state request packet The request packet contains each LSA specified by its LS type, link-state ID, and advertising router This uniquely identifies the LSA

Figure 9-5 Link-State Request Packet

When the router detects a missing piece of the database, it will send the database request

packet In this request, the router indicates to the LSA what it hopes to find The LSA is indicated

by link type, link ID, and advertising router When the router receives a response, it truncates the LSA from the request and then sends another request for the unsatisfied LSAs This

retransmission of unsatisfied LSAs occurs during every retransmission interval The

retransmission interval is a configurable constant; the default value is 5 seconds but can be modified according to the needs of an individual setup

Trang 3

The link-state update packet, OSPF packet type 4, is sent in response to the link-state request packet and implements the flooding of LSAs The link-state update packet carries a collection of LSAs one hop from its origin Several LSAs can be included in a single update

Each LSA must be acknowledged In response to the link-state update, a link-state

acknowledgment packet is sent to multicast addresses on the networks that support multicast If retransmission of certain LSAs is necessary, the retransmitted LSAs are always sent directly to the neighbor

Figure 9-6 shows the link-state update packet, which contains the number of LSAs included in this update; the body of the link-state update packet consists of a list of LSAs Each LSA begins with a common 20-byte header

Figure 9-6 Link-State Update Packet: #1 SAs and LSAs

The Link-State Acknowledgment Packet

The link-state acknowledgment packet, OSPF packet type 5, is sent in response to the link -state update packet An acknowledgment can be implicitly achieved by sending the link-state update packet Acknowledgment packets are sent to make the flooding of LSAs reliable: Flooded LSAs are explicitly acknowledged Multiple LSAs can be acknowledged in a single link-state

acknowledgment packet, and this acknowledgment can be delayed

Depending on the state of the sending interface and the sender of the corresponding link -state update packet, a link-state acknowledgment packet is sent either to the multicast address

"AllSPFRouters," to the multicast address "AllDRouters," or as a unicast

The advantages to delaying the link-state acknowledgment are:

• Packing of multiple LSAs In this way, each LSA can be acknowledged one by one, so the router does not have to create many small acknowledgment (ack) packets

• Several neighbor LSAs can be acknowledged at once by multicasting the

acknowledgment

• Randomizing the acknowledgment of different routers on the same segment This is beneficial because all routers are not sending ack packets simultaneously, which could cause a bottleneck

Trang 4

1 Router link state

2 Network link state

3 Summary link state (type 3)

4 Summary link state (type 4)

5 External link state

All link states share a common LSA header because every link state must advertise some

common information Figure 9-7 shows the common 20-byte LSA header that is shared by all types of LSAs

Figure 9-7 Common 20-Byte LSA Header

The common LSA header contains the following information:

Trang 5

field is set to the router ID of the autonomous system border router (ASBR) For external LSAs, it is set to the IP network number of the external destination being advertised

Advertising router

This field is set to the router ID of the router originating the LSA For summary types 3 and 4, it is set to the IP address of the area border router (ABR)

Link-state sequence number

This value describes the sequence number of the LSA; it must be set to a unique

number, and successive instances must be given successive number values This field is used to detect old or duplicate LSAs

The Router LSA (Link-State Type 1)

Every OSPF router sends this LSA, which defines the state and cost of the routers' links to the area All the routers linked to a single area must be described in a single LSA; the router LSA is flooded throughout only a single area Examine the sample network shown in Figure 9-8

Figure 9-8 Sample Network Used to Explain Different LSA Types

R1 and R2 are area routers connected to a single area only They have connections to the stub network (do not confuse a stub network with stub area) on Ethernet 0 Although Ethernet is a broadcast network, it is treated as a stub network because it has no OSPF neighbor

Therefore, no network LSA is originated for Ethernet, so R1 and R2 are connected to a stub network A broadcast network on the second Ethernet interface that connects all four routers (R1 through R4) is not treated as stub because all the routers have adjacencies on them; therefore, a

Trang 6

to area 1 and area 0 Both R3 and R4 will originate two router LSAs: one for area 1 and one for area 0

Figure 9-9 shows the area setup for R3 in more detail R3 will originate two separate router LSAs: one for area 0 and one for area 1 R3 has three active interfaces connected to it: two Ethernet interfaces in area 1 and the point-to-point serial interface in area 0

Figure 9-9 Area Setup for Router R3

Figure 9-10 shows the router LSA on R3 in area 1 This is the output of show ip ospf

datarouter 192.1.1.3 (router ID of R3)

Figure 9-10 Router LSA for R3 in Area 1

Trang 7

Figure 9-11 shows the router LSA for R3 in area 0

Figure 9-11 Router LSA for R3 in Area 0

The following fields appear in the router LSA:

Bit E

This bit indicates the status of the router in the OSPF network When set to 1, it indicates that the router is an ASBR When set to 0, the router is not an ASBR In Figure 9-10, for example, notice that bit E is 0, which means that this router is not an ASBR

Trang 8

This bit is used to indicate whether the router is an area border router When the bit is set

to 1, the router is an ABR When the bit is set to 0, the router is an area router In Figure 9-10, bit B is set to 1, which indicates that R3 is an ABR

Number of links

This field indicates the number of active OSPF links that the router has in a given area If the router is an ABR, it will have separate values for each area R3 has three active OSPF links, but two of these links are in area 1 and one is in area 0 Notice in Figure 9-

10 that the number of links is 2; whereas in Figure 9-11, the number of links is 1

Link ID

This value changes according to the type of network If the connected network is a to-point network, this field is set to the router ID of the neighbor For a transit (broadcast) network, this field is set to the IP interface address of the designated router For a stub network, this value is set to the IP network number For a virtual link, it is set to the router

point-ID of the neighbor

In Figure 9-10 and Figure 9-11, all types of links exist in the router LSA of R3 For area 1, R3 is connected to a stub network and a transit network Therefore, the stub network link ID is set to 192.1.4.0 (IP subnet address) The transit network link ID is set to 192.1.1.4 (IP interface address of the DR) R3 also has a connection to area 0 and originates a router link state for area 0 as well In area 0, R3 has a point-to-point

connection, so the link ID is set to 192.12.1.1 (the router ID of the neighbor)

Link data

This value changes according to the type of network For point-to-point and transit

networks, this value is set to the router's interface address on the link For a stub

network, the link data is set to the subnet mask of the interface As Figure 9-10 and Figure 9-11 show, the stub network link data is set to 255.255.255.0, the IP subnet mask of the interface The transit network link data is set to 192.1.1.3, the IP interface address on R3 on the transit network The point-t o-point link data is set to 18.10.0.7, the

IP interface address of R3 on this link

Trang 9

and is identified by the IP interface address of the designated router During a designated router failure, a new LSA must be generated for the network The network LSA is flooded throughout a single area and no further

If the designated router were to go down, the backup designated router would take over The network LSA originated by the designated router (the old DR now) also would be flushed and a new network LSA would be originated by the BDR (the new DR)

The BDR changes the link-state ID to its own IP interface address on the transit network Figure 9-12 shows the connected routers that are neighbors on the transit network This figure indicates the interface addresses and the router ID of the DR

Figure 9-12 Address of the Routers in the Transit Network for which the Network LSA Is

Generated

Figure 9-13 shows the network LSA that was originated by the DR (R4, in this case) This

output can be viewed by using the show ip ospf data network 192.1.1.4 command (interface

address of DR)

Figure 9-13 Network LSA for Transit Network of 192.1.1.0

Trang 10

The following fields appear in the network LSA:

Network mask

Describes the IP subnet mask of the network for which the LSA is generated All routers attached to this network should have the same IP subnet mask to become adjacent In Figure 9-13, for example, the subnet mask for network 192.1.1.0 is 255.255.255.0

Attached router

Contains a list of routers attached to this transit network All attached routers are

identified by their router ID In Figure 9-12, for example, R4 attaches to four routers on Ethernet, all three of which are its OSPF neighbors Figure 9-13 shows that all four routers are attached routers, including router R4

Summary Link-State Types 3 and 4

Summary type 3 propagates information about a network outside its own area Many network administrators assume that summary LSA generates information outside the area by

summarizing routes at the natural network boundary, although this has been proven untrue For example, a summary LSA will not summarize all subnets of a major network 131.108.0.0 in a /16 route

Summary in OSPF does not mean that summarize occurs at the classful network boundary In this case, summary means that the topology of the area is hidden from other areas to reduce routing protocol traffic For summary type 3, the ABR condenses the information for other areas and takes responsibility for all the destinations within its connected areas

For summary type 4, the ABR sends out information about the location of the autonomous system border router

An ABR is used to connect any area with a backbone area It could be connected to any number

of areas only if one of them is a backbone area An autonomous system border router (ASBR) is

Trang 11

Figure 9-14 Location of ABR and ASBR for Summary Link States

Figure 9-15 shows the output of show ip ospf data summary on router R4

Figure 9-15 Summary LSA Originated by ABR

TIP

Remember that summary in OSPF does not mean summarizing at the natural network boundary

In this case, summary means that you hide the topology of the area from other areas to reduce routing protocol traffic

Notice in Figure 9-14 that router R4 is sending an update to area 0 and is crossing the major network 18.0.0.0 The summary output in Figure 9-15 shows that it does not send

Trang 12

from area 0, and takes responsibility for all the networks in area 1 by announcing itself as the advertising router

The default route is always sent as an external LSA For a stub area, where an external LSA is not allowed, the ABR sends a default route through summary LSA to describe all the external destinations

External link states are flooded throughout the OSPF domain, except for the stub area Summary LSA hides the topology between areas, and therefore advertises the location of the ASBRs to all the routers within the OSPF domain that are not in the same area as the ASBR

The ABR sends a summary link-state type 4 by setting itself as the advertising router As shown

in Figure 9-14, R7 is the ASBR R3 and R4 advertise summary type 4 link states, which set the link state ID to R7's router ID and set their route ID as the advertising router

Router R4 advertises the location of the ASBR (R7) in area 1 and changes the advertising router field to its own router ID (see Figure 9-16) Router R4 also does not change the link-state ID field because it needs to inform all the routers within area 1 that although it (R4) is not the ASBR,

it knows how to reach the ASBR

Figure 9-16 Summary Type 4 Advertised by ABR

External LSA (Link-State Type 5)

External LSA describes destinations outside the OSPF domain A route received via another routing protocol and redistributed into OSPF is considered external to OSPF Any destination that

is not originated by the local OSPF process is also considered external

Refer to Figure 9-14 Router R7 redistributes 140.10.0.0 into OSPF; 140.10.0.0 was not

originated by the local OSPF process In Figure 9-17, R7's link-state ID field is set to the

external destination advertised (140.10.0.0), and the advertising router is set to the router ID of router R7 (131.108.1.1) This LSA is flooded throughout the network unaltered

Figure 9-17 External LSA Originated by R7

Trang 13

Bit E is also used for external LSA, and indicates the metric type being used If this bit is set to 1, the router is advertising the external destination as metric type 2 If it's set to 0, the router is advertising the external destination as type 1 Cisco defaults to external type 2 Figure 9-17 shows the output of external LSA originated by the ASBR (R7)

External LSA can be propagated in two ways:

choices: via R1 or via R2 For external type 1, R3 selects R2 because the total cost of reaching destination 140.10.0.0 is 10 (8 + 2, internal + external) and the cost of reaching the network via R1 is 11

Figure 9-18 Route-Selection Process Using External Type 1 and External Type 2

Trang 14

External type 2

This considers only the cost of the ASBR's link to the external destination The idea behind external type 2 is that it is more expensive to leave the autonomous system than

to pass traffic within the autonomous system

R3 has two ways to reach network 140.10.0.0: via R1 or R2 For external type 2, R3 selects R1 because the external cost of reaching network 140.10.0.0 is advertised lower via R1 External type 2 ignores the internal cost

Another important aspect of external LSA is the forwarding address This is the address to which

data traffic to the external destination should be forwarded If the external destination is learned

on a network, the forwarding address is advertised by the ASBR, in case OSPF is enabled on the transit network If OSPF is not enabled on the transit network, the ASBR becomes responsible for forwarding the traffic The forwarding address is set to 0.0.0.0

In Figure 9-19, R1 and R3 are running BGP R1 is redistributing BGP routes into OSPF and learns 140.10.0.0 from R3 via BGP before redistributing the BGP route into OSPF

Figure 9-19 Forwarding Address Concept for External LSA

Trang 15

OSPF sets 131.108.10.1 (IP interface address of R3) as the forwarding address if R1 has OSPF

on its Ethernet interface This is done to inform other OSPF routers in the network that if they have any other shorter path to reach 131.108.10.1, they can forward traffic through that path instead of forwarding traffic to R1 If OSPF is disabled on the Ethernet, the forwarding address is set to 0.0.0.0, and all traffic is forwarded to R1

Forwarding addresses on all routers should be OSPF inter-area or intra-area routes within the routing table Otherwise, the external route will exist in the database but not in the routing table

In the configuration section, we explain how the forwarding address can be set to a non-OSPF inter-area or intra-area route

Figure 9-19 shows the network topology in which R1 and R3 are running BGP, R1 is

redistributing BGP routes into OSPF, and the forwarding address is set to 131.108.10.1 All routers within this OSPF domain should have an intra- or inter-area route to 131.108.10.1 in their routing table Otherwise, the route to 140.10.0.0 will not be installed in the routing table

The OSPF Area Concept

One of the most important concepts in OSPF is the existence of hierarchy and areas OSPF allows collections of contiguous networks to be grouped together Such a group, together with the

routers maintaining interfaces to any of the included networks, is called an area Each area runs a

separate copy of the basic link-state routing algorithm

Rather than treating the entire autonomous system as a single link-state domain, the topology of

an area can be hidden It is then invisible from the outside of the area Similarly, routers in other areas know nothing of the topology outside their own area, which markedly reduces routing traffic

Trang 16

Now that multiple areas are created in the network, there is no need for all the routers in the autonomous system to hold the entire link-state database Only routers in the same area should have identical databases

With the creation of areas, routing in the autonomous system takes place at two levels: intraarea (connecting to destinations within the area) and interarea (connecting to destinations outside the

local area)

By design, the OSPF protocol forces hierarchy in the network For OSPF to be implemented on any network, hierarchical structure must exist or must be created The concept of area forces the administrator to create the hierarchy in the network

With the introduction of interarea routing comes the concept of the backbone area All traffic that

must flow between areas has to go through the backbone area The OSPF backbone is the special OSPF area 0 The OSPF backbone always contains all ABRs and is responsible for distributing routing information between non-backbone areas The backbone must be contiguous with other areas If it is not, virtual links must be created to make the backbone contiguous so that the flow of traffic is uninterrupted

Traffic cannot flow without the backbone's presence However, if the entire network is only a single area, area ID is unimportant because it does not need to be the backbone area If a single area is set up as a non-backbone and a second area is introduced, the second area should be established as the backbone because all interarea traffic must pass through it

The main advantage to the OSPF hierarchy is that it hides the topology of other areas, which results in a marked reduction in routing protocol traffic An area can be one or more networks, one or more subnets, and any combination of networks and subnets If further reduction of routing updates is required, networks or subnets can be summarized A contiguous address block is used for summarization

Other than area 0, OSPF uses several types of areas The Cisco environment uses four areas:

• Regular area

• Stub area

• Totally stubby area

• Not so stubby area (NSSA)

Each of these area types is discussed in more detail in the following sections For information on configuring these areas, see the section entitled "Configuring Areas in OSPF," later in this

Trang 17

The flapping of external routes is a serious difficulty with regular areas For example, assume that

an autonomous system was sending 100 routes via BGP, and you then redistributed those routes into OSPF A problem with your neighbor's AS could adversely affect your network Therefore, it

is good practice to aggregate all contiguous external routes

TIP

Unless optimal routing is very critical, avoid redistributing routes learned from other autonomous systems Instead, let OSPF generate a default route

Stub Area

As mentioned in the previous section, instability in neighboring ASs can cause scaling problems

in a network However, most administrators have a critical need for intelligent routing in the core

or distribution sites Usually, the core sites are high-CPU boxes and can handle flaps much more gracefully than remote locating low-end routers

The administrator needs full routing information in certain parts of the network, but you cannot

allow routing information into other areas OSPF's solution is the stub area No external

information is permitted, so no external LSA is injected into the stub area Interarea traffic is still injected into a stub area, so flaps from other areas still affect the local area

For external destinations, the ABR propagates a summary default route All routers in a stub area must agree on the stub area because if the E bit in the Optional field does not match on all the routers, they will not form adjacency If any router in a stub area has a mismatched E bit, all other routers will dissolve their adjacency with the router

Totally Stubby Area

For very large networks, it is quite common to have a large number of areas It also is not

uncommon to have low-end routers in these areas Therefore, receiving a large amount of

summary LSA data is a cause for concern As a solution, OSPF created the totally stubby area

As with a stub area, external LSAs are not advertised in a totally stubby area; unlike a stub area, however, a totally stubby area does not pass interarea traffic Now, even summary link states are not propagated into this area This assists routers that are ABRs for multiple areas because the router will not have to process the summary LSAs, and will not have to run SPF for interarea routes

This saves memory as well—now the ABR does not have to create a summary link state for every area to which it is connected; it creates only a summary link state for area 0

Trang 18

Enabling and Configuring OSPF

The first step toward running any routing protocol on a network is enabling the routing protocol OSPF requires a process-ID, which uniquely identifies the OSPF process for the router A single router can use multiple OSPF processes The concept of process-ID is different in OSPF than the concept of the autonomous system in Enhanced IGRP or BGP In OSPF, the process-ID is local

to the box and is not carried in routing protocol packets

To enable OSPF in the global configuration mode, you must define the networks on which OSPF will be enabled Finally, you must assign those networks to their specific areas A single interface can belong to a single area only; if the interface is configured with a secondary address, both the primary and secondary addresses should belong to the same area

The initial OSPF configuration is as follows:

router ospf process id

network address wild-card mask area area-id

Figure 9-20 shows a sample network, in which you want to run an OSPF router R1 has multiple interfaces connected to it You will bring one Ethernet (network 192.1.1.0) into area 0 and the other two interfaces into area 1

Figure 9-20 Sample Network to Enable OSPF in Multiple Areas

Trang 19

The first logical OR is between the network statement and the wildcard mask:

Trang 20

By defining the loopback as the Router, you avoid unnecessary changes in the router ID if the physical interface were to fail The loopback is a virtual interface in Cisco that never fails, as long

as the router is running

After configuring OSPF on the router, ensure that OSPF is enabled by using the show ip ospf

interface command:

Serial4/0.1 is up, line protocol is up

Internet Address 10.1.1.2/30, Area 1

Process ID 1, Router ID 131.108.1.1, Network Type POINT_TO_POINT, Cost: 64

Transmit Delay is 1 sec, State POINT_TO_POINT,

Timer intervals configured, Hello 10, Dead 40, Wait 40, Retransmit 5 Hello due in 00:00:05

Neighbor Count is 1, Adjacent neighbor count is 1

Adjacent with neighbor 10.1.23.1

Suppress hello for 0 neighbor(s)

The next section discusses some of the uncommon interface parameters and explains instances

in which they become necessary

OSPF Interface Configuration Constants

OSPF has two types of constants:

Both of these constant types are discussed in more detail in the following sections

Fixed Constants

The OSPF fixed constants are defined as follows:

Link State Refresh

Trang 21

Min Link State Interval

The router must wait a minimum amount of time before it can reoriginate the same LSA This waiting period is set to five seconds

Max Age

This is the maximum amount of time that the LSA can remain in the database when a refresh is not received When the LSA age field reaches the maximum age, the LSA should be reflooded for the purpose of removing it from the database and the routing table The value of MaxAge is one hour

LSInfinity

MaxAge indicates that the destination described in the LSA is unreachable LSInfinty is

an alternative to premature max aging used for summary and external LSAs Instead of the router sending a MaxAge route, it can send the route with LSInfinity to indicate that the destination is unreachable The value is 0xffffff

Default Destination

This is always set to 0.0.0.0 and should be advertised as the external LSA in a regular area, or as summary type 3 in a stub area For NSSA, it is advertised as the type 7 link state The network mask associated with this LSA should always be 0.0.0.0 as well

Initial and Max Sequence Number

This is the value of initial sequence of LSAs and should always be 0x80000001 The max sequence indicates the last instance of a sequence number and is always set to 0x7fffffff

Configurable Constants

The OSPF configurable constants are defined as follows:

Interface Output Cost

This is the cost of sending a packet on the interface, and is expressed as the link -state metric The cost must never be zero In Cisco implementation, cost is determined by dividing 100 Mb by the actual bandwidth of the interface

For serial, it is always 108/T1= 64, by default For Ethernet, it is 10; for FDDI, it is 1 If

higher bandwidth is introduced, the cost per interface must be modified by using the ip

ospf cost command To avoid this interface costing, Cisco has introduced a new

command for router OSPF configuration:

Trang 22

This command enables the router to divide the reference bandwidth with the bandwidth

on the interface That way, it becomes unnecessary to change the cost per interface By default, the router still uses 108 as the reference bandwidth for backward-compatibility purposes

Typically, the ip ospf cost command is very useful in Frame Relay topology In Figure 9-21, for example, the hub router has different sizes of PVC for different routers In situations like this, it is always best to configure a point-to-point subinterface, so that each one will have a different cost according to the PVC

Figure 9-21 Frame Relay Setup with Different PVC Values

On router D3, a point-to-point subinterface is configured so that the cost is set according

Trang 23

This is the amount of time between LSA retransmission for the adjacency on the

interface, and it also can be used with DBD and LS request packets This is useful when either the link or the remote router is slow, which causes the local router to retransmit packets repeatedly The command to change the retransmission timer in Cisco is as follows:

ip ospf retransmit-interval seconds

The default value is five seconds This value also appears in the output of show ip ospf

interface command, as shown here:

Serial4/0.1 is up, line protocol is up

Internet Address 10.1.1.2/30, Area 1

Process ID 1, Router ID 131.108.1.1, Network Type

POINT_TO_POINT, Cost: 64

Transmit Delay is 1 sec, State POINT_TO_POINT,

Timer intervals configured, Hello 10, Dead 40, Wait 40,

Retransmit 5

Hello due in 00:00:05

Neighbor Count is 1, Adjacent neighbor count is 1

Adjacent with neighbor 10.1.23.1

Suppress hello for 0 neighbor(s)

command to change the interface transmit-delay is as follows:

ip ospf transm it-delay seconds

Router

Trang 24

ID Router ID is used to identify a router; in Cisco implementation, it is the loopback interface address on the router If the loopback is not configured, the highest IP address

on the router is used

For the previous configuration, area 1 is defined as a stub For regular areas, only the

network statement with an area is required

Hello/ Dead Interval

Hello is used to discover OSPF neighbors; Cisco defaults to 10 seconds on broadcast and point-to-point networks, and 30 seconds on non-broadcast multiaccess networks

The dead interval is the amount of time a router waits for a hello packet before declaring

the neighbor dead Cisco defaults to 40 seconds on point-to-point and broadcast

networks, and defaults to 120 seconds on NBMA networks

Hello/Dead timers should match on all the routers that connect to a common subnet Cisco has enhanced its implementation so that, by default, if a router misses four hello packets, the neighbor is declared dead This can be a problem over slow links OSPF sends periodic database updates, and this flooding of packets may cause the routers to miss hellos, causing loss of adjacency The new enhancement causes the dead timer to reset every time the router receives a packet from the neighbor

OSPF priority

This is used to decide the designated router on the transit network The router with the highest priority becomes the designated router, by default When a router is elected as the designated router and a new router appears on the segment with a higher priority, the new router cannot force election and must accept the designated router

To force the election of a new designated router, you must remove the existing

designated and backup designated routers from the segment A router with zero priority can never be elected as the designated router The OSPF priority command is as follows:

ip ospf priority value

Ngày đăng: 14/08/2014, 13:20