summaryrefslogtreecommitdiff
path: root/op-mode-definitions/show-ip-route.xml
diff options
context:
space:
mode:
Diffstat (limited to 'op-mode-definitions/show-ip-route.xml')
-rw-r--r--op-mode-definitions/show-ip-route.xml30
1 files changed, 30 insertions, 0 deletions
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 @@
</properties>
<command>/usr/bin/vtysh -c "show ip route bgp"</command>
</leafNode>
+ <node name="cache">
+ <properties>
+ <help>Show kernel route cache</help>
+ </properties>
+ <command>ip -s route list cache</command>
+ </node>
+ <tagNode name="cache">
+ <properties>
+ <help>Show kernel route cache for a given route</help>
+ <completionHelp>
+ <list>&lt;x.x.x.x&gt; &lt;x.x.x.x/x&gt;</list>
+ </completionHelp>
+ </properties>
+ <command>ip -s route list cache $5</command>
+ </tagNode>
<leafNode name="connected">
<properties>
<help>Show IP connected routes</help>
</properties>
<command>/usr/bin/vtysh -c "show ip route connected"</command>
</leafNode>
+ <node name="forward">
+ <properties>
+ <help>Show kernel route table</help>
+ </properties>
+ <command>ip route list</command>
+ </node>
+ <tagNode name="forward">
+ <properties>
+ <help>Show kernel route table for a given route</help>
+ <completionHelp>
+ <list>&lt;x.x.x.x&gt; &lt;x.x.x.x/x&gt;</list>
+ </completionHelp>
+ </properties>
+ <command>ip -s route list $5</command>
+ </tagNode>
<leafNode name="kernel">
<properties>
<help>Show IP kernel routes</help>