Please enable JavaScript.
Coggle requires JavaScript to display documents.
Troubleshooting BGP - Coggle Diagram
Troubleshooting BGP
State after TCP handshake
Idle
Router tìm route để đến IP của neighbor (IP trong câu lệnh neighbor)
Connect
Router tìm thấy route và hoàn thành TCP bắt bay 3 bước
Open sent
Gửi bản tin Open với những parameter cho việc thiết lập BGP
Open confirm
Router nhận được bản tin Keepalive từ neighbor xác nhận các parameter và searching routing table để tìm các path gửi đến neighbor
Active
Không nhận được phản hồi từ bản tin Open
Established
Peering is established; routing begins.
Clear BGP Process
Hard Reset
Clear bgp *
Xóa BGP forwarding table trên router sd câu lệnh này
All network phải học lại thông qua toàn bộ neighbor
Soft Reset (disable by default)
clear bgp ipv4 unicast IP_Address_neighbor soft in/out
Không thiết lập lại BGP session
Bắt router gửi lại toàn bộ routing table cho mỗi neighbor (out - theo chiều outbound)
Soft reconfiguration (chiều in trong command):sử dụng khi thay đổi Filter (thay đổi attribute). Lưu routing information nhận được từ neighbor vào bảng adj-RIB-in. Sau đó apply policy lên bảng này để cho thông tin vào bảng Local-RIB (Forwarding Table)
show bgp neighbor IP-address received: show bảng adj-RIB-in
Dynamic Soft Reset (Route Fresh)
Yêu cầu BGP neighbor gửi lại prefix (trong BGP gọi là NLRI)
Router neighbor ko hỗ trợ Route Fresh thì sẽ sử dụng Soft Reset
BGP Active State
1 Router ở trạng thái Active
Neighbor router ko có route đến source IP address của bản tin Open
Cấu hình nhầm IP, router neighbor ko có câu lệnh neighbor
1 Router flapping giữa Active và Idle
AS Number misconfiguration
BGP Idle and Established State
Idle
Router không tìm được route đến IP address của neighbor (IP Address trong câu lệnh neighbor)