[筆記] Eigrp.03拓撲、鄰居、路由表.md

weixin_33872660發表於2016-04-21

EIGRP的三張表——拓撲、鄰居、路由表

716487-0da78f901e1a5ef7.png
Eigrp_topology.png

檢視鄰居表

show ip eigrp neighbors


舉例
R1#sh ip eigrp neighbors 
EIGRP-IPv4 Neighbors for AS(90)
H   Address                 Interface              Hold Uptime   SRTT   RTO  Q  Seq
                                                   (sec)         (ms)       Cnt Num
1   13.1.1.3                Se1/1                    14 14:10:45   17   102  0  27
0   12.1.1.2                Se1/0                    13 14:10:53   16   100  0  23

引數說明

H:建立順序
Address:對端IP
Interface:從哪個介面學到
Hold:10~15s間迴圈
Uptime:建立多久
SRTT:①<=>②往返時間(收到確認)
  Hello 5s/次 在3個Hello間未收到Hello認為對端Down,斷開連線
RTO:等待ACK的時間(重傳超時時間)應該是SRTT的6倍,最大5000;
  若重傳16次還未得到確認,則此鄰居被宣佈無效
Q:佇列計數,表示有多少個可靠報文還沒有得到確認,在執行正常的環境下該值應為0
Seq:序列號

檢視拓撲表

show ip eigrp topology


舉例
R1#show ip eigrp topology 
EIGRP-IPv4 Topology Table for AS(90)/ID(10.1.5.1)
Codes: P - Passive, A - Active, U - Update, Q - Query, R - Reply,
       r - reply Status, s - sia Status 

P 10.1.5.0/24, 1 successors, FD is 128256
        via Connected, Loopback1
P 10.1.7.0/24, 1 successors, FD is 2297856
        via 12.1.1.2 (2297856/128256), Serial1/0
P 24.1.1.0/24, 1 successors, FD is 2272256
        via 12.1.1.2 (2681856/2169856), Serial1/0
        via 13.1.1.3 (2707456/2195456), Serial1/1
P 44.1.1.0/24, 1 successors, FD is 486400
        via 13.1.1.3 (2323456/409600), Serial1/1
P 10.1.6.0/24, 1 successors, FD is 2297856
        via 12.1.1.2 (2297856/128256), Serial1/0
P 13.1.1.0/24, 1 successors, FD is 2169856
        via Connected, Serial1/1
P 10.1.4.0/24, 1 successors, FD is 128256
        via Connected, Loopback0
P 24.1.2.0/24, 1 successors, FD is 486400
        via 13.1.1.3 (2323456/409600), Serial1/1
P 34.1.1.0/24, 1 successors, FD is 358400
        via 13.1.1.3 (2195456/281600), Serial1/1
P 12.1.1.0/24, 1 successors, FD is 2169856
        via Connected, Serial1/0

P:穩定狀態(正常)
A:非穩定狀態

檢視具體拓撲資訊

R1#show ip eigrp topology 10.1.6.0 255.255.255.0


舉例
R1#show ip eigrp topology 10.1.6.0 255.255.255.0
EIGRP-IPv4 Topology Entry for AS(90)/ID(10.1.5.1) for 10.1.6.0/24
  State is Passive, Query origin flag is 1, 1 Successor(s), FD is 2297856
  Descriptor Blocks:
  12.1.1.2 (Serial1/0), from 12.1.1.2, Send flag is 0x0
      Composite metric is (2297856/128256), route is Internal
      Vector metric:
        Minimum bandwidth is 1544 Kbit
        Total delay is 25000 microseconds
        Reliability is 255/255
        Load is 1/255
        Minimum MTU is 1500
        Hop count is 1
        Originating router is 10.1.7.1
  13.1.1.3 (Serial1/1), from 13.1.1.3, Send flag is 0x0
      Composite metric is (2835456/2323456), route is Internal
      Vector metric:
        Minimum bandwidth is 1544 Kbit
        Total delay is 46000 microseconds
        Reliability is 255/255
        Load is 1/255
        Minimum MTU is 1500
        Hop count is 3
        Originating router is 10.1.7.1

Composite metric is (FD值/AD值)
Minimum bandwidth is 最小頻寬 Kbit
Total delay is 總延遲 microseconds

檢視路由表

R1#show ip route eigrp


舉例
R1#show ip route eigrp 
Codes: L - local, C - connected, S - static, R - RIP, M - mobile, B - BGP
       D - EIGRP, EX - EIGRP external, O - OSPF, IA - OSPF inter area 
       N1 - OSPF NSSA external type 1, N2 - OSPF NSSA external type 2
       E1 - OSPF external type 1, E2 - OSPF external type 2
       i - IS-IS, su - IS-IS summary, L1 - IS-IS level-1, L2 - IS-IS level-2
       ia - IS-IS inter area, * - candidate default, U - per-user static route
       o - ODR, P - periodic downloaded static route, H - NHRP, l - LISP
       a - application route
       + - replicated route, % - next hop override

Gateway of last resort is not set

      10.0.0.0/8 is variably subnetted, 6 subnets, 2 masks
D        10.1.6.0/24 [90/2297856] via 12.1.1.2, 17:44:44, Serial1/0
D        10.1.7.0/24 [90/2297856] via 12.1.1.2, 17:44:44, Serial1/0
      24.0.0.0/24 is subnetted, 2 subnets
D        24.1.1.0 [90/2681856] via 12.1.1.2, 03:44:36, Serial1/0
D        24.1.2.0 [90/2323456] via 13.1.1.3, 03:44:36, Serial1/1
      34.0.0.0/24 is subnetted, 1 subnets
D        34.1.1.0 [90/2195456] via 13.1.1.3, 03:44:36, Serial1/1
      44.0.0.0/24 is subnetted, 1 subnets
D        44.1.1.0 [90/2323456] via 13.1.1.3, 03:44:36, Serial1/1

說明

[90/2323456] - [AD/Metric值]

相關文章