コンフィグレーションガイド Vol.3
- <この項の構成>
- (1) 運用コマンド一覧
- (2) ルート・リフレクションの確認
(1) 運用コマンド一覧
ルート・リフレクション機能の運用コマンド一覧を次の表に示します。
表12-33 運用コマンド一覧
コマンド名 説明 show ip route ルーティングテーブルで保持する経路情報を表示します。 show ip bgp BGP4プロトコルに関する情報を表示します。
(2) ルート・リフレクションの確認
ルート・リフレクション・クライアントを表示する場合は運用コマンドshow ip bgpのneighborsパラメータとdetailパラメータを指定します。
図12-49 show ip bgpコマンド(neighbors,detailパラメータ指定)の実行結果
> show ip bgp neighbors detail Date 20XX/01/17 15:52:14 UTC BGP Peer: 192.168.2.2 , Remote AS: 65531 Remote Router ID: 192.168.100.2 BGP Status: Established HoldTime: 180 , Keepalive: 60 Established Transitions: 1 Established Date: 20XX/01/17 15:51:00 BGP Version: 4 Type: Internal RRclient …1 Local Address: 192.168.2.1 Local AS: 65531 Local Router ID: 192.168.1.100 Next Connect Retry: - Connect Retry Timer: - Last Keep Alive Sent: 15:52:00 Last Keep Alive Received: 15:52:00 BGP Message UpdateIn UpdateOut TotalIn TotalOut 0 0 2 4 BGP Capability Negotiation: <IPv4-Uni Refresh Refresh(v)> Send : <IPv4-Uni Refresh Refresh(v)> Receive: <IPv4-Uni Refresh Refresh(v)> Password: UnConfigured BFD Name: -, BFD ID: -, BFD State: - BGP Peer: 192.168.3.2 , Remote AS: 65531 Remote Router ID: 192.168.1.103 BGP Status: Established HoldTime: 180 , Keepalive: 60 Established Transitions: 1 Established Date: 20XX/01/17 15:50:43 BGP Version: 4 Type: Internal RRclient …1 Local Address: 192.168.3.1 Local AS: 65531 Local Router ID: 192.168.1.100 Next Connect Retry: - Connect Retry Timer: - Last Keep Alive Sent: 15:51:43 Last Keep Alive Received: 15:51:43 BGP Message UpdateIn UpdateOut TotalIn TotalOut 0 0 2 4 BGP Capability Negotiation: <IPv4-Uni Refresh Refresh(v)> Send : <IPv4-Uni Refresh Refresh(v)> Receive: <IPv4-Uni Refresh Refresh(v)> Password: UnConfigured BFD Name: -, BFD ID: -, BFD State: - BGP Peer: 192.168.4.2 , Remote AS: 65531 Remote Router ID: 192.168.1.104 BGP Status: Established HoldTime: 180 , Keepalive: 60 Established Transitions: 1 Established Date: 20XX/01/17 15:50:30 BGP Version: 4 Type: Internal RRclient …1 Local Address: 192.168.4.1 Local AS: 65531 Local Router ID: 192.168.1.100 Next Connect Retry: - Connect Retry Timer: - Last Keep Alive Sent: 15:51:30 Last Keep Alive Received: 15:51:30 BGP Message UpdateIn UpdateOut TotalIn TotalOut 0 0 2 4 BGP Capability Negotiation: <IPv4-Uni Refresh Refresh(v)> Send : <IPv4-Uni Refresh Refresh(v)> Receive: <IPv4-Uni Refresh Refresh(v)> Password: UnConfigured BFD Name: -, BFD ID: -, BFD State: - BGP Peer: 172.16.2.2 , Remote AS: 65532 Remote Router ID: 172.16.1.102 BGP Status: Established HoldTime: 180 , Keepalive: 60 Established Transitions: 1 Established Date: 20XX/01/17 15:49:35 BGP Version: 4 Type: External Local Address: 172.16.2.1 Local AS: 65531 Local Router ID: 192.168.1.100 Next Connect Retry: - Connect Retry Timer: - Last Keep Alive Sent: 15:51:35 Last Keep Alive Received: 15:51:35 BGP Message UpdateIn UpdateOut TotalIn TotalOut 0 0 3 5 BGP Capability Negotiation: <IPv4-Uni Refresh Refresh(v)> Send : <IPv4-Uni Refresh Refresh(v)> Receive: <IPv4-Uni Refresh Refresh(v)> Password: UnConfigured BFD Name: -, BFD ID: -, BFD State: - >
- ルート・リフレクタ・クライアントとして指定されています。
リフレクトした経路を表示する場合は運用コマンドshow ip bgpのadvertised-routesパラメータを指定します。
図12-50 show ip bgpコマンド(advertised-routesパラメータ指定)の実行結果
> show ip bgp advertised-routes Date 20XX/01/17 22:44:54 UTC BGP Peer: 192.168.3.2 , Remote AS: 65531 Local AS: 65531, Local Router ID: 192.168.1.100 Origin Codes: i - IGP, e - EGP, ? - incomplete Network Next Hop MED LocalPref Path 192.169.10/24 192.168.2.2 120 100 i 192.169.20/24 192.168.2.2 100 100 i BGP Peer: 192.168.4.2 , Remote AS: 65531 Local AS: 65531, Local Router ID: 192.168.1.100 Origin Codes: i - IGP, e - EGP, ? - incomplete Network Next Hop MED LocalPref Path 192.169.10/24 192.168.2.2 120 100 65532 i 192.169.20/24 192.168.2.2 100 100 65532 i
All Rights Reserved, Copyright(C), 2014, 2019, ALAXALA Networks, Corp.