From: Aman Sharma <amanrsdev@gmail.com>
To: netdev@vger.kernel.org
Cc: stephen@networkplumber.org, dsahern@kernel.org,
amasharm@redhat.com, Aman Sharma <amanrsdev@gmail.com>
Subject: [PATCH] ip-route.8: document showdump command
Date: Thu, 3 Dec 2026 13:12:31 +0530 [thread overview]
Message-ID: <20261203074231.81143-1-amanrsdev@gmail.com> (raw)
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
reply other threads:[~2026-12-03 7:42 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20261203074231.81143-1-amanrsdev@gmail.com \
--to=amanrsdev@gmail.com \
--cc=amasharm@redhat.com \
--cc=dsahern@kernel.org \
--cc=netdev@vger.kernel.org \
--cc=stephen@networkplumber.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox