Create a Post
cancel
Showing results for 
Search instead for 
Did you mean: 
Enyi_Ajoku
Collaborator
Jump to solution

How To Clear BGP Routes or Table

Is there a command to execute a soft reset of BGP route table or BGP routes injected into the global routing table.

Most vendors use the clear ip bgp ..... command. 

1 Solution

Accepted Solutions
HeikoAnkenbrand
Champion Champion
Champion

There is one way to reset the entire routing table: by clicking "reset routing" on routing options web page.

There is no CLI command to clear BGP routing table. To clear only the BGP routes, disable BGP and re-enable it.

➜ CCSM Elite, CCME, CCTE ➜ www.checkpoint.tips

View solution in original post

4 Replies
HeikoAnkenbrand
Champion Champion
Champion

There is one way to reset the entire routing table: by clicking "reset routing" on routing options web page.

There is no CLI command to clear BGP routing table. To clear only the BGP routes, disable BGP and re-enable it.

➜ CCSM Elite, CCME, CCTE ➜ www.checkpoint.tips
LazarusG
Contributor
Contributor

restart bgp all
restart bgp as VALUE peer VALUE
restart bgp peer VALUE

Harder to find than it should be.

Sure it was documented but couldn't find it when I needed it. 

used 'clish -c "show commands" > commands.txt' to dump the gaia commands into a file then grepped it.

You can also go into the Gaia Gui and under BGP/Peer groups you can click the button to restart peer or restart all.

dont beleive thats a soft reset though.

I think that may be linked to these commands(?)

set bgp internal peer VALUE route-refresh off
set bgp internal peer VALUE route-refresh on
set bgp internal peer VALUE send-route-refresh request all unicast
set bgp internal peer VALUE send-route-refresh request ipv4 unicast
set bgp internal peer VALUE send-route-refresh request ipv6 unicast
set bgp internal peer VALUE send-route-refresh route-update all unicast
set bgp internal peer VALUE send-route-refresh route-update ipv4 unicast
set bgp internal peer VALUE send-route-refresh route-update ipv6 unicast

Leaderboard

Epsum factorial non deposit quid pro quo hic escorol.

Upcoming Events

    CheckMates Events