After layer 3 routing a large IPv6 assignment on an EX Juniper switch, the route forwarding table filled up and some entries corrupted or became otherwise invalid. We want to clear the whole table. How?
3 Answers
You can do this manually with this simple command:
clear route forwarding-table
As example(Juniper EX4200):
> clear route forwarding-table ?
Possible completions: Destination prefix {master:0}
It seems like it cleared up itself after deleting the prefixes from the configuration.
-
You should accept your answer so that the question doesn't keep popping up forever, looking for an answer.– Ron Maupin ♦Commented Jul 21, 2017 at 7:35
Although your issue is cleared, here is your answer:
-
2This clear the MAC address table, not the forwarding (I.E. routing) table.– JFLCommented Sep 19, 2017 at 10:23
-
1.If you read the link it says: "Clear learned entries, which are media access control (MAC) addresses, in the Ethernet switching table (also called the forwarding database table)" , so I'm not making this up. 2. Routing table is not the Forwarding table. 3. Share your references and expand on explanation, else you should delete your comment to not confuse people.– DRPCommented Sep 20, 2017 at 20:13
-
2If you read the question it says "the route forwarding table" (and begin with " After layer 3 routing*". The question is obviously about the routing table and not about the MAC address table. My reference is the 802.1D document that define switch operation, in which the MAC address table is calle the filtering database. The fact that Juniper choose to call it a forwarding database is what cause confusion. In practice a fowarding database usually refer to the router FIB - Forwarding Information Database, built upon the various RIB - Routing Information Base.– JFLCommented Sep 21, 2017 at 6:45
-
2Now I agree that the question is about a Juniper device and that in the linked document Juniper call the Mac Address Table the "forwarding database table", but since the question explicitly refers to the route forwarding table, it's not about this one.– JFLCommented Sep 21, 2017 at 6:46
-
@JFL In that case the title should be changed. I might have not come across yet, but so far Networking literature is often more consistent with either: routing table or forwarding table not route forwarding table, this is redundant and leads to misunderstanding. Even if you find commands that might tie that type of wording (i.e junipers: show route forwarding-table) the doc's will clearly state which table.– DRPCommented Dec 20, 2017 at 20:52