トラブルの分類
- ネイバーが確立されない
- ルーティング情報が正しくない
- その他
ネイバーが確立されない
考えられる原因
- インターフェースがダウンしている
- AS番号の不一致
- K値の不一致
- パッシブインターフェース設定
- サブネットの不一致
- 認証設定の不一致
- 不適切なACL
- タイマー(ネイバー確立されるがフラップする可能性がある)
原因別確認コマンド
EIGRP関連の基本の確認コマンド
show running-config | section router eigrp
EIGRPの設定確認。
R2#sh run | s router eigrp
router eigrp 1
network 10.1.2.2 0.0.0.0
network 10.2.7.2 0.0.0.0
show ip eigrp neigbors
ネイバーの確認。
R2#show ip eigrp neighbors
EIGRP-IPv4 Neighbors for AS(1)
H Address Interface Hold Uptime SRTT RTO Q Seq
(sec) (ms) Cnt Num
1 10.2.7.7 Et0/1 13 00:17:12 1 100 0 17
0 10.1.2.1 Et0/0 11 00:20:42 421 2526 0 44
show ip eigrp interfaces
EIGRPが有効になっているインターフェースの確認。
R2#sh ip eigrp interfaces
EIGRP-IPv4 Interfaces for AS(1)
Xmit Queue PeerQ Mean Pacing Time Multicast Pending
Interface Peers Un/Reliable Un/Reliable SRTT Un/Reliable Flow Timer Routes
Et0/0 1 0/0 0/0 421 0/2 2104 0
Et0/1 1 0/0 0/0 1 0/2 50 0
show ip eigrp topology
EIGRPトポロジー確認。
FD、RDの値確認。
R2#show ip eigrp topology
EIGRP-IPv4 Topology Table for AS(1)/ID(10.1.2.2)
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 307200
via 10.1.2.1 (307200/281600), Ethernet0/0
P 10.6.7.0/24, 1 successors, FD is 307200
via 10.2.7.7 (307200/281600), Ethernet0/1
P 10.7.0.0/24, 1 successors, FD is 307200
via 10.2.7.7 (307200/281600), Ethernet0/1
P 10.3.7.0/24, 1 successors, FD is 307200
via 10.2.7.7 (307200/281600), Ethernet0/1
P 10.2.7.0/24, 1 successors, FD is 281600
via Connected, Ethernet0/1
P 10.1.3.0/24, 1 successors, FD is 307200
via 10.1.2.1 (307200/281600), Ethernet0/0
P 10.1.2.0/24, 1 successors, FD is 281600
via Connected, Ethernet0/0
P 10.1.6.0/24, 1 successors, FD is 307200
via 10.1.2.1 (307200/281600), Ethernet0/0
P 10.4.7.0/24, 1 successors, FD is 307200
via 10.2.7.7 (307200/281600), Ethernet0/1
P 10.1.4.0/24, 1 successors, FD is 307200
via 10.1.2.1 (307200/281600), Ethernet0/0
P 10.5.7.0/24, 1 successors, FD is 307200
via 10.2.7.7 (307200/281600), Ethernet0/1
インターフェースの状態
show ip interface brief コマンドで確認。
Statusと Protocolが upになっていること。
R2#sh ip int bri | e una
Interface IP-Address OK? Method Status Protocol
Ethernet0/0 10.1.2.2 YES manual up up
Ethernet0/1 10.2.7.2 YES manual up up
AS番号の不一致
sh ip protocols コマンドで確認。
以下のコマンド実行例の①の箇所。
R2#sh ip protocols | be eigrp
Routing Protocol is "eigrp 1" ←①
Outgoing update filter list for all interfaces is not set
Incoming update filter list for all interfaces is not set
Default networks flagged in outgoing updates
Default networks accepted from incoming updates
EIGRP-IPv4 Protocol for AS(1) ←①
Metric weight K1=1, K2=0, K3=1, K4=0, K5=0 ←②
Soft SIA disabled
NSF-aware route hold timer is 240
Router-ID: 10.1.2.2
Topology : 0 (base)
Active Timer: 3 min
Distance: internal 90 external 170
Maximum path: 4
Maximum hopcount 100
Maximum metric variance 1
Automatic Summarization: disabled
Maximum path: 4
Routing for Networks:
10.1.2.2/32
10.2.7.2/32
Passive Interface(s):
Passive Interface(s): ←③
Ethernet0/1
Routing Information Sources:
Gateway Distance Last Update
10.2.7.7 90 00:27:46
10.1.2.1 90 00:00:18
Distance: internal 90 external 170
K値の不一致
show ip protocolsで確認。
上記コマンド実行例の②の箇所。
サブネットの不一致
show running-config interface INT_NAMES コマンドで確認。
R2#sh run int e0/0
Building configuration...
Current configuration : 79 bytes
!
interface Ethernet0/0
no switchport
ip address 10.1.2.2 255.255.255.0
end
パッシブインターフェースの設定
show ip protocolsで確認。
上記コマンド実行例の③の箇所。
認証設定の不一致
show running-config interface INT_NAMESで確認。
R3#show run interface e0/0
Building configuration...
Current configuration : 162 bytes
!
interface Ethernet0/0
no switchport
ip address 10.1.3.3 255.255.255.0
ip authentication mode eigrp 1 md5
ip authentication key-chain eigrp 1 EIGRP_KEY
end
認証キーの設定は、show key chainで確認。
R3#show key chain
Key-chain EIGRP_KEY:
key 1 -- text "Cisco"
accept lifetime (always valid) - (always valid) [valid now]
send lifetime (always valid) - (always valid) [valid now]
show ip intraface INT_NAMES でインターフェースに適用されているACLを確認。
show access-list でACLの内容を確認。
タイマー
show ip eigrp interface detail INT_NAMES で確認。
R3#sh ip eigrp interfaces detail e0/0
EIGRP-IPv4 Interfaces for AS(1)
Xmit Queue PeerQ Mean Pacing Time Multicast Pending
Interface Peers Un/Reliable Un/Reliable SRTT Un/Reliable Flow Timer Routes
Et0/0 1 0/0 0/0 8 0/2 50 0
Hello-interval is 5, Hold-time is 15
Split-horizon is enabled
Next xmit serial <none>
Packetized sent/expedited: 10/0
Hello's sent/expedited: 666/3
Un/reliable mcasts: 0/9 Un/reliable ucasts: 13/4
Mcast exceptions: 0 CR packets: 0 ACKs suppressed: 0
Retransmissions sent: 2 Out-of-sequence rcvd: 0
Topology-ids on interface - 0
Authentication mode is md5, key-chain is "EIGRP_KEY"
Topologies advertised on this interface: base
Topologies not advertised on this interface:
ルーティング情報が正しくない
考えられる原因
- networkコマンドの不備
- 想定外のルートを学習している
- ルートフィルタリング
- スプリットホライズン
原因別確認コマンド
networkコマンドの不備
- show run int INT_NAMES
- show ip protocols
- show ip eigrp interface
想定外のルートを学習している
再配送(redistribute)などにより、想定外にAD値が高い/低いルートを学習している場合がある。
- show ip eigrp topology
- show ip route eigrp
ルートフィルタリング
- show ip protocols
- show running-config | se router eigrp
スプリットホライズン
スプリットホライズンが有効になっているためにルートを学習できない場合がある。
(DMVPNのようなネットワーク設計の場合など)
スプリットホライズンが有効になっているかは、show ip interface INT_NAMESで確認できる。
参考資料
書籍
動画
www.udemy.com