- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
How to clear or purge routing table ?
Hello,
I'm searching how to clear or purge routing table. A few days ago we were using a IP Adr Scope (10.10.3.0-10.10.7.254) for our IPSEC Forticlient user and we did some change to a new scope (10.10.24.0-10.10.28.0).
But in the old IP Addresses remains in the routing monitor list as static addresses and in conflict with some we now need.
How can I do a purge or clean the routing-table ?
Regards
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Okay I don't think that is your issue but to answer your question
1: to clear routes static you can do from the cli
e.g
diag ip route delete <intf> <route> 2: if you have a router process ( bgp ospf ) e.g execute router clear bgp <insert ? to see option> 3: in your issues, you need to search for the old range and ensure it's not being used e.g show full | grep -f x.x.x.x Ken Felix
PCNSE
NSE
StrongSwan
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Thanks for your help.
I try and follow the ? help to set the command line for Interface and route
diag ip route delete <intf> <route>
Command fail. Return code -1
Not possible to delete one route and i've more than 500 to delete (Ipadr Scope).
Does a Fortigate restart will solve the issue ?
Regards
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
yes obviously a restart will clear teh rib but what is your exact issue? It does not sound like a rib issue. What does
"get router info routing all " show you ?
Also , does it match "diag ip route list" ?
ken Felix
PCNSE
NSE
StrongSwan
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Yes it's the same list.
What do you mean by RIB ?
thanks
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
routing information base (RIB) == route-table
The RIB holds active and update routes.
Ken Felix
PCNSE
NSE
StrongSwan
