コンフィグレーションガイド Vol.3


22.4.1 ピアグループの確認

〈この項の構成〉

(1) 運用コマンド一覧

ピアグループの運用コマンド一覧を次の表に示します。

表22‒33 運用コマンド一覧

コマンド名

説明

show ip bgp

BGP4プロトコルに関する情報を表示します。

show ipv6 bgp

BGP4+プロトコルに関する情報を表示します。

(2) ピアグループの確認

ピアグループに所属するピアのピアリング情報は,show ip bgpコマンドまたはshow ipv6 bgpコマンドでpeer-groupパラメータを指定して確認します。

図22‒26 show ip bgpコマンド(peer-groupパラメータ指定)の実行結果
>show ip bgp peer-group INTERNAL-GROUP
Date 20XX/07/17 18:40:00 UTC
Local AS: 65531, Local Router ID: 172.16.2.100
BGP Peer       AS     Received   Sent       Up/Down              Status
172.16.2.2     65531  36         42         20XX/07/16 18:42:26  Established
172.16.3.3     65531  51         63         20XX/07/16 12:42:31  Established

(3) ピアグループに所属するピアの確認

ピアグループに所属するピアの情報は,show ip bgpコマンドまたはshow ipv6 bgpコマンドでneighborsパラメータを指定して確認します。

図22‒27 show ip bgpコマンド(neighborsパラメータ指定)の実行結果
>show ip bgp neighbors EXTERNAL-GROUP
Date 20XX/07/17 18:45:09 UTC
Peer Address    Peer AS  Local Address    Local AS  Type      Status
192.168.4.4     65533    192.168.4.214    65531     External  Established
192.168.5.5     65534    192.168.5.189    65531     External  Active

(4) ピアが所属するピアグループの確認

ピアが所属するピアグループは,show ip bgpコマンドまたはshow ipv6 bgpコマンドでneighborsパラメータに<peer address>または<host name>を指定して確認します。

図22‒28 show ip bgpコマンド(neighbors <peer address>パラメータ指定)の実行結果
>show ip bgp neighbors 172.16.2.2
Date 20XX/07/17 18:45:09 UTC
BGP Peer: 172.16.2.2, Remote AS: 65531
Remote Router ID: 172.16.2.20, Peer Group: INTERNAL-GROUP                   <-1
    BGP Status:Established          HoldTime: 90   , Keepalive: 30
    Established Transitions: 1      Established Date: 20XX/07/16 18:42:26
    BGP Version: 4                  Type: Internal
    Local Address: 172.16.2.214,  Local AS: 65531
    Local Router ID: 172.16.2.100
    Next Connect Retry: -,          Connect Retry Timer: -
    Last Keep Alive Sent: 18:42:20, Last Keep Alive Received: 18:42:20
    BGP Message  UpdateIn UpdateOut TotalIn TotalOut
                 12       14        36      42
    BGP Capability Negotiation: <IPv4-Uni Refresh Refresh(v)>>
      Send   : <IPv4-Uni Refresh Refresh(v)>
      Receive: <IPv4-Uni Refresh Refresh(v)>>
    Password : UnConfigured
    Track Name: -, Track ID: -, Track State: -
  1. ピアグループINTERNAL-GROUPに所属しています。