Fortinet black logo

Version:

Version:

Version:

Version:

Version:

Version:

Version:

Version:

Version:

Version:

Version:

Version:

Version:


Table of Contents

CLI Reference

get router info bgp neighbors

Use this command to display BGP neighbor information.

Syntax

get router info bgp neighbors

Example

FortiADC-VM (root) # get router info bgp neighbors

BGP neighbor is 172.15.1.218, remote AS 101, local AS 101, internal link

BGP version 4, remote router ID 10.0.6.238

BGP state = Established, up for 03:34:16

Last read 00:00:15, hold time is 180, keepalive interval is 60 seconds

Configured hold time is 180, keepalive interval is 60 seconds

Neighbor capabilities:

4 Byte AS: advertised and received

Route refresh: advertised and received(old & new)

Address family IPv4 Unicast: advertised and received

Message statistics:

Inq depth is 0

Outq depth is 0

Sent Rcvd

Opens: 2 0

Notifications: 0 0

Updates: 3 4

Keepalives: 216 215

Route Refresh: 0 0

Capability: 0 0

Total: 221 219

Minimum time between advertisement runs is 5 seconds

For address family: IPv4 Unicast

Community attribute sent to this neighbor(both)

3 accepted prefixes

Connections established 1; dropped 0

Last reset never

Local host: 172.15.1.217, Local port: 179

Foreign host: 172.15.1.218, Foreign port: 27671

Nexthop: 172.15.1.217

Nexthop global: ::

Nexthop local: ::

BGP connection: non shared network

Read thread: on Write thread: off

get router info bgp neighbors

Use this command to display BGP neighbor information.

Syntax

get router info bgp neighbors

Example

FortiADC-VM (root) # get router info bgp neighbors

BGP neighbor is 172.15.1.218, remote AS 101, local AS 101, internal link

BGP version 4, remote router ID 10.0.6.238

BGP state = Established, up for 03:34:16

Last read 00:00:15, hold time is 180, keepalive interval is 60 seconds

Configured hold time is 180, keepalive interval is 60 seconds

Neighbor capabilities:

4 Byte AS: advertised and received

Route refresh: advertised and received(old & new)

Address family IPv4 Unicast: advertised and received

Message statistics:

Inq depth is 0

Outq depth is 0

Sent Rcvd

Opens: 2 0

Notifications: 0 0

Updates: 3 4

Keepalives: 216 215

Route Refresh: 0 0

Capability: 0 0

Total: 221 219

Minimum time between advertisement runs is 5 seconds

For address family: IPv4 Unicast

Community attribute sent to this neighbor(both)

3 accepted prefixes

Connections established 1; dropped 0

Last reset never

Local host: 172.15.1.217, Local port: 179

Foreign host: 172.15.1.218, Foreign port: 27671

Nexthop: 172.15.1.217

Nexthop global: ::

Nexthop local: ::

BGP connection: non shared network

Read thread: on Write thread: off