FORTIGATE $ get router info bgp neighbors 10.10.10.10
BGP neighbor is 10.10.10.10, remote AS 65200, local AS 65100, external link
BGP version 4, remote router ID 10.1.1.1
BGP state = Established, up for 05w5d16h
Last read 00:00:28, hold time is 180, keepalive interval is 60 seconds
Configured 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
Address family IPv6 Unicast: advertised and received
Received 295328 messages, 159 notifications, 0 in queue
Sent 297947 messages, 170 notifications, 0 in queue
Route refresh request: received 0, sent 0
Minimum time between advertisement runs is 30 seconds
For address family: IPv4 Unicast
BGP table version 7017, neighbor version 6997
Index 0, Offset 0, Mask 0x1
Community attribute sent to this neighbor (both)
Outbound path policy configured
Route map for outgoing advertisements is *SET-COMMUNITY-OUTroot
1 accepted prefixes
66 announced prefixes
For address family: IPv6 Unicast
BGP table version 1, neighbor version 1
Index 0, Offset 0, Mask 0x1
0 accepted prefixes
0 announced prefixes
Connections established 44; dropped 43
Local host: 10.10.10.1, Local port: 7864
Foreign host: 10.10.10.10, Foreign port: 179
Nexthop: 10.10.10.1
Nexthop global: ::
Nexthop local: ::
BGP connection: non shared network
Last Reset: 05w5d16h, due to BGP Notification sent
Notification Error Message: (CeaseUnspecified Error Subcode)
A legfontosabb sorok egy az egyben az IOS kimenetét imitálják. A BGP peer IP-je után, szintén az IOS-es mintára, biggyeszthetünk mindenféle kiegészítőket, például, hogy mit hirdetünk a szomszéd felé, mit kapunk tőle, stb.:
FORTIGATE $ get router info bgp neighbors 10.10.10.10 ?
<WORD> (advertised-routes|received prefix-filter|received-routes|routes)
<WORD> (advertised-routes|received prefix-filter|received-routes|routes)
Nincsenek megjegyzések:
Megjegyzés küldése