Click here to load reader

EIGRP 與 OSPF

  • Upload
    alden

  • View
    61

  • Download
    0

Embed Size (px)

DESCRIPTION

第 7 章. EIGRP 與 OSPF. 本章重點. 7 - 1 EIGRP 的功能與運作 7 - 2 利用 EIGRP 來支援大型網路 7 - 3 設定 EIGRP 7 - 4 EIGRP 的負載平衡 7 - 5 確認 EIGRP 的設定 7 - 6 OSPF 基礎 7 - 7 設定 OSPF 7 - 8 確認 OSPF 的設定 7 - 9 OSPF DR 與 BDR 的選舉. 本章重點. 7 - 10 OSPF 與回繞界面 7 - 11 檢修 OSPF - PowerPoint PPT Presentation

Citation preview

  • 7 - 1 EIGRP 7 - 2 EIGRP 7 - 3 EIGRP7 - 4 EIGRP 7 - 5 EIGRP 7 - 6 OSPF 7 - 7 OSPF7 - 8 OSPF 7 - 9 OSPF DR BDR

  • 7 - 10 OSPF 7 - 11 OSPF7 - 12 EIGRP OSPF 7 - 13

  • EIGRP OSPF (Enhanced Interior Gateway Routing Protocol, EIGRP) Cisco , Cisco Cisco EIGRP , ,

  • EIGRP OSPF (Open Shortest Path First, OSPF) , , OSPF RIP OSPF , OSPF,

  • 7 - 1 EIGRP EIGRP (classless) (distance-vector) , IGRP Cisco , IGRP IGRP , EIGRP (autonomous system) , , IGRP , EIGRP

  • EIGRP VLSM EIGRP (hybrid routing protocol), , EIGRP OSPF , ,

  • EIGRP EIGRP , , EIGRP , EIGRP (hop count) 255EIGPR , IGRP ,

  • EIGRP (protocol-dependent module, PDM) IP IPv6 () ( RIPv2 OSPF ) VLSM / CIDR (Reliable Transport Protocol, RTP) (Diffusing Update Algorithm, DUAL)

  • EIGRP IPIPXAppleTalk IPv6 (, IPX AppleTalk, EIGRP ) (Intermediate System-to-Intermediate System, IS-IS)

  • EIGRP (PDM) , EIGRP PDM , IP / EIGRP IPv6 / EIGRP

  • EIGRP , 3 Hello ACKAS (K ) Hello , , ,

  • , EIGRP Hello EIGRP , , , (redistribution)

  • EIGRP , Hello (adjacency), 2 , , EIGRP ,

  • , , (feasible distance) , ,

  • , () / (reported distance / advertised distance) , (neighbor table)

  • , , RAM , , (topology table) , DUAL

  • , , , , (feasible successor) , ,

  • EIGRP 6 , () show ip eigrp topology EIGRP (successor) EIGRP ,

  • (), , , EIGRP

  • (RTP)EIGRP (Reliable Transport Protocol, RTP) , EIGRP , Cisco , , EIGRP , D 224.0.0.10, EIGRP ,

  • (RTP), , 16 , (reliable multicast), ,

  • (RTP), EIGRP , , , ,

  • (DUAL)EIGRP (Diffusing Update Algorithm, DUAL) VLSM, DUAL EIGRP ,

  • (DUAL)EIGRP 2 , EIGRP , , , , EIGRP , , , DUAL

  • (DUAL), Hello RTP , DUAL ,

  • 7 - 2 EIGRP EIGRP , AS VLSM

  • ASEIGRP , , , ,

  • AS, EIGRP (AS), AS , AS (redistribution) EIGRP , EIGRP (administrative distance) 90, EIGRP (internal EIGRP route)

  • AS EIGRP EGIRP (external EIGRP route), 170, EIGRP , EIGRP

  • AS EIGRP , EIGRP , , OSPF EIGRP , EIGRP , IGRP,

  • AS, EIGRP IGRP , EIGRP EIGRP, , EIGRP EIGRP , EIGRP IGRP EIGRP

  • AS, EIGRP (AD 170), , ,

  • VLSM EIGRP , VLSM , , , 30 , EIGRP , IP ,

  • VLSM 2 , 7.1 172.16.10.0 172.16.20.0 10.3.1.0 , 172.16.0.0

  • VLSM

  • VLSM RIPv1 IGRP , RIPv2 EIGRP OSPF , OSPF EIGRP , EIGRP ,

  • VLSM EIGPR EIGRP , , EIGRP , 7.2 EIGRP (), , RIPRIPv2 IGRP , OSPF

  • VLSM

  • EIGRP , EIGRP Hello , , EIGRP (routing-by-rumor) , ,

  • EIGRP , , , EIGRP , (neighborship table) () (topology table) ,

  • (route table) , EIGRP , IP IPv6 EIGRP , EIGRP

  • EIGRP EIGRP , , EIGRP 4 (Bandwidth) (Delay) (Load) (Reliability) IGRP , EIGRP

  • EIGRP Cisco , 5 (maximum transmission unit, MTU) EIGRP , EIGRP , , MTU MTU

  • , EIGRP 4 (), , EIGRP 6 ()

    , EIGRP 100, 255

  • , ,

    , EIGRP 255 EIGRP , AS

  • 7 - 3 EIGRP EIGRP IPIPv6IPXAppleTalk , CCNA, IP EIGRP 2 , EIGRP,

  • EIGRP EIGRP , router eigrp , network , , 10.3.1.0 / 24 172.16.10.0 / 24 AS 20 EIGRP

  • EIGRP, RIP , , EIGRP, BRI , passive-interface (passive interface), 6 RIP 0 / 1

  • EIGRP

    Hello , , , RIP RIPv2 , EIGRP

  • EIGRP CPU , RIPv2 () EIGRP 90, AD 150 151, RIP 120, RIP , EIGRP 7.3 EIGRP

  • EIGRP

  • EIGRP 7.1 IP

  • EIGRP

  • EIGRP

    EIGRP , EIGRP

  • CorpAS 1 65, 535 AS , , AS

    router eigrp [] EIGRP

  • Corp RIPv1 , , IGRP, EIGRP , (RIPv2 )

  • R1 R1 , AS 10 EIGRP ,

    R1 Corp ,

  • R2 R2 , AS 10 EIGRP

    , EIGRP ,

  • R3, SDM R3 EIGRP RIPv2

  • R3 AS 10, EIGRP,

  • R3, EIGRP AS 10

  • R3, , EIGRP , , RIP CPU , ,

  • R3 871W IOS EIGRP, RIPv2, R3 871W (redistribution),

  • R3 871W R3 , EIGRP RIP SDM , CLI

  • R3 871W

  • R3 871W RIP , EIGRP MTU EIGRP , R3 , RIP EIGRP

  • R3 871W EIGRP RIP (), 871W EIGRP RIP 871W RIP

  • R3 871W EIGRP RIP, , R3 RIP R3 871W

  • R3 871W Corp

  • R3 871W , 871W LAN 10.1.12.0, , EIGRP , R3 RIP EIGRP 871W , R3 RIP

  • R3 871W

    871W , RIP RIP , RIP ,

  • , 7.1, EIGRP , , EIGRP Lab_A 172.16.10.0 / 24 10.3.1.0 / 24 , Lab_B 172.16.20.0 / 24 10.3.1.0 / 24 ,

  • no auto-summary EIGRP 2 ,

  • 7 - 4 EIGRP , , EIGRP 4 EIGRP, 6 , , Corp R1 , , R1 , EIGRP

  • EIGRP

  • EIGRP

    , , EIGRP s 0 / 0 / 0 s 0 / 0 / 1 ,

  • EIGRP EIGRP , EIGRP , Corp R1 ,

  • EIGRP

  • EIGRP 4

  • EIGRP

    10.1.2.0 10.1.3.0 ,

  • EIGRP 10.1.2.0 , 3 MB , 1.5 Mbps T1 , .... 10.1.3.0 , 10.1.3.0, D, EIGRP (DUAL) SDM R3 , (Permanent)

  • EIGRP , R3 Corp R1 10.1.3.0 , 10.1.3.0, R3 , 10.1.3.0 , Corp R1 s 0 / 0 / 1 10.1.3.1 / 24 10.1.3.2 / 24

  • EIGRP 10.1.3.0 , , 10.1.3.0 ,

  • EIGRP , EIGRP , R1 Corp s 0 / 0 / 1 , EIGRP, R1 Corp

  • 7 - 5 EIGRP EIGRP , 7.2 EIGRP ,

  • EIGRP , 7.2 , Corp

  • EIGRP

    (10.1.3.0 ), 10.1.6.0 10.1.7.0 EIGRP D (DUAL) , 90, EIGRP

  • EIGRP R1 ,

  • EIGRP , , 10.1.3.0 , , 10.1.3.0 Corp ,

  • EIGRP

    H (hold time) Hello (uptime)

  • EIGRP SRTT (Smooth Round-Trip Timer), , , (Retransmission Time Out, RTO) EIGRP

  • EIGRP Q , , (seq) , show ip eigrp topology Corp

  • EIGRP

  • EIGRP

    P , (passive state), (active state, A), ,

  • EIGRP (FD), 2 , , 10.1.7.0 10.1.6.0 ,

  • EIGRP 10.1.7.0 10.1.6.0 , () () , EIGRP variance , EIGRP 1,

  • EIGRP 128 EIGRP , , , 1, , , 2, EIGRP , ()

  • EIGRP , debug eigrp packet Hello

  • EIGRP

    Corp 3 EIGRP , 224.0.0.10 5 , Hello

  • EIGRP AS AS , Hello debug ip eigrp notification ( 12.4 debug ip eigrp events),

  • EIGRP , , , , Corp ,

  • EIGRP

  • EIGRP

    , OSPF

  • 7 - 6 OSPF (Open Shortest Path First, OPSF) , , Cisco, Cisco , EIGRP CCNA , RIPv1RIPv2 OSPF, OSPF, ,

  • OSPF OPSF Dijkstra , , OSPF , EIGRP , OSPF EIGRP , OSPF IP IPv6OSPF

  • OSPF VLSM / CIDR ()OSPF , , RIPv2 RIPv1 7.3 3

  • OSPF

  • OSPF

    7.3 , OSPF , ,

  • OSPF OSPF , (area) OSPF OSPF (overhead) OSPF ,

  • OSPF 7.4 OSPF ( 0, )OSPF 0, ( 0 ) AS (Area Border Router, ABR), ABR 0

  • OSPF

  • OSPF OSPF , , AS (Autonomous System Boundary Router, ASBR), , , , EIGRP , OSPF

  • OSPF , , , , , OSPF , OSPF ,

  • OSPF (link) OSPF , OSPF (), IP ID ID (RID) IP Cisco ID IP , , IP

  • OSPF (neighbor) 2 , 2 (adjacency) OSPF OSPF EIGRP , OSPF ,

  • OSPF hello OSPF hello , hello LSA hello 224.0.0.5 (neighborship database) Hello OSPF , , ID (topology database) LSA

  • OSPF Dijkstra , (Link State Advertisement, LSA) OSPF , OSPF LSA , OSPF LSA (designated router, DR) OSPF DR

  • OSPF Cisco , , (multi-access) (multi-point), LAN, DR , , DR BDR

  • OSPF DR , , ID (backup designated router, BDR) BDR ( Cisco ) DR BDR OSPF , LSA OSPF (OSPF area) OSPF

  • OSPF ID, , ID 0, 1 OSPF , 0, OSPF

  • OSPF () () , () , , OSPF , DR BDR (nonbroadcast multi-access, NBMA) NBMA (frame relay)X.25 ATM , ,

  • OSPF NBMA OSPF , (point-to-point) , , , , , DR BDR

  • OSPF (point-to-multipoint) , , , DR BDR OSPF , ,

  • SPF / , (Shortest Path First, SPF) ,

  • SPF , , , SPF , SPF

  • SPF OSPF (cost) , SPF , RFC 2338 , , Cisco OSPF Cisco 108 /

  • SPF , 100 Mbps OSPF 1, 10 Mbps 10 ip ospf cost , 1 65535 ,

  • 7 - 7 OSPF OSPF RIPIGRP EIGRP , OSPF , CCNA , OSPF OSPF OSPF OSPF OSPF

  • OSPF OSPF , OSPF

    OSPF ID 1 65, 535, , OSPF

  • OSPF OSPF ID , , OSPF , OSPF 2 , CCNA OSPF OSPF ,

  • OSPF OSPF , OSPF , , OSPF (wildcard) 11 OSPF

  • OSPF

    , OSPF ID , , , OSPF

  • OSPF network (10.0.0.0) (0.255.255.255), 2 OSPF , OSPF LSA OSPF 10.0.0.0 , 0 42 (, ), IP

  • OSPF 0 , 255 1.1.1.1 0.0.0.0 , 1.1.1.1 , OSPF,

  • OSPF , 1.1.0.0 0.0.255.255 1.1.0.0 1.1.255.255 0.0.0.0 , OSPF , OSPF ,

  • OSPF 1 4, 294, 967, 295 , 0.0.0.0 , 0

  • , OSPF , , OSPF 4 4 192.168.10.64 / 28192.168.10.80 / 28192.168.10.96 / 28192.168.10.8 / 30

  • 0 ,

    , , , CCNA ,

  • , OSPF , CCNA , 1

  • / 28 16, , 15 4 / 30, 3 7.5 , OSPF, 7.5 3 , IP

  • , , IP 0.0.0.0 , CCNA ,

  • IP Lab_A 192.168.10.64 / 29 10.255.255.80 / 30 OSPF

    Lab_A ethernet0 / 29 255.255.255.248

  • 8, 7s0 255.255.255.252 4, 3 IP , , OSPF,

  • Lab_A , IP , , OSPF ,

  • OSPF 0 OSPF , , EIGRP, OSPF 110 (EIGRP 90) RIP, 871W R3 RIP , 871W OSPF OSPF , , 0.0.0.0 , OSPF

  • Corp Corp

    , EIGRP, OSPF

  • Corp OSPF 132 , network , IP , 0.0.0.0, IP ,

  • Corp 1 5 network , OSPF , R1 , ,

  • R1R1 4 , 1 network ,

  • R1, area 0 , , EIGRP OSPF 1, 0.0.255.255 10.1.0.0 network , IP 10.1 0,

  • R2 3 R2

    ID 1 65, 535 0.255.255.255 10.0.0.0,

  • R3 R3 RIP EIGRP OSPF AD RIP , RIP OSPF, , , SDM RIP

  • R3 EIGRP ( Delete )

  • R3 OSPF , Add Network, OSPF

    OK, , OK

  • R3

    R3 OSPF

  • R3

  • 871W, RIP OSPF

    OSPF , , , , OSPF

  • 7 - 8 OSPF OSPF show Corp show ip route Corp

  • OSPF

    Corp 12 , O OSPF (, C )

  • OSPF 10.1.6.0 10.1.7.0 , , , OSPF OSPF

  • show ip ospf show ip ospf OSPF OSPF , IDSPF LSA Corp

  • show ip ospf

  • show ip ospf

    RID 10.1.5.1, IP

  • show ip ospf database show ip ospf database (AS) , ID ()OSPF , show ip eigrp topology AS , Corp

  • show ip ospf database

  • show ip ospf database 5 , RID ( IP ) ID () RID (ADV Router )

  • show ip ospf interface show ip ospf interface OSPF , OSPF

  • show ip ospf interface

    IP ID ID

  • show ip ospf interface DR / BDR ()Hello Dead show ip ospf interface f 0 / 1 , , DR BDR

  • show ip ospf neighbor show ip ospf neighbor , OSPF DR BDR ,

    ,

  • show ip ospf neighbor R3 87W1

    Corp (), , ,

  • show ip ospf neighbor 871W , IP , Corp R1R2R3 DR BDR , , Corp 3 ( R1 2 )

  • show ip protocols OSPFEIGRPIGRPRIPBGPIS-IS, show ip protocols , Corp

  • show ip protocols

  • show ip protocols , OSPF IDOSPF IDOSPF OSPF OSPF ID , , , RIP ,

  • OSPF , 7.4 OSPF

    Corp debug ip ospf packet

  • OSPF

  • OSPF

    , 10 , () Hello , (224.0.0.5)

  • OSPF

  • OSPF debug ip ospf adj ,

  • OSPF

    , , OSPF

  • 7 - 9 OSPF DR BDR OSPF, , , , , DR BDR

  • OSPF DR BDR , , ()

  • Hello Hello IP , ID ,

  • OSPF , , , , , Hello Dead OSPF Hello , (DR) keepalive

  • Hello Hello Dead OSPF () , Hello OSPF , show ip ospf interface

  • , Hello , , OSPF (DR), (BDR)

  • BDR DR , DR BDR , DR BDR

  • DR BDR DR BDR Hello Hello IP , DR BDR , WAN, DR , OSPF DR

  • DR BDR show ip ospf interface 1, ID (RID) , RID OSPF , IP ()

  • DR BDR 0, DR BDR 0 DROTHER OSPF RID

  • 7 - 10 OSPF (loopback) OSPF , Cisco OSPF , , OSPF , OSPF , OSPF

  • OSPF , IP RID, RID , DR BDR, RID

  • OSPF , , show ip ospf Corp RID

    RID 10.1.5.1 0 / 2 / 0 , IP

  • IP , / 32 , IP ,

  • R2

    R3

    871W ,

  • 255.255.255.255 (/ 32) , 255.255.255.0 , / 32 , 172.16.10.1.2.3 .4 / 32,

  • , , RID Corp

    , , IP RID, , , OSPF

  • Corp , RID

    , Corp RID , ( 871W) , RID

  • router ospf ID RID 871W

  • RID , ()

  • IP , , router-id

  • , () router-id , RID OSPF , IP , OSPF , ping

  • , , , IP , ,

  • ODPF OSPF DR BDR , , , , , , , DR BDR 7.6

  • ODPF 7.6 R2 LAN () (DR) RID , 172.16.1.0 LAN DR, R3 DR, RID 192.168.11.254

  • ODPF 3 , R2 LAN 172.16.1.0 / 24 DR R2 Fa 0 / 0 R2 , IP IP R1 R3 Fa 0 / 0 0

  • ODPF

  • ODPF R1 R3 0, () , R2 Fa 0 / 0

  • ODPF 1, 2, LAN DR 255 , DR BDR , LAN DR, , DR BDR

  • ODPF RID DR BDR show ip ospf interface

  • 7 - 11 OSPF OSPF , OSPF

    , , ,

  • OSPF, 7.7 2 WAN 6 7.7 , (DR) OSPF RID, A B , IP

  • OSPFDR B , BDR A , LAN , CCNA , B OSPF show ip ospf interface A B ,

  • OSPF

  • OSPF

  • OSPF, hello dead A hello dead 5 20, B hello dead 10 40 OSPF ,

  • OSPF show ip ospf interface (DR / BDR) 7.8, 4 2

  • OSPF

  • OSPF, , A D IGRP AD 100, OSPF AD 110, A D C 7.9, OSPF, ISDN

  • OSPF, ISDN ISDN , , VPN

  • OSPF, ISDN , ,

  • OSPF

  • 7 - 12 EIGRP OSPF EIGRP OSPF OSPF , OSPF , OSPF 0 3 ,

  • EIGRP OSPF 7.10 , , 7.10 6 , 4 4 (WAN ), 2 8 () 32 , 192.168.10.64, 32, 255.255.255.224 224 32

  • EIGRP OSPF

  • EIGRP OSPF EIGRP, () 0 , (10.10.10.0 ) 6 , , , ,

  • EIGRP OSPF EIGRP

    EIGRP 10 192.168.10.0 10.0.0.0 EIGRP , no auto-summary

  • EIGRP OSPF , EIGRP 32 192.168.10.64 , E0 , IP 192.168.10.64 192.168.10.95 EIGRP OSPF , OSPF , 7.11

  • EIGRP OSPF

  • EIGRP OSPF 1 0 , OSPF ID () OSPF

    no atuo-summary , OSPF OSPF 192.168.10.64 / 27 1

  • 7 - 13 , EIGRP, , EIGRP (RTP) , (DUAL) EIGRP VLSM

  • NBMA EIGRP , EIGRP EIGRP, 2 OSPF, OSPF OSPF ,

  • CCNA , , , OSPF , OSPF

  • , OSPF , OSPF , OSPF