# show ip bgp neighbors

モード
  非特権EXECモード
カテゴリー
  IP / 経路制御（BGP）

## 構文

コマンド構文

`> show ip bgp neighbors [A.B.C.D]`

## コマンド説明

（IPv4）BGPピアの詳細情報を表示する。

## パラメーター

`A.B.C.D`
  指定したBGPピアの情報だけを表示する。省略時はすべてのBGPピアが対象となる

## 使用例

    awplus> show ip bgp neighbors
    BGP neighbor is 10.10.10.5, remote AS 65050, local AS 65010, external link
      BGP version 4, remote router ID 10.10.10.5
      BGP state = Established, up for 00:01:05
      Last read 00:01:05, hold time is 180, keepalive interval is 60 seconds
      Neighbor capabilities:
        Route refresh: advertised and received (old and new)
        Address family IPv4 Unicast: advertised and received
      Received 107 messages, 3 notifications, 0 in queue
      Sent 111 messages, 14 notifications, 0 in queue
      Route refresh request: received 3, sent 5
      Minimum time between advertisement runs is 30 seconds

     For address family: IPv4 Unicast
      BGP table version 4, neighbor version 4
      Index 1, Offset 0, Mask 0x2
      AF-dependant capabilities:
        Outbound Route Filter (ORF) type (64) Prefix-list:
          Send-mode: advertised, received
          Receive-mode: advertised, received
        Outbound Route Filter (ORF) type (128) Prefix-list:
          Send-mode: advertised, received
          Receive-mode: advertised, received
      Outbound Route Filter (ORF): sent; received (1 entries)
      Community attribute sent to this neighbor (both)
      Inbound path policy configured
      Incoming update prefix filter list is *peer5in
      Route map for incoming advertisements is *path2
      11 accepted prefixes
      1 announced prefixes

     Connections established 12; dropped 11
    Local host: 10.10.10.1, Local port: 179
    Foreign host: 10.10.10.5, Foreign port: 35934
    Nexthop: 10.10.10.1
    Last Reset: 00:01:05, due to BGP Notification sent
    Notification Error Message: (Cease/Unspecified Error Subcode)

    BGP neighbor is 10.10.10.8, remote AS 65080, local AS 65010, external link
      BGP version 4, remote router ID 10.10.10.8
      BGP state = Established, up for 00:00:45
      Last read 00:00:45, hold time is 180, keepalive interval is 60 seconds
      Neighbor capabilities:
        Route refresh: advertised and received (old and new)
        Address family IPv4 Unicast: advertised and received
      Received 79 messages, 12 notifications, 0 in queue
      Sent 137 messages, 7 notifications, 0 in queue
      Route refresh request: received 3, sent 5
      Minimum time between advertisement runs is 30 seconds

     For address family: IPv4 Unicast
      BGP table version 4, neighbor version 4
      Index 2, Offset 0, Mask 0x4
      AF-dependant capabilities:
        Outbound Route Filter (ORF) type (64) Prefix-list:
          Send-mode: advertised, received
          Receive-mode: advertised, received
        Outbound Route Filter (ORF) type (128) Prefix-list:
          Send-mode: advertised, received
          Receive-mode: advertised, received
      Outbound Route Filter (ORF): sent;
      Community attribute sent to this neighbor (both)
      Inbound path policy configured
      Incoming update prefix filter list is *peer8in
      Route map for incoming advertisements is *path1
      12 accepted prefixes
      22 announced prefixes

     Connections established 10; dropped 9
    Local host: 10.10.10.1, Local port: 179
    Foreign host: 10.10.10.8, Foreign port: 55739
    Nexthop: 10.10.10.1
    Last Reset: 00:01:05, due to BGP Notification received
    Notification Error Message: (Cease/Administratively Shutdown.)

## 関連コマンド