* [PATCH] ip-route.8: document showdump command
@ 2026-12-03 7:42 Aman Sharma
0 siblings, 0 replies; only message in thread
From: Aman Sharma @ 2026-12-03 7:42 UTC (permalink / raw)
To: netdev; +Cc: stephen, dsahern, amasharm, Aman Sharma
The 'ip route showdump' command exists and is shown in help output,
but is not documented in the man page. This patch adds documentation
for the command in both the SYNOPSIS and DESCRIPTION sections.
The showdump command displays routing information from a binary dump
file created by 'ip route save', completing the save/restore/showdump
command trio.
Cc: amasharm@redhat.com
Signed-off-by: Aman Sharma <amanrsdev@gmail.com>
---
man/man8/ip-route.8.in | 23 +++++++++++++++++++++++
1 file changed, 23 insertions(+)
diff --git a/man/man8/ip-route.8.in b/man/man8/ip-route.8.in
index 1e6042c..084f69b 100644
--- a/man/man8/ip-route.8.in
+++ b/man/man8/ip-route.8.in
@@ -26,6 +26,9 @@ ip-route \- routing table management
.ti -8
.BR "ip route restore"
+.ti -8
+.BR "ip route showdump"
+
.ti -8
.B ip route get
.I ROUTE_GET_FLAGS
@@ -1457,6 +1460,26 @@ routes are left unchanged. Any routes specified in the data stream that
already exist in the table will be ignored.
.RE
+.TP
+ip route showdump
+display routing table information from a binary dump
+.RS
+This command reads and displays routing information from a binary dump
+file previously created with
+.BR "ip route save" .
+The output format is the same as
+.BR "ip route show" .
+The dump file contains raw binary data and is architecture-specific.
+.sp
+Example:
+.in +4
+.nf
+ip route save > routes.dump
+ip route showdump < routes.dump
+.fi
+.in -4
+.RE
+
.SH NOTES
Starting with Linux kernel version 3.6, there is no routing cache for IPv4
anymore. Hence
--
2.56.1
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2026-12-03 7:42 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-12-03 7:42 [PATCH] ip-route.8: document showdump command Aman Sharma
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox