はじめに
BGP のトラブルシューティングに役立つ show/debug コマンドを載せています。
問題が発生した場合に、どのようなコマンドがあるかという意味で作成したドキュメントとなり、詳細な情報は記載せず、コマンドのみとしています。
※IOSバージョンによりサポートしていないコマンドが含まれている場合があります。
※Platformに依存したコマンドは載っていない場合があります。
※一部Hiddenコマンドとなり、補完されないコマンドが含まれている場合があります。
※debug取得は設定/環境によりCPU高負荷を引き起こす可能性があるため、実環境で取得する場合には事前に影響を検証の上、取得をご検討ください。また debug 取得時の負荷を抑えるための設定は以下を参照してください。
IOS/IOS-XE Router でログ取得前に事前に設定頂きたいコマンド
show commands
show ip route summary
show ip protocols
show ip traffic
show ip bgp all
show ip bgp all summary
show ip bgp all neighbor
show ip bgp all neighbor <x.x.x.x> routes
show ip bgp all neighbor <x.x.x.x> received-routes
show ip bgp all neighbor <x.x.x.x> advertised-routes
show ip bgp all update-group
!!! VRF を指定する場合は以下になります。
show ip route vrf <vrf-name> summary
show ip protocols vrf <vrf-name>
show process cpu sorted | i BGP
show tcp brief all
show tcp statistics
show tech-support
show logging
debug commands
debug ip bgp
debug ip bgp update
debug ip bgp keepalive
debug ip bgp events
debug ip bgp events nexthop
debug ip bgp rib-filter
debug ip bgp update-group
debug ip tcp transactions
参考情報
BGP に関するトラブルシューティング