dynamicrouting-v3 0

Upload: hoclieumo

Post on 31-May-2018

219 views

Category:

Documents


0 download

TRANSCRIPT

  • 8/14/2019 Dynamicrouting-V3 0

    1/30

    2002, Cisco Systems, Inc. All rights reserved.

  • 8/14/2019 Dynamicrouting-V3 0

    2/30

    2002, Cisco Systems, Inc. All rights reserved. 2

    nh tuyn ng(Dynamic routing protocols)

  • 8/14/2019 Dynamicrouting-V3 0

    3/30

    2002, Cisco Systems, Inc. All rights reserved. ICND v2.01-3

    Ni dung bi hc

    Phn I

    Distance Vector routing

    Link State routing

    Phn II

    RIP

    Cc tnh nng Cu hnh RIP trn router

    IGRP

    Cc tnh nng Cu hnh IGRP trn router

    EIGRP

    Cc tnh nng Cu hnh EIGRP trn router

    OSPF

    Cc tnh nng Cu hnh OSPF trn router

  • 8/14/2019 Dynamicrouting-V3 0

    4/30 2002, Cisco Systems, Inc. All rights reserved. 4

    Phn IDistance Vector & Link State

    Protocols

  • 8/14/2019 Dynamicrouting-V3 0

    5/30 2002, Cisco Systems, Inc. All rights reserved. ICND v2.01-5

    Distance Vector Routing Protocols

    Router chuyn bng routing cho tt c cc neighbor theonhng khong thi gian nht nh v tnh ton cc vectorkhong cch.

  • 8/14/2019 Dynamicrouting-V3 0

    6/30 2002, Cisco Systems, Inc. All rights reserved. ICND v2.01-6

    Sources of Information and Discovering Routes

    Routers tm route tt nht t bng routing ca neighbors.

  • 8/14/2019 Dynamicrouting-V3 0

    7/30 2002, Cisco Systems, Inc. All rights reserved. ICND v2.01-7

    Selecting the Best Route with Metrics

  • 8/14/2019 Dynamicrouting-V3 0

    8/30

  • 8/14/2019 Dynamicrouting-V3 0

    9/30 2002, Cisco Systems, Inc. All rights reserved. ICND v2.01-9

    Link-State Network Hierarchy Example

    Minimizes routing table entries

    Localizes impact of a topology change withinan area

  • 8/14/2019 Dynamicrouting-V3 0

    10/30 2002, Cisco Systems, Inc. All rights reserved. ICND v2.01-10

    Tm tt Link State

    Link-state routing uses LSAs, a topological database, the SPFalgorithm, the resulting SPF tree, and a routing table of pathsand ports to each network.

    Link-state routing algorithms maintain a complex database of

    the network's topology by exchanging LSAs with other routersin a network.

    Link-state routing may flood the network with LSAs duringinitial topology discovery and can be both memory- and

    processor-intensive. Balanced hybrid routing protocols combine aspects of both

    distance vector and link-state protocols.

  • 8/14/2019 Dynamicrouting-V3 0

    11/30 2002, Cisco Systems, Inc. All rights reserved. ICND v2.01-11 2002, Cisco Systems, Inc. All rights reserved. 11

    Phn II

    Dynamic routing Protocols:RIP-IGRP v EIGRP-OSPF

  • 8/14/2019 Dynamicrouting-V3 0

    12/30

    2002, Cisco Systems, Inc. All rights reserved. ICND v2.01-12

    Maximum is 6 paths (default = 4)

    RIP Overview

    Hop-count metric selects the path

    Routes update every 30 seconds

    Routes invalid timer 180 seconds

    Holdown timer 180 seconds

    Flush timer 240 seconds

  • 8/14/2019 Dynamicrouting-V3 0

    13/30

    2002, Cisco Systems, Inc. All rights reserved. ICND v2.01-13

    RIP Configuration

    Starts the RIP routing process

    Router(config)#router rip

    Router(config-router)#network network-number

    Selects participating attached networks

    Requires a major classful network number

  • 8/14/2019 Dynamicrouting-V3 0

    14/30

    2002, Cisco Systems, Inc. All rights reserved. ICND v2.01-14

    RIP Configuration Example

  • 8/14/2019 Dynamicrouting-V3 0

    15/30

    2002, Cisco Systems, Inc. All rights reserved. ICND v2.01-15

    IGRP Composite Metric

    Bandwidth

    Delay

    Reliability

    Loading

    MTU

    Routes update default every 90 seconds

    Invalid timer 3x90 seconds

    Holdown timer 3x90 + 10 seconds

    Flush timer 7x90 seconds

  • 8/14/2019 Dynamicrouting-V3 0

    16/30

    2002, Cisco Systems, Inc. All rights reserved. ICND v2.01-16

    IGRP Unequal Multiple Paths

    Maximum 6 paths (default = 4)

    Within metric variance

    Next-hop router closer to destination

  • 8/14/2019 Dynamicrouting-V3 0

    17/30

    2002, Cisco Systems, Inc. All rights reserved. ICND v2.01-17

    Configuring IGRP

    Router(config-router)#network network-number

    Selects participating attached networks

    Router(config)#router igrp autonomous-system

    Defines IGRP as the IP routing protocol

  • 8/14/2019 Dynamicrouting-V3 0

    18/30

    2002, Cisco Systems, Inc. All rights reserved. ICND v2.01-18

    IGRP Configuration Example

  • 8/14/2019 Dynamicrouting-V3 0

    19/30

    2002, Cisco Systems, Inc. All rights reserved. ICND v2.01-19

    Verifying the IGRP Configuration

    Router#show ip protocols

    Router#show ip route

    Router#show ip igrp transactions

    Router#debug ip igrp events

    Router#debug ip igrp transactions

  • 8/14/2019 Dynamicrouting-V3 0

    20/30

    2002, Cisco Systems, Inc. All rights reserved. ICND v2.01-20

    EIGRP routing protocol

    Before EIGRP routers are willing to exchange routes with eachother, they must become neigh-bors. There are threeconditions that must be met for neighborship establishment:

    Hello or ACK received

    AS numbers match

    Identical metrics (K values)

    EIGRP metric uses a combination of four:

    Bandwidth

    Delay

    Load

    Reliability

  • 8/14/2019 Dynamicrouting-V3 0

    21/30

    2002, Cisco Systems, Inc. All rights reserved. ICND v2.01-21

    So snh EIGRP v IGRP

    Similar metric

    Same load balancing

    Improved convergence time

    Reduced network overhead

  • 8/14/2019 Dynamicrouting-V3 0

    22/30

    2002, Cisco Systems, Inc. All rights reserved. ICND v2.01-22

    Configuring EIGRP

    Router(config)#router eigrp autonomous-system

    Defines EIGRP as the IP routing protocol

    Router(config-router)#network network-number

    Selects participating attached networks

  • 8/14/2019 Dynamicrouting-V3 0

    23/30

    2002, Cisco Systems, Inc. All rights reserved. ICND v2.01-23

    EIGRP Configuration Example

  • 8/14/2019 Dynamicrouting-V3 0

    24/30

    2002, Cisco Systems, Inc. All rights reserved. ICND v2.01-24

    Verifying the EIGRP Configuration

    Router#show ip eigrp neighbors

    Displays the neighbors discovered by IP EIGRP

    Router#show ip eigrp topology

    Displays the IP EIGRP topology table

    Router#show ip route eigrp

    Displays current EIGRP entries in the routing table

    Router#show ip protocols

    Displays the parameters and current state of the activerouting protocol process

    Router#show ip eigrp traffic

    Displays the number of IP EIGRP packets sent and received

  • 8/14/2019 Dynamicrouting-V3 0

    25/30

    2002, Cisco Systems, Inc. All rights reserved. ICND v2.01-25

    Introducing OSPF

    Open standard

    Shortest path first (SPF) algorithm

    Link-state routing protocol (vs. distance vector)

  • 8/14/2019 Dynamicrouting-V3 0

    26/30

    2002, Cisco Systems, Inc. All rights reserved. ICND v2.01-26

    OSPF Hierarchical Routing

    Consists of areas and autonomous systems

    Minimizes routing update traffic

  • 8/14/2019 Dynamicrouting-V3 0

    27/30

    2002, Cisco Systems, Inc. All rights reserved. ICND v2.01-27

    Configuring Single Area OSPF

    Router(config)#router ospfprocess-id

    Defines OSPF as the IP routing protocol

    Router(config-router)#network address mask area area-id

    Assigns networks to a specific OSPF area

  • 8/14/2019 Dynamicrouting-V3 0

    28/30

    2002, Cisco Systems, Inc. All rights reserved. ICND v2.01-28

    OSPF Configuration Example

    V if i th OSPF C fi ti

  • 8/14/2019 Dynamicrouting-V3 0

    29/30

    2002, Cisco Systems, Inc. All rights reserved. ICND v2.01-29

    Verifying the OSPF Configuration

    Router#show ip protocols

    Verifies that OSPF is configured

    Router#show ip route

    Displays all the routes learned by the router

    Router#show ip ospf interface

    Displays area-ID and adjacency information

    Router#show ip ospf neighbor

    Displays OSPF-neighbor information on a per-interface basis

  • 8/14/2019 Dynamicrouting-V3 0

    30/30

    2002, Cisco Systems, Inc. All rights reserved. ICND v2.01-30