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


21.4.2 ピアの種別と接続形態の確認

ピアの接続情報は,show ip bgpコマンドまたはshow ipv6 bgpコマンドでneighborsパラメータを指定して表示します。詳細情報を表示する場合は,さらにdetailパラメータを指定します。

図21‒13 show ip bgpコマンド(neighborsパラメータ指定)の実行結果
> show ip bgp neighbors
Date 20XX/03/18 22:45:55 UTC
Peer Address     Peer AS  Local Address    Local AS  Type      Status
10.1.2.2         65531    10.1.2.1         65531     Internal  Established
192.168.2.2      65531    192.168.2.1      65531     Internal  Established
10.2.2.2         65533    10.1.2.1         65531     External  Established
172.16.2.2       65532    172.16.2.1       65531     External  Established
図21‒14 show ip bgpコマンド(neighbors detailパラメータ指定)の実行結果
> show ip bgp neighbors detail
Date 20XX/03/17 15:52:14 UTC
BGP Peer: 10.1.2.2       , Remote AS: 65531
Remote Router ID: 10.1.2.102
    BGP Status: Established         HoldTime: 180  , Keepalive: 60
    Established Transitions: 1      Established Date: 20XX/03/17 15:51:00
    BGP Version: 4                  Type: Internal
    Local Address: 10.1.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
    Track Name: -, Track ID: -, Track State: -
 
BGP Peer: 192.168.2.2    , Remote AS: 65531
Remote Router ID: 192.168.1.102
    BGP Status: Established         HoldTime: 180  , Keepalive: 60
    Established Transitions: 1      Established Date: 20XX/03/17 15:50:43
    BGP Version: 4                  Type: Internal
    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: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
    Track Name: -, Track ID: -, Track State: -
      :
      :
>