Fortinet white logo
Fortinet white logo

CLI Reference

get router info bgp regexp

get router info bgp regexp

Use this command to display BGP information by a regular expression.

Syntax

get router info bgp regexp <name line>

Example

FortiADC-VM (root) # get router info bgp regexp .*

BGP table version is 0, local router ID is 10.0.6.217

Status codes: s suppressed, d damped, h history, * valid, > best, i - internal,

r RIB-failure, S Stale, R Removed

Origin codes: i - IGP, e - EGP, ? - incomplete

Network Next Hop Metric LocPrf Weight Path

*> 2.1.0.0/16 10.0.0.1 0 32768 ?

*>i38.0.0.0/24 172.15.2.29 0 100 0 102 i

* i172.15.1.0/24 172.15.1.218 0 100 0 i

*> 0.0.0.0 0 32768 i

*>i172.15.2.0/24 172.15.1.218 0 100 0 i

*> 192.168.11.0 0.0.0.0 0 32768 i

Total number of prefixes 5

get router info bgp regexp

get router info bgp regexp

Use this command to display BGP information by a regular expression.

Syntax

get router info bgp regexp <name line>

Example

FortiADC-VM (root) # get router info bgp regexp .*

BGP table version is 0, local router ID is 10.0.6.217

Status codes: s suppressed, d damped, h history, * valid, > best, i - internal,

r RIB-failure, S Stale, R Removed

Origin codes: i - IGP, e - EGP, ? - incomplete

Network Next Hop Metric LocPrf Weight Path

*> 2.1.0.0/16 10.0.0.1 0 32768 ?

*>i38.0.0.0/24 172.15.2.29 0 100 0 102 i

* i172.15.1.0/24 172.15.1.218 0 100 0 i

*> 0.0.0.0 0 32768 i

*>i172.15.2.0/24 172.15.1.218 0 100 0 i

*> 192.168.11.0 0.0.0.0 0 32768 i

Total number of prefixes 5