summaryrefslogtreecommitdiff
path: root/op-mode-definitions
diff options
context:
space:
mode:
authorChristian Poessinger <christian@poessinger.com>2021-01-02 19:43:09 +0100
committerChristian Poessinger <christian@poessinger.com>2021-01-02 19:43:09 +0100
commit0acf5dff2ffc54eee1a1a6f9bceed7e62caf4fd4 (patch)
treeeb574306ffc1fdbfdb47a31231791290c3974ce5 /op-mode-definitions
parent0fd9102301c50fc9be4d93f9eb4af57157804d83 (diff)
downloadvyos-1x-0acf5dff2ffc54eee1a1a6f9bceed7e62caf4fd4.tar.gz
vyos-1x-0acf5dff2ffc54eee1a1a6f9bceed7e62caf4fd4.zip
op-mode: T3178: add "show ipv6 route" commands
Diffstat (limited to 'op-mode-definitions')
-rw-r--r--op-mode-definitions/show-ipv6.xml143
1 files changed, 123 insertions, 20 deletions
diff --git a/op-mode-definitions/show-ipv6.xml b/op-mode-definitions/show-ipv6.xml
index be84640eb..cf3f25993 100644
--- a/op-mode-definitions/show-ipv6.xml
+++ b/op-mode-definitions/show-ipv6.xml
@@ -22,26 +22,6 @@
</properties>
<command>vtysh -c "show ipv6 access-list $4"</command>
</tagNode>
- <node name="forwarding">
- <properties>
- <help>Show IPv6 forwarding status</help>
- </properties>
- <command>vtysh -c "show ipv6 forwarding"</command>
- </node>
- <node name="ripng">
- <properties>
- <help>Show RIPNG protocol information</help>
- </properties>
- <command>vtysh -c "show ipv6 ripng"</command>
- <children>
- <node name="status">
- <properties>
- <help>Show RIPNG protocol status</help>
- </properties>
- <command>vtysh -c "show ipv6 ripng status"</command>
- </node>
- </children>
- </node>
<node name="bgp">
<properties>
<help>Show Border Gateway Protocol (BGP) information</help>
@@ -231,6 +211,129 @@
</node>
</children>
</tagNode>
+ <node name="forwarding">
+ <properties>
+ <help>Show IPv6 forwarding status</help>
+ </properties>
+ <command>vtysh -c "show ipv6 forwarding"</command>
+ </node>
+ <node name="ripng">
+ <properties>
+ <help>Show RIPNG protocol information</help>
+ </properties>
+ <command>vtysh -c "show ipv6 ripng"</command>
+ <children>
+ <node name="status">
+ <properties>
+ <help>Show RIPNG protocol status</help>
+ </properties>
+ <command>vtysh -c "show ipv6 ripng status"</command>
+ </node>
+ </children>
+ </node>
+ <tagNode name="route">
+ <properties>
+ <help>Show IPv6 routes of given address or prefix</help>
+ <completionHelp>
+ <list>&lt;X:X::X:X&gt; &lt;X:X::X:X/M&gt;</list>
+ </completionHelp>
+ </properties>
+ <children>
+ <node name="longer-prefixes">
+ <properties>
+ <help>Show longer prefixes of routes for given address or prefix</help>
+ </properties>
+ <command>vtysh -c "show ipv6 route $4 longer-prefixes"</command>
+ </node>
+ </children>
+ <command>vtysh -c "show ipv6 route $4"</command>
+ </tagNode>
+ <node name="route">
+ <properties>
+ <help>Show IPv6 routes</help>
+ </properties>
+ <command>vtysh -c "show ipv6 route"</command>
+ <children>
+ <node name="bgp">
+ <properties>
+ <help>Show IPv6 BGP routes</help>
+ </properties>
+ <command>vtysh -c "show ipv6 route bgp"</command>
+ </node>
+ <node name="connected">
+ <properties>
+ <help>Show IPv6 connected routes</help>
+ </properties>
+ <command>vtysh -c "show ipv6 route connected"</command>
+ </node>
+ <node name="isis">
+ <properties>
+ <help>Show IPv6 IS-IS routes</help>
+ </properties>
+ <command>vtysh -c "show ipv6 route isis"</command>
+ </node>
+ <node name="kernel">
+ <properties>
+ <help>Show IPv6 Kernel routes</help>
+ </properties>
+ <command>vtysh -c "show ipv6 route kernel"</command>
+ </node>
+ <node name="ospfv3">
+ <properties>
+ <help>Show IPv6 OSPF routes</help>
+ </properties>
+ <command>vtysh -c "show ipv6 route ospf6"</command>
+ </node>
+ <node name="ripng">
+ <properties>
+ <help>Show IPv6 RIPNG routes</help>
+ </properties>
+ <command>vtysh -c "show ipv6 route ripng"</command>
+ </node>
+ <node name="static">
+ <properties>
+ <help>Show IPv6 static routes</help>
+ </properties>
+ <command>vtysh -c "show ipv6 route static"</command>
+ </node>
+ <node name="summary">
+ <properties>
+ <help>Show IPv6 routes summary</help>
+ </properties>
+ <command>vtysh -c "show ipv6 route summary"</command>
+ </node>
+ <node name="table">
+ <properties>
+ <help>Show IPv6 routes in policy tables</help>
+ </properties>
+ <command>vtysh -c "show ipv6 route table all"</command>
+ </node>
+ <tagNode name="table">
+ <properties>
+ <help>Show IPv6 routes in specific policy table</help>
+ <completionHelp>
+ <path>protocols static table</path>
+ </completionHelp>
+ </properties>
+ <command>vtysh -c "show ipv6 route table $5"</command>
+ </tagNode>
+ <node name="vrf">
+ <properties>
+ <help>Show IPv6 routes in VRFs</help>
+ </properties>
+ <command>vtysh -c "show ipv6 route vrf all"</command>
+ </node>
+ <tagNode name="vrf">
+ <properties>
+ <help>Show IPv6 routes in specific VRF</help>
+ <completionHelp>
+ <path>vrf name</path>
+ </completionHelp>
+ </properties>
+ <command>vtysh -c "show ipv6 route vrf $5"</command>
+ </tagNode>
+ </children>
+ </node>
</children>
</node>
</children>