EIGRP
第二回目はEIGRPです。

<EIGRPの概要>
・マルチキャストアドレス224.0.0.10を使用する
【EIGRPが持つテーブル】
・ネイバーテーブル
・トポロジテーブル
・ルーティングテーブル
【Helloパケットの送信間隔の変更】
(config-if)#ip hello-interval eigrp {as-number} {seconds}
・デフォルトの送信間隔は5秒
・低速WANリンク上のデフォルトは60秒
※Helloパケットの送信間隔を変更しても、ホールドタイムには自動的に反映されない
【ホールドタイムの変更】
(config-if)#ip hold-time eigrp {as-number} {seconds}
・デフォルトは15秒
※低速WANリンク上のデフォルトは180秒
【フィージブルサクセサの条件】
現在のサクセサのFD > フィージブルサクセサ(候補)のAD
<EIGRPの設定>
2501A(config)#router eigrp 100
2501A(config-router)#network 192.168.0.0
2501A(config-router)#network 10.0.0.0
2503(config)#router eigrp 100
2503(config-router)#network 10.0.0.0
2501B(config)#router eigrp 100
2501B(config-router)#network 192.168.1.0
2501B(config-router)#network 10.0.0.0
2501A#show ip route
10.0.0.0/8 is variably subnetted, 3 subnets, 2 masks
C 10.0.0.0/30 is directly connected, Serial0
D 10.0.0.0/8 is a summary, 00:04:47, Null0
D 10.0.1.0/30 [90/2681856] via 10.0.0.2, 00:01:57, Serial0
C 192.168.0.0/24 is directly connected, Ethernet0
D 192.168.1.0/24 [90/2707456] via 10.0.0.2, 00:01:54, Serial0
2503#show ip route
10.0.0.0/30 is subnetted, 2 subnets
C 10.0.0.0 is directly connected, Serial0
C 10.0.1.0 is directly connected, Serial1
D 192.168.0.0/24 [90/2195456] via 10.0.0.1, 00:06:08, Serial0
D 192.168.1.0/24 [90/2195456] via 10.0.1.1, 00:03:28, Serial1
2501B#show ip route
10.0.0.0/8 is variably subnetted, 3 subnets, 2 masks
D 10.0.0.0/30 [90/2681856] via 10.0.1.2, 00:05:08, Serial0
D 10.0.0.0/8 is a summary, 00:05:31, Null0
C 10.0.1.0/30 is directly connected, Serial0
D 192.168.0.0/24 [90/2707456] via 10.0.1.2, 00:05:08, Serial0
C 192.168.1.0/24 is directly connected, Ethernet0
<EIGRPの問題解決のためのコマンド>
【show ip route eigrp】
・現在のIPルーティングテーブルからEIGRPの経路情報のみ表示する
2501A#show ip route eigrp
10.0.0.0/8 is variably subnetted, 3 subnets, 2 masks
D 10.0.0.0/8 is a summary, 00:05:44, Null0
D 10.0.1.0/30 [90/2681856] via 10.0.0.2, 00:02:54, Serial0
D 192.168.1.0/24 [90/2707456] via 10.0.0.2, 00:02:52, Serial0
2503#show ip route eigrp
D 192.168.0.0/24 [90/2195456] via 10.0.0.1, 00:06:31, Serial0
D 192.168.1.0/24 [90/2195456] via 10.0.1.1, 00:03:51, Serial1
2501B#show ip route eigrp
10.0.0.0/8 is variably subnetted, 3 subnets, 2 masks
D 10.0.0.0/30 [90/2681856] via 10.0.1.2, 00:05:27, Serial0
D 10.0.0.0/8 is a summary, 00:05:51, Null0
D 192.168.0.0/24 [90/2707456] via 10.0.1.2, 00:05:28, Serial0
【show ip eigrp int】
・EIGRPが設定されたインタフェースの情報を表示する
2501A#show ip eigrp int
IP-EIGRP interfaces for process 100
Xmit Queue Mean Pacing Time Multicast Pending
Interface Peers Un/Reliable SRTT Un/Reliable Flow Timer Routes
Et0 0 0/0 0 0/10 0 0
Se0 1 0/0 23 0/15 111 0
【show ip eigrp neighbors】
・EIGRPで発見したネイバー情報を表示する
2503#show ip eigrp neighbor
IP-EIGRP neighbors for process 100
H Address Interface Hold Uptime SRTT RTO Q Seq Type
(sec) (ms) Cnt Num
1 10.0.1.1 Se1 11 00:28:30 28 200 0 2
0 10.0.0.1 Se0 14 00:28:32 725 4350 0 3
【show ip eigrp topology】
・EIGRPトポロジテーブルのエントリ情報を表示する
2501A#show ip eigrp topology
IP-EIGRP Topology Table for AS(100)/ID(192.168.0.1)
Codes: P - Passive, A - Active, U - Update, Q - Query, R - Reply,
r - reply Status, s - sia Status
P 10.0.0.0/8, 1 successors, FD is 2169856
via Summary (2169856/0), Null0
P 10.0.0.0/30, 1 successors, FD is 2169856
via Connected, Serial0
P 10.0.1.0/30, 1 successors, FD is 2681856
via 10.0.0.2 (2681856/2169856), Serial0
P 192.168.0.0/24, 1 successors, FD is 281600
via Connected, Ethernet0
P 192.168.1.0/24, 1 successors, FD is 2707456
via 10.0.0.2 (2707456/2195456), Serial0
【show ip eigrp traffic】
・送受信されたEIGRPパケット数などの情報を表示する
2501A#show ip eigrp traffic
IP-EIGRP Traffic Statistics for AS 100
Hellos sent/received: 787/384
Updates sent/received: 24/26
Queries sent/received: 0/3
Replies sent/received: 3/0
Acks sent/received: 18/19
Input queue high water mark 1, 0 drops
SIA-Queries sent/received: 0/0
SIA-Replies sent/received: 0/0
Hello Process ID: 74
PDM Process ID: 73
【debug ip eigrp】
・EIGRPのイベント情報を表示する
・アップデートパケットのメトリック値を表示する
2501A#debug ip eigrp
IP-EIGRP Route Events debugging is on
2501A#conf t
Enter configuration commands, one per line. End with CNTL/Z.
2501A(config)#int s0
2501A(config-if)#shut
2501A(config-if)#
*Mar 1 00:48:51.339: %DUAL-5-NBRCHANGE: IP-EIGRP(0) 100: Neighbor 10.0.0.2 (Serial0) is down: interface down
2501A(config-if)#
*Mar 1 00:48:53.223: %LINK-5-CHANGED: Interface Serial0, changed state to administratively down
*Mar 1 00:48:54.223: %LINEPROTO-5-UPDOWN: Line protocol on Interface Serial0, changed state to down
2501A(config-if)#no shut
2501A(config-if)#
*Mar 1 00:49:04.151: %LINK-3-UPDOWN: Interface Serial0, changed state to up
2501A(config-if)#
*Mar 1 00:49:05.155: %LINEPROTO-5-UPDOWN: Line protocol on Interface Serial0, changed state to up
2501A(config-if)#
*Mar 1 00:49:14.955: %DUAL-5-NBRCHANGE: IP-EIGRP(0) 100: Neighbor 10.0.0.2 (Serial0) is up: new adjacency
2501A(config-if)#
*Mar 1 00:49:14.967: IP-EIGRP(Default-IP-Routing-Table:100): 192.168.0.0/24 - do advertise out Serial0
*Mar 1 00:49:14.971: IP-EIGRP(Default-IP-Routing-Table:100): Int 192.168.0.0/24 metric 281600 - 256000 25600
*Mar 1 00:49:14.975: IP-EIGRP(Default-IP-Routing-Table:100): 10.0.0.0/30 - do advertise out Serial0
*Mar 1 00:49:14.979: IP-EIGRP(Default-IP-Routing-Table:100): 10.0.0.0/8 - poison advertise out Serial0
2501A(config-if)#
*Mar 1 00:49:16.983: IP-EIGRP(Default-IP-Routing-Table:100): 192.168.0.0/24 - do advertise out Serial0
*Mar 1 00:49:16.987: IP-EIGRP(Default-IP-Routing-Table:100): Int 192.168.0.0/24 metric 281600 - 256000 25600
*Mar 1 00:49:16.991: IP-EIGRP(Default-IP-Routing-Table:100): 10.0.0.0/30 - do advertise out Serial0
*Mar 1 00:49:16.995: IP-EIGRP(Default-IP-Routing-Table:100): 10.0.0.0/8 - poison advertise out Serial0
2501A(config-if)#
*Mar 1 00:49:19.287: IP-EIGRP(Default-IP-Routing-Table:100): Processing incoming UPDATE packet
*Mar 1 00:49:19.291: IP-EIGRP(Default-IP-Routing-Table:100): Int 10.0.1.0/30 M 2681856 - 1657856 1024000 SM 2169856 - 1657856 512000
*Mar 1 00:49:19.299: IP-EIGRP(Default-IP-Routing-Table:100): Int 192.168.1.0/24 M 2707456 - 1657856 1049600 SM 2195456 - 1657856 537600
*Mar 1 00:49:20.003: IP-EIGRP(Default-IP-Routing-Table:100): 192.168.0.0/24 - do advertise out Serial0
*Mar 1 00:49:20.007: IP-EIGRP(Default-IP-Routing-Table:100): Int 192.168.0.0/24 metric 281600 - 256000 25600
*Mar 1 00:49:20.011: IP-EIGRP(Default-IP-Routing-Table:100): 10.0.0.0/30 - do advertise out Serial0
2501A(config-if)#
*Mar 1 00:49:20.015: IP-EIGRP(Default-IP-Routing-Table:100): 10.0.0.0/8 - poison advertise out Serial0
*Mar 1 00:49:20.055: IP-EIGRP(Default-IP-Routing-Table:100): Int 10.0.1.0/30 metric 2681856 - 1657856 1024000
*Mar 1 00:49:20.059: IP-EIGRP(Default-IP-Routing-Table:100): Int 192.168.1.0/24 metric 2707456 - 1657856 1049600
*Mar 1 00:49:20.071: IP-EIGRP(Default-IP-Routing-Table:100): Processing incoming UPDATE packet
*Mar 1 00:49:20.075: IP-EIGRP(Default-IP-Routing-Table:100): Int 192.168.0.0/24 M 4294967295 - 1657856 4294967295 SM 4294967295 - 1657856 4294967295
<EIGRPの概要>
・マルチキャストアドレス224.0.0.10を使用する
【EIGRPが持つテーブル】
・ネイバーテーブル
・トポロジテーブル
・ルーティングテーブル
【Helloパケットの送信間隔の変更】
(config-if)#ip hello-interval eigrp {as-number} {seconds}
・デフォルトの送信間隔は5秒
・低速WANリンク上のデフォルトは60秒
※Helloパケットの送信間隔を変更しても、ホールドタイムには自動的に反映されない
【ホールドタイムの変更】
(config-if)#ip hold-time eigrp {as-number} {seconds}
・デフォルトは15秒
※低速WANリンク上のデフォルトは180秒
【フィージブルサクセサの条件】
現在のサクセサのFD > フィージブルサクセサ(候補)のAD
<EIGRPの設定>
2501A(config)#router eigrp 100
2501A(config-router)#network 192.168.0.0
2501A(config-router)#network 10.0.0.0
2503(config)#router eigrp 100
2503(config-router)#network 10.0.0.0
2501B(config)#router eigrp 100
2501B(config-router)#network 192.168.1.0
2501B(config-router)#network 10.0.0.0
2501A#show ip route
10.0.0.0/8 is variably subnetted, 3 subnets, 2 masks
C 10.0.0.0/30 is directly connected, Serial0
D 10.0.0.0/8 is a summary, 00:04:47, Null0
D 10.0.1.0/30 [90/2681856] via 10.0.0.2, 00:01:57, Serial0
C 192.168.0.0/24 is directly connected, Ethernet0
D 192.168.1.0/24 [90/2707456] via 10.0.0.2, 00:01:54, Serial0
2503#show ip route
10.0.0.0/30 is subnetted, 2 subnets
C 10.0.0.0 is directly connected, Serial0
C 10.0.1.0 is directly connected, Serial1
D 192.168.0.0/24 [90/2195456] via 10.0.0.1, 00:06:08, Serial0
D 192.168.1.0/24 [90/2195456] via 10.0.1.1, 00:03:28, Serial1
2501B#show ip route
10.0.0.0/8 is variably subnetted, 3 subnets, 2 masks
D 10.0.0.0/30 [90/2681856] via 10.0.1.2, 00:05:08, Serial0
D 10.0.0.0/8 is a summary, 00:05:31, Null0
C 10.0.1.0/30 is directly connected, Serial0
D 192.168.0.0/24 [90/2707456] via 10.0.1.2, 00:05:08, Serial0
C 192.168.1.0/24 is directly connected, Ethernet0
<EIGRPの問題解決のためのコマンド>
【show ip route eigrp】
・現在のIPルーティングテーブルからEIGRPの経路情報のみ表示する
2501A#show ip route eigrp
10.0.0.0/8 is variably subnetted, 3 subnets, 2 masks
D 10.0.0.0/8 is a summary, 00:05:44, Null0
D 10.0.1.0/30 [90/2681856] via 10.0.0.2, 00:02:54, Serial0
D 192.168.1.0/24 [90/2707456] via 10.0.0.2, 00:02:52, Serial0
2503#show ip route eigrp
D 192.168.0.0/24 [90/2195456] via 10.0.0.1, 00:06:31, Serial0
D 192.168.1.0/24 [90/2195456] via 10.0.1.1, 00:03:51, Serial1
2501B#show ip route eigrp
10.0.0.0/8 is variably subnetted, 3 subnets, 2 masks
D 10.0.0.0/30 [90/2681856] via 10.0.1.2, 00:05:27, Serial0
D 10.0.0.0/8 is a summary, 00:05:51, Null0
D 192.168.0.0/24 [90/2707456] via 10.0.1.2, 00:05:28, Serial0
【show ip eigrp int】
・EIGRPが設定されたインタフェースの情報を表示する
2501A#show ip eigrp int
IP-EIGRP interfaces for process 100
Xmit Queue Mean Pacing Time Multicast Pending
Interface Peers Un/Reliable SRTT Un/Reliable Flow Timer Routes
Et0 0 0/0 0 0/10 0 0
Se0 1 0/0 23 0/15 111 0
【show ip eigrp neighbors】
・EIGRPで発見したネイバー情報を表示する
2503#show ip eigrp neighbor
IP-EIGRP neighbors for process 100
H Address Interface Hold Uptime SRTT RTO Q Seq Type
(sec) (ms) Cnt Num
1 10.0.1.1 Se1 11 00:28:30 28 200 0 2
0 10.0.0.1 Se0 14 00:28:32 725 4350 0 3
【show ip eigrp topology】
・EIGRPトポロジテーブルのエントリ情報を表示する
2501A#show ip eigrp topology
IP-EIGRP Topology Table for AS(100)/ID(192.168.0.1)
Codes: P - Passive, A - Active, U - Update, Q - Query, R - Reply,
r - reply Status, s - sia Status
P 10.0.0.0/8, 1 successors, FD is 2169856
via Summary (2169856/0), Null0
P 10.0.0.0/30, 1 successors, FD is 2169856
via Connected, Serial0
P 10.0.1.0/30, 1 successors, FD is 2681856
via 10.0.0.2 (2681856/2169856), Serial0
P 192.168.0.0/24, 1 successors, FD is 281600
via Connected, Ethernet0
P 192.168.1.0/24, 1 successors, FD is 2707456
via 10.0.0.2 (2707456/2195456), Serial0
【show ip eigrp traffic】
・送受信されたEIGRPパケット数などの情報を表示する
2501A#show ip eigrp traffic
IP-EIGRP Traffic Statistics for AS 100
Hellos sent/received: 787/384
Updates sent/received: 24/26
Queries sent/received: 0/3
Replies sent/received: 3/0
Acks sent/received: 18/19
Input queue high water mark 1, 0 drops
SIA-Queries sent/received: 0/0
SIA-Replies sent/received: 0/0
Hello Process ID: 74
PDM Process ID: 73
【debug ip eigrp】
・EIGRPのイベント情報を表示する
・アップデートパケットのメトリック値を表示する
2501A#debug ip eigrp
IP-EIGRP Route Events debugging is on
2501A#conf t
Enter configuration commands, one per line. End with CNTL/Z.
2501A(config)#int s0
2501A(config-if)#shut
2501A(config-if)#
*Mar 1 00:48:51.339: %DUAL-5-NBRCHANGE: IP-EIGRP(0) 100: Neighbor 10.0.0.2 (Serial0) is down: interface down
2501A(config-if)#
*Mar 1 00:48:53.223: %LINK-5-CHANGED: Interface Serial0, changed state to administratively down
*Mar 1 00:48:54.223: %LINEPROTO-5-UPDOWN: Line protocol on Interface Serial0, changed state to down
2501A(config-if)#no shut
2501A(config-if)#
*Mar 1 00:49:04.151: %LINK-3-UPDOWN: Interface Serial0, changed state to up
2501A(config-if)#
*Mar 1 00:49:05.155: %LINEPROTO-5-UPDOWN: Line protocol on Interface Serial0, changed state to up
2501A(config-if)#
*Mar 1 00:49:14.955: %DUAL-5-NBRCHANGE: IP-EIGRP(0) 100: Neighbor 10.0.0.2 (Serial0) is up: new adjacency
2501A(config-if)#
*Mar 1 00:49:14.967: IP-EIGRP(Default-IP-Routing-Table:100): 192.168.0.0/24 - do advertise out Serial0
*Mar 1 00:49:14.971: IP-EIGRP(Default-IP-Routing-Table:100): Int 192.168.0.0/24 metric 281600 - 256000 25600
*Mar 1 00:49:14.975: IP-EIGRP(Default-IP-Routing-Table:100): 10.0.0.0/30 - do advertise out Serial0
*Mar 1 00:49:14.979: IP-EIGRP(Default-IP-Routing-Table:100): 10.0.0.0/8 - poison advertise out Serial0
2501A(config-if)#
*Mar 1 00:49:16.983: IP-EIGRP(Default-IP-Routing-Table:100): 192.168.0.0/24 - do advertise out Serial0
*Mar 1 00:49:16.987: IP-EIGRP(Default-IP-Routing-Table:100): Int 192.168.0.0/24 metric 281600 - 256000 25600
*Mar 1 00:49:16.991: IP-EIGRP(Default-IP-Routing-Table:100): 10.0.0.0/30 - do advertise out Serial0
*Mar 1 00:49:16.995: IP-EIGRP(Default-IP-Routing-Table:100): 10.0.0.0/8 - poison advertise out Serial0
2501A(config-if)#
*Mar 1 00:49:19.287: IP-EIGRP(Default-IP-Routing-Table:100): Processing incoming UPDATE packet
*Mar 1 00:49:19.291: IP-EIGRP(Default-IP-Routing-Table:100): Int 10.0.1.0/30 M 2681856 - 1657856 1024000 SM 2169856 - 1657856 512000
*Mar 1 00:49:19.299: IP-EIGRP(Default-IP-Routing-Table:100): Int 192.168.1.0/24 M 2707456 - 1657856 1049600 SM 2195456 - 1657856 537600
*Mar 1 00:49:20.003: IP-EIGRP(Default-IP-Routing-Table:100): 192.168.0.0/24 - do advertise out Serial0
*Mar 1 00:49:20.007: IP-EIGRP(Default-IP-Routing-Table:100): Int 192.168.0.0/24 metric 281600 - 256000 25600
*Mar 1 00:49:20.011: IP-EIGRP(Default-IP-Routing-Table:100): 10.0.0.0/30 - do advertise out Serial0
2501A(config-if)#
*Mar 1 00:49:20.015: IP-EIGRP(Default-IP-Routing-Table:100): 10.0.0.0/8 - poison advertise out Serial0
*Mar 1 00:49:20.055: IP-EIGRP(Default-IP-Routing-Table:100): Int 10.0.1.0/30 metric 2681856 - 1657856 1024000
*Mar 1 00:49:20.059: IP-EIGRP(Default-IP-Routing-Table:100): Int 192.168.1.0/24 metric 2707456 - 1657856 1049600
*Mar 1 00:49:20.071: IP-EIGRP(Default-IP-Routing-Table:100): Processing incoming UPDATE packet
*Mar 1 00:49:20.075: IP-EIGRP(Default-IP-Routing-Table:100): Int 192.168.0.0/24 M 4294967295 - 1657856 4294967295 SM 4294967295 - 1657856 4294967295
タグ:
EIGRP


