From mboxrd@z Thu Jan 1 00:00:00 1970 Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.remote-ip=74.125.227.135 ARC-Seal: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; cv=none; t=1796283776; b=jgyZqdT3xJsN6ZssN1BwQD6jxHL6RppTlCFY36Hu2T0BusKo4dRsoBB8C6MVnf+7y8FF Sd7VCDeUQLknjgQgMujzxLZHBnsVYISQ8YqhSrukcJDO5RrUjpdSr4d9t017IvZBSBKte 9tp6O9ld9PzHlh1JWZApPne5oGjDWDAxF69sAoCBwlCApY+tDn7/bnVLbN7oea+gTMPww EybHLxAawB98EwXvGSnVlLnzmwF1n47in6rHopSqwkuP5P8utftxJVDS9CNvocQo4jHR/ xR0fhMhC2xOcZjSuAKyDM6JfclPwYiSWDq16T0/lmWe4H4FRwUmoHOt2y8D6Zjy48vQ== ARC-Message-Signature: i=1; d=subspace.kernel.org; s=arc20261015; a=rsa-sha256; c=relaxed/relaxed; t=1796283776; h=DMARC-Filter:Received:DKIM-Signature:X-Google-DKIM-Signature: X-Gm-Message-State:X-Gm-Gg:X-Received:Received:From:To:Cc:Subject: Date:Message-ID:X-Mailer:MIME-Version:Content-Transfer-Encoding; bh=zT7R/95OAJrZitrn8vH6AwsJbsUCGnzKefs1C+7KcwE=; b=qwJeqAbaudRmTNGgLYmNr/SJO4HsCic45a0vZoHbCC8gXY57wVJzPG7crZ27q/Q1HMhh M9e2yRT7DKQTywlzhcEQc+AQkQVJ+yDymRWbmj7xvasizB/jWgU5IoYf81DnKT6InaPOQ cQLc6mr8O6OF3ziohv6lJvKzEZlEgKUWa2d2BSCvrxeKkh7nPc7VvycPKr2lE7MyGLePw YFM4QYbcZqGV5+IBp4787kM0C+nPIskf4vA62g/1gXZ7LtHwKqsnhCqnN3CiKHLC2tpNl QtV4FohM5vjuCOxUfcyWRxBjO/3ayP+tZEUXB7Kb/a92eABYipcnw1l99YhyasjkRPg== ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dmarc=pass header.from=gmail.com; spf=pass smtp.mailfrom=gmail.com; dkim=pass header.d=gmail.com header.i=@gmail.com header.a=rsa-sha256 header.s=20260707 header.b=AfRCr3Vv; arc=none smtp.remote-ip=74.125.227.135 Received: from mail-pj2-f7.google.com (mail-pj2-f7.google.com [74.125.227.135]) (using TLSv1.3 with cipher TLS_AES_128_GCM_SHA256 (128/128 bits) key-exchange X25519 server-signature ECDSA (prime256v1) server-digest SHA256) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id F3D87606A322 for ; Thu, 3 Dec 2026 07:42:55 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.2 smtp.subspace.kernel.org F3D87606A322 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=gmail.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.a=rsa-sha256 header.s=20260707 header.b=AfRCr3Vv Received: by mail-pj2-f7.google.com with SMTP id 98e67ed59e1d1-3b4be95e0aeso2430031a91.1 for ; Wed, 02 Dec 2026 23:42:55 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20260707; t=1796283775; x=1796888575; darn=vger.kernel.org; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:from:to:cc:subject:date:message-id:reply-to:content-type; bh=zT7R/95OAJrZitrn8vH6AwsJbsUCGnzKefs1C+7KcwE=; b=AfRCr3VvxxwmIFB2YMhqE1mt0gWo5CKprvEBwwdazqVh/kNatGNW0rtv26rs+EB3t5 u/+uIxdHbwkixvU9HD4QgA8dGmWySlzsHkEjrqeyL57cvJmpZm6wfK4NP7pv8k6/J12V Prg6yV39UhWN5A84PkiORgwDMlojoRl3P9YPpbjBOxxgGda8MKkw7NzFs/eJFnRSZl9N RELkY71hJmZd9aOFEGUL4vurudT+R+k+w6jBrKuGUwXVItNK3j0jQOM7wOZMwNr0cppu 0HAVam0I0FyB5rabq1+nyofYqmX4f9ETupZpPoBxVObuXQZnAswPdz/257CtD7Y9gTrg PrgA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20260707; t=1796283775; x=1796888575; h=content-transfer-encoding:mime-version:message-id:date:subject:cc :to:from:x-gm-gg:x-gm-message-state:from:to:cc:subject:date :message-id:reply-to:content-type; bh=zT7R/95OAJrZitrn8vH6AwsJbsUCGnzKefs1C+7KcwE=; b=ENcFq8+2zrf5Ny3g+Vnyf8PncqIvm7nC9BGFUzGpC13SHAuQKK4dRqv3KMncYsiLBG MuI8ipwJNgbCY7NYAaOFmE9ponGyUC+3cnZGHHkIAfKpw1hj4UcxPirE945Ixojb/nbu mUITQNJCr2NEVn8y8gGrg30dPJydNyMOhovyDrTVbCWXMAdbQVKQ/Lsd6z87UkYx2Zkx +U0lL1yPo/lhWW1XPs5VcxOgD5E+5jQNt3kWWr/RPN6BJddRWe0Ai/Bwirev1Xnnv6Ci YdxvuE5d/lbwE89u2VLwFGeIgt6GkN7ceVwcctILknZlUZHZg6+14fbmO0O3kNRLaxo+ AWLw== X-Gm-Message-State: APuU4Z8QO/yhDMtGGxccghwl2D1rNdwOYpK7pn+uq6W/FUrPfcq8vpXb pto5a7cpIsdSE1a65QPrQTKAqwmRRQplvUK3hHG67lbb+HpbScalLwutfo2/A+X/x3c= X-Gm-Gg: AZFdTZdoVnxBw0IPlhv6GWTX9IgB7emHdaGXPLQ0shXnG15H3oD4rj+uLm1kSfJDnAw 61/JK4l8jAhBQemmUZF6UTCCcgZ4cYT/HKS0bZsysvnpWlZjUVsmUTL5r3tCofkavPwkqY/7wtw X0vfVATo/1iv4dFUKyLInGsmRguFfMZtbuYCCP1S6RYZ2zGIyJvcvO5XKTThj/ACRgxrfUrSMPT yYgGlzqIjPVSZmoeGvEjJvinInlovaGopd4mudBTMavZ4035AwQw279xv2oArwStWkekpTIdFeS h9Q9f7zNNuNOhMMhj+g0/T/3kpphi/Weqd6beR6+0clfWyYk614qoqYksYb2k3FcHCZBnrlMkTm hfK0pNkV7Si20BLvtEJb0XEXUQAhR7fnTNb7ED1FdIb+CgiTGbezIjefIZLMNruHomu8s8AoNM2 h8ActlJCsqIaytfz0uKHd2wm+aKuhCLIU0xJXDgR+aegER2LyHGsMyLdHTEXQYaic577OmFRC7E PS8Gm+0wjrLRos2LtV99jlYU9FNiAzPO9BnJ6IKN47szJC1wFZYi4gJm6XDCEDOgXhtH+iInrk6 D/KcJdEp87ITV0B0wVZGaSOHsQ3rwpA1j4N+H6Z2ceN24Xr66Rsbkm8nmra5d0EQ X-Received: by 2002:a17:90b:5745:b0:3b5:35eb:5e89 with SMTP id 98e67ed59e1d1-3b535eb5fc5mr22000736a91.37.1796283775114; Wed, 02 Dec 2026 23:42:55 -0800 (PST) Received: from amasharm-thinkpadp16vgen1.rmtin.csb ([2401:4900:1c8e:fc21:eba4:83f7:c94d:530f]) by smtp.gmail.com with ESMTPSA id 98e67ed59e1d1-3b5c7d486efsm2967246a91.9.2026.12.02.23.42.52 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Wed, 02 Dec 2026 23:42:54 -0800 (PST) From: Aman Sharma To: netdev@vger.kernel.org Cc: stephen@networkplumber.org, dsahern@kernel.org, amasharm@redhat.com, Aman Sharma Subject: [PATCH] ip-route.8: document showdump command Date: Thu, 3 Dec 2026 13:12:31 +0530 Message-ID: <20261203074231.81143-1-amanrsdev@gmail.com> X-Mailer: git-send-email 2.56.1 X-Mailing-List: netdev@vger.kernel.org List-Id: List-Post: List-Help: List-Subscribe: List-Unsubscribe: List-Owner: Precedence: list MIME-Version: 1.0 Content-Transfer-Encoding: 8bit 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 --- 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