From fb23d70afd8386e9c986653436b0caa9d5b6deb0 Mon Sep 17 00:00:00 2001 From: sever-sever Date: Wed, 27 May 2020 12:00:30 +0000 Subject: op-mode: T2512: Fix conflict templates ipv4-route and show-ip-route --- op-mode-definitions/show-ip-route.xml | 30 ++++++++++++++++++++++++++++++ 1 file changed, 30 insertions(+) (limited to 'op-mode-definitions/show-ip-route.xml') diff --git a/op-mode-definitions/show-ip-route.xml b/op-mode-definitions/show-ip-route.xml index 2379b3aae..d12d132c0 100644 --- a/op-mode-definitions/show-ip-route.xml +++ b/op-mode-definitions/show-ip-route.xml @@ -19,12 +19,42 @@ /usr/bin/vtysh -c "show ip route bgp" + + + Show kernel route cache + + ip -s route list cache + + + + Show kernel route cache for a given route + + <x.x.x.x> <x.x.x.x/x> + + + ip -s route list cache $5 + Show IP connected routes /usr/bin/vtysh -c "show ip route connected" + + + Show kernel route table + + ip route list + + + + Show kernel route table for a given route + + <x.x.x.x> <x.x.x.x/x> + + + ip -s route list $5 + Show IP kernel routes -- cgit v1.2.3