7.13.130 IPv4 BGPピアの表示

[書式]

[パラメーター]

NEIGHBOR : アドレス値
設定値 説明
A.B.C.D BGPネイバーのIPv4アドレス
X:X::X:X BGPネイバーのIPv6アドレス

[入力モード]

非特権EXECモード、特権EXECモード

[説明]

BGPネイバーの情報を表示する。

NEIGHBORパラメーターを指定した場合、指定したBGPネイバーの情報のみを表示する。

show ip bgp neighborsとshow ipv6 bgp neighborsは同等の出力となる。

[設定例]

SWX3220#show ip bgp neighbors 192.168.100.100
BGP neighbor is 192.168.100.100, remote AS 20000, local AS 20000, internal link
  BGP version 4, remote router ID 192.168.100.100
  BGP state = Established, up for 03:06:58
  Last read 03:06:58, hold time is 90, keepalive interval is 30 seconds
  Neighbor capabilities:
    Route refresh: advertised and received (old and new)
    Address family IPv4 Unicast: advertised and received
  Received 441 messages, 0 notifications, 0 in queue
  Sent 377 messages, 0 notifications, 0 in queue
  Route refresh request: received 0, sent 0
  Minimum time between advertisement runs is 5 seconds
 For address family: IPv4 Unicast
  BGP table version 193, neighbor version 193
  Index 1, Offset 0, Mask 0x2
  Community attribute sent to this neighbor (both)
  Outbound path policy configured
  Outgoing update AS path filter list is *100
  2 accepted prefixes
  0 announced prefixes

 Connections established 1; dropped 0
Local host: 192.168.100.240, Local port: 179
Foreign host: 192.168.100.100, Foreign port: 44114
Nexthop: 192.168.100.240
Nexthop global: ::
Nexthop local: ::
BGP connection: non shared network