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: amas…@redhat.com
Signed-off-by: Aman Sharma <aman…@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