SAT01 OSPF

Embed Size (px)

Citation preview

  • 7/27/2019 SAT01 OSPF

    1/28

    HUAWEI

    n n ro uc on oProtocol

  • 7/27/2019 SAT01 OSPF

    2/28

    HUAWEI

    ome as c oncep s o

    Protoco l

    Router IDA 32bit signless round number is the onlyidentification of a router, and this is unique

    in the entire autonomous system.

    Number of the ProtocolThe number of OSPF Protocol is 89.

    IP Header(Protocol # 89)

    PSPF Packet

  • 7/27/2019 SAT01 OSPF

    3/28

    HUAWEI

    The Topological Structure of the Network

    Described by OSPF through the Link Status

  • 7/27/2019 SAT01 OSPF

    4/28

    HUAWEI

    rocess o ou e a cu a ngby OSPF

  • 7/27/2019 SAT01 OSPF

    5/28

  • 7/27/2019 SAT01 OSPF

    6/28

    HUAWEI

    e g or a eMachine

  • 7/27/2019 SAT01 OSPF

    7/28

    HUAWEI

    acency e a on e - pProcess between Two Routers

  • 7/27/2019 SAT01 OSPF

    8/28

    HUAWEI

    DR(Designated Router)

  • 7/27/2019 SAT01 OSPF

    9/28

    HUAWEI

    NBMA and Point-to-Multipoint

  • 7/27/2019 SAT01 OSPF

    10/28

    HUAWEI

    OSPF Area Division

  • 7/27/2019 SAT01 OSPF

    11/28

    HUAWEI

    Interarea Route Calculation

  • 7/27/2019 SAT01 OSPF

    12/28

    HUAWEI

    ac one reas an r uaConnection

  • 7/27/2019 SAT01 OSPF

    13/28

    HUAWEI

    x erna ommun ca onwith the Autonomous System

  • 7/27/2019 SAT01 OSPF

    14/28

    HUAWEI

    STUB Areas and Route Convergence

  • 7/27/2019 SAT01 OSPF

    15/28

    HUAWEI

    LSA Classification

    Router-LSA is created by each router. It describes the link status and overhead of the router andtransfers themto the whole area.

    Network-LSA is created by DR. It describes the link status of the local stub network and transfers it

    to the whole area.

    Net-Summary-LSA is created by ABR. It describes the routes of a certain stub network inside thearea and transfers themto the related area.

    Asbr-Summary-LSA is created by ABR. It describes the routes to ASBR and transfers them to the

    related area.

    AS-External-LSA is created by ASBR. It describes the routes to the outside of AS and transfers them

    to the whole AS (except the STUB area).

    n er ace ass ca on an

  • 7/27/2019 SAT01 OSPF

    16/28

    HUAWEI

    n er ace ass ca on an

    Router Classfication

    A ccord ing t o d i f fe r en t l ink l aye r m e d ia , t he O S P F

    p ro toco l i s d iv ided i n to t he fo l l owing 4 t ypes o f

    n e t w o r k s : B r o a d c a s t , N B M A , P o in t - t o -P o in t a n d

    P o i n t - t o - M u l t i p o i n t

    A ccord ing t o t he d i f f e r en t ro l e s p l ayed in t he

    a u t o n o m o u s s y s t e m , r o u t e r s c a n b e d i v i d e d i n t o :

    IA R , A B R , B B R a n d A S B R A ccord ing t o t he d i f f e r en t t ypes , t he s t a tu s o f an

    i n t e r f a c e t h a t r u n s t h e O S P F p r o t o c o l c a n b e d i v i d e d

  • 7/27/2019 SAT01 OSPF

    17/28

    HUAWEI

    Why OSPF Is Loop-Free?

    Each LSA (Link Status Broadcast) has marked out

    the creator (marked with the Router ID of the router

    that creates the LSA). The rest routers only take

    charge of transmission. In such a way, there will be

    no change or misunderstanding to the messages in t

    course of transmission.

    The route algorithm is SPF. The calculation result is

    tree and the routes are the leaf nodes. From the root

    en o un e

  • 7/27/2019 SAT01 OSPF

    18/28

    HUAWEI

    en o un e

    Protocol

    S c a l e o f n e t w o r k There are more than 10 routers in the network; Middle- or large-scale network.

    T o p o lo g y s t r u c t u r e o f n e t w o r k

    The topology structure of network is the form of a mesh and each two random routers have the deman

    for connection.O t h er sp e ci a l d e m a n d s

    It requires the routes to be able to converge very quickly when in change and the overhead of the own

    network of the route protocol to be as low as possible.

    D e m a n d s o n t h e r o u t e r i t s e l f

    In running the OSPF protocol, there are certain demands on the processing capability of the CPU of therouter and on the size of memory. The routers with a poor performance is not recommended to run the

    OSPF protocol.

    on gure e

  • 7/27/2019 SAT01 OSPF

    19/28

    HUAWEI

    on gure e

    Protocol-Divide the Area

    Basic principles for area division

    Divide according to geographical areas oradministrative regions

    Divide according to the high end routers of thenetwork

    Divide according to the law of IP address

    Some restrictive conditions

    Scale of the area

    Connectivity to the backbone area

    ABR processing capability

    e as c on gura on or

  • 7/27/2019 SAT01 OSPF

    20/28

    HUAWEI

    e as c on gura on or

    Starting the OSPF Protocol

    Configure the Router ID of the router

    Quidway(config)#router id A.B.C.D

    Start the OSPF ProtocolQuidway(config)#router ospf

    Configure the OSPF Area

    Quidway(config-router)#networkaddresswildcard-maskarea area-id

  • 7/27/2019 SAT01 OSPF

    21/28

    HUAWEI

    Convergence and Virtual

    Links

    un e n e

  • 7/27/2019 SAT01 OSPF

    22/28

    HUAWEI

    un e n e

    Network

    sp ay e unn ng a us

  • 7/27/2019 SAT01 OSPF

    23/28

    HUAWEI

    sp ay e unn ng a us

    of OSPF

    show ip ospf

    show ip ospf error

    show ip ospf interface

    show ip ospf neighbor

    sp ay e e ugg ng

  • 7/27/2019 SAT01 OSPF

    24/28

    HUAWEI

    sp ay e e ugg ngInformation of the OSPF

    debug ip ospf event

    debug ip ospf lsadebug ip ospf packet

    debup ip ospf spf

  • 7/27/2019 SAT01 OSPF

    25/28

    HUAWEI

    OSPF Trouble Shooting

    Configuration troubleshootingFirst check whether the OSPF Protocol has been started and configured properly

    Local area troubleshooting

    Check whether the protocol between two

    directly connected routers runs properly.

    Global area troubleshootingConsider from the aspect of the network topology structure and check whether the

    area is properly configuredOther hard questions

    To act according to the practical situations.

    If the OSPF does not run properly, checkaccording to the

    following steps:

    au s e ween e

  • 7/27/2019 SAT01 OSPF

    26/28

    HUAWEI

    au s e ween eNeighboring Routers

    E i A Di i i

  • 7/27/2019 SAT01 OSPF

    27/28

    HUAWEI

    Errors in Area Division

    Oth P ibl F lt

  • 7/27/2019 SAT01 OSPF

    28/28

    HUAWEI

    Other Possible Faults