Fortinet white logo
Fortinet white logo

CLI Reference

router clear bgp

router clear bgp

Use this command to clear BGP peer connections.

Syntax

Clear BGP peers
execute router clear bgp all  Clear all BGP peers.

Clear a BGP peer by AS number
execute router clear bgp as  Clear BGP peer by AS number.

Clear BGP route flap dampening information
execute router clear bgp dampening  Clear route flap dampening information.

Clear all BGP external peers
execute router clear bgp external  Clear all external peers.

Clear BGP route flap statistics
execute router clear bgp flap-statistics  Clear route flap statistics.

Clear BGP peers by IP address
execute router clear bgp ip  Clear BGP peer by IP address.

Clear a BGP peer by IPv6 address
execute router clear bgp ipv6  Clear BGP peer by IPv6 address.

router clear bgp

router clear bgp

Use this command to clear BGP peer connections.

Syntax

Clear BGP peers
execute router clear bgp all  Clear all BGP peers.

Clear a BGP peer by AS number
execute router clear bgp as  Clear BGP peer by AS number.

Clear BGP route flap dampening information
execute router clear bgp dampening  Clear route flap dampening information.

Clear all BGP external peers
execute router clear bgp external  Clear all external peers.

Clear BGP route flap statistics
execute router clear bgp flap-statistics  Clear route flap statistics.

Clear BGP peers by IP address
execute router clear bgp ip  Clear BGP peer by IP address.

Clear a BGP peer by IPv6 address
execute router clear bgp ipv6  Clear BGP peer by IPv6 address.