summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristian Poessinger <christian@poessinger.com>2021-01-04 17:14:14 +0100
committerChristian Poessinger <christian@poessinger.com>2021-01-04 17:14:14 +0100
commite0ff3f330790f41be3bbd05ed28327cb2e38e52c (patch)
treea624b9a7f363d7772b21dd3d405b611736d6d849
parente7dd8c17d527aeb31b93b966c59a311f7506b906 (diff)
downloadvyos-1x-e0ff3f330790f41be3bbd05ed28327cb2e38e52c.tar.gz
vyos-1x-e0ff3f330790f41be3bbd05ed28327cb2e38e52c.zip
op-mode: T3178: split IPv6 commands into individual files
-rw-r--r--op-mode-definitions/show-ipv6-bgp.xml203
-rw-r--r--op-mode-definitions/show-ipv6-prefix-list.xml92
-rw-r--r--op-mode-definitions/show-ipv6-route.xml117
-rw-r--r--op-mode-definitions/show-ipv6.xml370
4 files changed, 412 insertions, 370 deletions
diff --git a/op-mode-definitions/show-ipv6-bgp.xml b/op-mode-definitions/show-ipv6-bgp.xml
new file mode 100644
index 000000000..aad61b97a
--- /dev/null
+++ b/op-mode-definitions/show-ipv6-bgp.xml
@@ -0,0 +1,203 @@
+<?xml version="1.0"?>
+<interfaceDefinition>
+ <node name="show">
+ <children>
+ <node name="ipv6">
+ <properties>
+ <help>Show IPv6 routing information</help>
+ </properties>
+ <children>
+ <node name="bgp">
+ <properties>
+ <help>Show Border Gateway Protocol (BGP) information</help>
+ </properties>
+ <command>vtysh -c "show bgp ipv6"</command>
+ <children>
+ <leafNode name="summary">
+ <properties>
+ <help>Show summary of BGP neighbor status</help>
+ </properties>
+ <command>vtysh -c "show bgp ipv6 summary"</command>
+ </leafNode>
+ <tagNode name="regexp">
+ <properties>
+ <help>Show routes matching AS path regular expression</help>
+ </properties>
+ <command>vtysh -c "show bgp ipv6 regexp $5"</command>
+ </tagNode>
+ <tagNode name="prefix-list">
+ <properties>
+ <help>Show routes matching the IPv6 prefix-list name</help>
+ <completionHelp>
+ <path>policy prefix-list6</path>
+ </completionHelp>
+ </properties>
+ <command>vtysh -c "show bgp ipv6 prefix-list $5"</command>
+ </tagNode>
+ <tagNode name="neighbors">
+ <properties>
+ <help>Show detailed information on TCP and BGP neighbor connections for given address</help>
+ <completionHelp>
+ <script>vtysh -c "show bgp ipv6 summary" | awk '{print $1}' | grep -oE "\b([0-9a-f]{1,4}\:{0,2}){0,20}\b"</script>
+ </completionHelp>
+ </properties>
+ <command>vtysh -c "show bgp ipv6 neighbor $5"</command>
+ <children>
+ <leafNode name="advertised-routes">
+ <properties>
+ <help>Show routes advertised to a BGP neighbor</help>
+ </properties>
+ <command>vtysh -c "show bgp ipv6 neighbor $5 advertised-routes"</command>
+ </leafNode>
+ <leafNode name="filtered-routes">
+ <properties>
+ <help>Show routes filtered from a BGP neighbor</help>
+ </properties>
+ <command>vtysh -c "show bgp ipv6 neighbor $5 filtered-routes"</command>
+ </leafNode>
+ <leafNode name="dampened-routes">
+ <properties>
+ <help>Show dampened routes received from BGP neighbor</help>
+ </properties>
+ <command>vtysh -c "show bgp ipv6 neighbor $5 dampened-routes"</command>
+ </leafNode>
+ <leafNode name="flap-statistics">
+ <properties>
+ <help>Show flap statistics of the routes learned from BGP neighbor</help>
+ </properties>
+ <command>vtysh -c "show bgp ipv6 neighbor $5 flap-statistics"</command>
+ </leafNode>
+ <leafNode name="prefix-counts">
+ <properties>
+ <help>Show detailed prefix count information for BGP neighbor</help>
+ </properties>
+ <command>vtysh -c "show bgp ipv6 neighbor $5 prefix-counts"</command>
+ </leafNode>
+ <node name="received">
+ <properties>
+ <help>Show information received from BGP neighbor</help>
+ </properties>
+ <children>
+ <leafNode name="prefix-filter">
+ <properties>
+ <help>Show prefixlist filter</help>
+ </properties>
+ <command>vtysh -c "show bgp ipv6 neighbor $5 received prefix-filter"</command>
+ </leafNode>
+ </children>
+ </node>
+ <leafNode name="received-routes">
+ <properties>
+ <help>Show received routes from BGP neighbor</help>
+ </properties>
+ <command>vtysh -c "show bgp ipv6 neighbor $5 received-routes"</command>
+ </leafNode>
+ <leafNode name="routes">
+ <properties>
+ <help>Show routes learned from BGP neighbor</help>
+ </properties>
+ <command>vtysh -c "show bgp ipv6 neighbor $5 routes"</command>
+ </leafNode>
+ </children>
+ </tagNode>
+ <tagNode name="large-community">
+ <properties>
+ <help>Show routes matching the large-community-list number or name</help>
+ </properties>
+ <command>vtysh -c "show bgp ipv6 large-community-list $5"</command>
+ <children>
+ <node name="exact-match">
+ <properties>
+ <help>Show routes matching the large-community-list number or name</help>
+ </properties>
+ <command>vtysh -c "show bgp ipv6 large-community-list $5 exact-match"</command>
+ </node>
+ </children>
+ </tagNode>
+ <tagNode name="large-community-list">
+ <properties>
+ <help>Show routes matching the large-community-list number or name</help>
+ </properties>
+ <command>vtysh -c "show bgp ipv6 large-community-list $5"</command>
+ <children>
+ <node name="exact-match">
+ <properties>
+ <help>Show routes matching the large-community-list number or name</help>
+ </properties>
+ <command>vtysh -c "show bgp ipv6 large-community-list $5 exact-match"</command>
+ </node>
+ </children>
+ </tagNode>
+ <tagNode name="filter-list">
+ <properties>
+ <help>Show routes conforming to regular expression access list name</help>
+ </properties>
+ <command>vtysh -c "show bgp ipv6 filter-list $5"</command>
+ </tagNode>
+ <tagNode name="community">
+ <properties>
+ <help>Show BGP information for specified community number</help>
+ <completionHelp>
+ <list>&lt;AA:NN&gt; local-AS no-advertise no-export</list>
+ </completionHelp>
+ </properties>
+ <command>vtysh -c "show bgp ipv6 community $5"</command>
+ <children>
+ <node name="exact-match">
+ <properties>
+ <help>Show routes from community that exactly matches the community number</help>
+ </properties>
+ <command>vtysh -c "show bgp ipv6 community $5 exact-match"</command>
+ </node>
+ </children>
+ </tagNode>
+ <tagNode name="community-list">
+ <properties>
+ <help>Show routes matching the community-list number or name</help>
+ </properties>
+ <command>vtysh -c "show bgp ipv6 community-list $5"</command>
+ <children>
+ <node name="exact-match">
+ <properties>
+ <help>Show routes exactly matching the community-list name or number</help>
+ </properties>
+ <command>vtysh -c "show bgp ipv6 community-list $5 exact-match"</command>
+ </node>
+ </children>
+ </tagNode>
+ <tagNode name="route-map">
+ <properties>
+ <help>Show BGP routes matching the specified route map</help>
+ <completionHelp>
+ <path>policy route-map</path>
+ </completionHelp>
+ </properties>
+ <command>vtysh -c "show bgp ipv6 route-map $5"</command>
+ </tagNode>
+ </children>
+ </node>
+ <tagNode name="bgp">
+ <properties>
+ <help>Show BGP information for specified IP address or prefix</help>
+ <completionHelp>
+ <list>&lt;h:h:h:h:h:h:h:h&gt; &lt;h:h:h:h:h:h:h:h/x&gt;</list>
+ </completionHelp>
+ </properties>
+ <command>vtysh -c "show bgp ipv6 $4"</command>
+ <children>
+ <node name="longer-prefixes">
+ <properties>
+ <help>Show route and more specific routes</help>
+ <completionHelp>
+ <list>&lt;h:h:h:h:h:h:h:h&gt; &lt;h:h:h:h:h:h:h:h/x&gt;</list>
+ </completionHelp>
+ </properties>
+ <command>vtysh -c "show bgp ipv6 $4 longer-prefixes"</command>
+ </node>
+ </children>
+ </tagNode>
+ </children>
+ </node>
+ </children>
+ </node>
+</interfaceDefinition>
diff --git a/op-mode-definitions/show-ipv6-prefix-list.xml b/op-mode-definitions/show-ipv6-prefix-list.xml
new file mode 100644
index 000000000..e003ad110
--- /dev/null
+++ b/op-mode-definitions/show-ipv6-prefix-list.xml
@@ -0,0 +1,92 @@
+<?xml version="1.0"?>
+<interfaceDefinition>
+ <node name="show">
+ <children>
+ <node name="ipv6">
+ <properties>
+ <help>Show IPv6 routing information</help>
+ </properties>
+ <children>
+ <node name="prefix-list">
+ <properties>
+ <help>Show IPv6 prefix-lists</help>
+ </properties>
+ <command>vtysh -c "show ipv6 prefix-list"</command>
+ <children>
+ <node name="detail">
+ <properties>
+ <help>Show detail of IPv6 prefix-lists</help>
+ </properties>
+ <command>vtysh -c "show ipv6 prefix-list detail"</command>
+ </node>
+ <tagNode name="detail">
+ <properties>
+ <help>Show detail of specified IPv6 prefix-list</help>
+ </properties>
+ <command>vtysh -c "show ipv6 prefix-list detail $5"</command>
+ </tagNode>
+ <node name="summary">
+ <properties>
+ <help>Show summary of IPv6 prefix-lists</help>
+ </properties>
+ <command>vtysh -c "show ipv6 prefix-list summary"</command>
+ </node>
+ <tagNode name="summary">
+ <properties>
+ <help>Show summary of specified IPv6 prefix-list</help>
+ </properties>
+ <command>vtysh -c "show ipv6 prefix-list summary $5"</command>
+ </tagNode>
+ </children>
+ </node>
+ <tagNode name="prefix-list">
+ <properties>
+ <help>Show specified IPv6 prefix-list</help>
+ <completionHelp>
+ <list>WORD</list>
+ </completionHelp>
+ </properties>
+ <command>vtysh -c "show ipv6 prefix-list $4"</command>
+ <children>
+ <node name="node.tag">
+ <properties>
+ <help>Show select prefix of specified IPv6 prefix-list</help>
+ <completionHelp>
+ <list>&lt;h:h:h:h:h:h:h:h/x&gt;</list>
+ </completionHelp>
+ </properties>
+ <command>vtysh -c "show ipv6 prefix-list $4 $5"</command>
+ <children>
+ <node name="first-match">
+ <properties>
+ <help>Show first-match from select prefix of named IPv6 prefix-list</help>
+ </properties>
+ <command>vtysh -c "show ipv6 prefix-list $4 $5 first-match"</command>
+ </node>
+ <node name="longer">
+ <properties>
+ <help>Show longer match of select prefix from named IPv6 prefix-list</help>
+ </properties>
+ <command>vtysh -c "show ipv6 prefix-list $4 $5 longer"</command>
+ </node>
+ </children>
+ </node>
+ <node name="seq">
+ <properties>
+ <help>Show specified sequence from specified IPv6 prefix-list</help>
+ </properties>
+ <command>vtysh -c "show ipv6 prefix-list $4 seq"</command>
+ </node>
+ <tagNode name="seq">
+ <properties>
+ <help>Show specified sequence from specified IPv6 prefix-list</help>
+ </properties>
+ <command>vtysh -c "show ipv6 prefix-list $4 seq $6"</command>
+ </tagNode>
+ </children>
+ </tagNode>
+ </children>
+ </node>
+ </children>
+ </node>
+</interfaceDefinition>
diff --git a/op-mode-definitions/show-ipv6-route.xml b/op-mode-definitions/show-ipv6-route.xml
new file mode 100644
index 000000000..fafd615ea
--- /dev/null
+++ b/op-mode-definitions/show-ipv6-route.xml
@@ -0,0 +1,117 @@
+<?xml version="1.0"?>
+<interfaceDefinition>
+ <node name="show">
+ <children>
+ <node name="ipv6">
+ <properties>
+ <help>Show IPv6 routing information</help>
+ </properties>
+ <children>
+ <tagNode name="route">
+ <properties>
+ <help>Show IPv6 routes of given address or prefix</help>
+ <completionHelp>
+ <list>&lt;h:h:h:h:h:h:h:h&gt; &lt;h:h:h:h:h:h:h:h/x&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>
+ </node>
+</interfaceDefinition>
diff --git a/op-mode-definitions/show-ipv6.xml b/op-mode-definitions/show-ipv6.xml
index 357e4e979..a59c8df0c 100644
--- a/op-mode-definitions/show-ipv6.xml
+++ b/op-mode-definitions/show-ipv6.xml
@@ -22,195 +22,6 @@
</properties>
<command>vtysh -c "show ipv6 access-list $4"</command>
</tagNode>
- <node name="bgp">
- <properties>
- <help>Show Border Gateway Protocol (BGP) information</help>
- </properties>
- <command>vtysh -c "show bgp ipv6"</command>
- <children>
- <leafNode name="summary">
- <properties>
- <help>Show summary of BGP neighbor status</help>
- </properties>
- <command>vtysh -c "show bgp ipv6 summary"</command>
- </leafNode>
- <tagNode name="regexp">
- <properties>
- <help>Show routes matching AS path regular expression</help>
- </properties>
- <command>vtysh -c "show bgp ipv6 regexp $5"</command>
- </tagNode>
- <tagNode name="prefix-list">
- <properties>
- <help>Show routes matching the IPv6 prefix-list name</help>
- <completionHelp>
- <path>policy prefix-list6</path>
- </completionHelp>
- </properties>
- <command>vtysh -c "show bgp ipv6 prefix-list $5"</command>
- </tagNode>
- <tagNode name="neighbors">
- <properties>
- <help>Show detailed information on TCP and BGP neighbor connections for given address</help>
- <completionHelp>
- <script>vtysh -c "show bgp ipv6 summary" | awk '{print $1}' | grep -oE "\b([0-9a-f]{1,4}\:{0,2}){0,20}\b"</script>
- </completionHelp>
- </properties>
- <command>vtysh -c "show bgp ipv6 neighbor $5"</command>
- <children>
- <leafNode name="advertised-routes">
- <properties>
- <help>Show routes advertised to a BGP neighbor</help>
- </properties>
- <command>vtysh -c "show bgp ipv6 neighbor $5 advertised-routes"</command>
- </leafNode>
- <leafNode name="filtered-routes">
- <properties>
- <help>Show routes filtered from a BGP neighbor</help>
- </properties>
- <command>vtysh -c "show bgp ipv6 neighbor $5 filtered-routes"</command>
- </leafNode>
- <leafNode name="dampened-routes">
- <properties>
- <help>Show dampened routes received from BGP neighbor</help>
- </properties>
- <command>vtysh -c "show bgp ipv6 neighbor $5 dampened-routes"</command>
- </leafNode>
- <leafNode name="flap-statistics">
- <properties>
- <help>Show flap statistics of the routes learned from BGP neighbor</help>
- </properties>
- <command>vtysh -c "show bgp ipv6 neighbor $5 flap-statistics"</command>
- </leafNode>
- <leafNode name="prefix-counts">
- <properties>
- <help>Show detailed prefix count information for BGP neighbor</help>
- </properties>
- <command>vtysh -c "show bgp ipv6 neighbor $5 prefix-counts"</command>
- </leafNode>
- <node name="received">
- <properties>
- <help>Show information received from BGP neighbor</help>
- </properties>
- <children>
- <leafNode name="prefix-filter">
- <properties>
- <help>Show prefixlist filter</help>
- </properties>
- <command>vtysh -c "show bgp ipv6 neighbor $5 received prefix-filter"</command>
- </leafNode>
- </children>
- </node>
- <leafNode name="received-routes">
- <properties>
- <help>Show received routes from BGP neighbor</help>
- </properties>
- <command>vtysh -c "show bgp ipv6 neighbor $5 received-routes"</command>
- </leafNode>
- <leafNode name="routes">
- <properties>
- <help>Show routes learned from BGP neighbor</help>
- </properties>
- <command>vtysh -c "show bgp ipv6 neighbor $5 routes"</command>
- </leafNode>
- </children>
- </tagNode>
- <tagNode name="large-community">
- <properties>
- <help>Show routes matching the large-community-list number or name</help>
- </properties>
- <command>vtysh -c "show bgp ipv6 large-community-list $5"</command>
- <children>
- <node name="exact-match">
- <properties>
- <help>Show routes matching the large-community-list number or name</help>
- </properties>
- <command>vtysh -c "show bgp ipv6 large-community-list $5 exact-match"</command>
- </node>
- </children>
- </tagNode>
- <tagNode name="large-community-list">
- <properties>
- <help>Show routes matching the large-community-list number or name</help>
- </properties>
- <command>vtysh -c "show bgp ipv6 large-community-list $5"</command>
- <children>
- <node name="exact-match">
- <properties>
- <help>Show routes matching the large-community-list number or name</help>
- </properties>
- <command>vtysh -c "show bgp ipv6 large-community-list $5 exact-match"</command>
- </node>
- </children>
- </tagNode>
- <tagNode name="filter-list">
- <properties>
- <help>Show routes conforming to regular expression access list name</help>
- </properties>
- <command>vtysh -c "show bgp ipv6 filter-list $5"</command>
- </tagNode>
- <tagNode name="community">
- <properties>
- <help>Show BGP information for specified community number</help>
- <completionHelp>
- <list>&lt;AA:NN&gt; local-AS no-advertise no-export</list>
- </completionHelp>
- </properties>
- <command>vtysh -c "show bgp ipv6 community $5"</command>
- <children>
- <node name="exact-match">
- <properties>
- <help>Show routes from community that exactly matches the community number</help>
- </properties>
- <command>vtysh -c "show bgp ipv6 community $5 exact-match"</command>
- </node>
- </children>
- </tagNode>
- <tagNode name="community-list">
- <properties>
- <help>Show routes matching the community-list number or name</help>
- </properties>
- <command>vtysh -c "show bgp ipv6 community-list $5"</command>
- <children>
- <node name="exact-match">
- <properties>
- <help>Show routes exactly matching the community-list name or number</help>
- </properties>
- <command>vtysh -c "show bgp ipv6 community-list $5 exact-match"</command>
- </node>
- </children>
- </tagNode>
- <tagNode name="route-map">
- <properties>
- <help>Show BGP routes matching the specified route map</help>
- <completionHelp>
- <path>policy route-map</path>
- </completionHelp>
- </properties>
- <command>vtysh -c "show bgp ipv6 route-map $5"</command>
- </tagNode>
- </children>
- </node>
- <tagNode name="bgp">
- <properties>
- <help>Show BGP information for specified IP address or prefix</help>
- <completionHelp>
- <list>&lt;h:h:h:h:h:h:h:h&gt; &lt;h:h:h:h:h:h:h:h/x&gt;</list>
- </completionHelp>
- </properties>
- <command>vtysh -c "show bgp ipv6 $4"</command>
- <children>
- <node name="longer-prefixes">
- <properties>
- <help>Show route and more specific routes</help>
- <completionHelp>
- <list>&lt;h:h:h:h:h:h:h:h&gt; &lt;h:h:h:h:h:h:h:h/x&gt;</list>
- </completionHelp>
- </properties>
- <command>vtysh -c "show bgp ipv6 $4 longer-prefixes"</command>
- </node>
- </children>
- </tagNode>
<node name="forwarding">
<properties>
<help>Show IPv6 forwarding status</help>
@@ -231,187 +42,6 @@
</node>
</children>
</node>
- <node name="prefix-list">
- <properties>
- <help>Show IPv6 prefix-lists</help>
- </properties>
- <command>vtysh -c "show ipv6 prefix-list"</command>
- <children>
- <node name="detail">
- <properties>
- <help>Show detail of IPv6 prefix-lists</help>
- </properties>
- <command>vtysh -c "show ipv6 prefix-list detail"</command>
- </node>
- <tagNode name="detail">
- <properties>
- <help>Show detail of specified IPv6 prefix-list</help>
- </properties>
- <command>vtysh -c "show ipv6 prefix-list detail $5"</command>
- </tagNode>
- <node name="summary">
- <properties>
- <help>Show summary of IPv6 prefix-lists</help>
- </properties>
- <command>vtysh -c "show ipv6 prefix-list summary"</command>
- </node>
- <tagNode name="summary">
- <properties>
- <help>Show summary of specified IPv6 prefix-list</help>
- </properties>
- <command>vtysh -c "show ipv6 prefix-list summary $5"</command>
- </tagNode>
- </children>
- </node>
- <tagNode name="prefix-list">
- <properties>
- <help>Show specified IPv6 prefix-list</help>
- <completionHelp>
- <list>WORD</list>
- </completionHelp>
- </properties>
- <command>vtysh -c "show ipv6 prefix-list $4"</command>
- <children>
- <node name="node.tag">
- <properties>
- <help>Show select prefix of specified IPv6 prefix-list</help>
- <completionHelp>
- <list>&lt;h:h:h:h:h:h:h:h/x&gt;</list>
- </completionHelp>
- </properties>
- <command>vtysh -c "show ipv6 prefix-list $4 $5"</command>
- <children>
- <node name="first-match">
- <properties>
- <help>Show first-match from select prefix of named IPv6 prefix-list</help>
- </properties>
- <command>vtysh -c "show ipv6 prefix-list $4 $5 first-match"</command>
- </node>
- <node name="longer">
- <properties>
- <help>Show longer match of select prefix from named IPv6 prefix-list</help>
- </properties>
- <command>vtysh -c "show ipv6 prefix-list $4 $5 longer"</command>
- </node>
- </children>
- </node>
- <node name="seq">
- <properties>
- <help>Show specified sequence from specified IPv6 prefix-list</help>
- </properties>
- <command>vtysh -c "show ipv6 prefix-list $4 seq"</command>
- </node>
- <tagNode name="seq">
- <properties>
- <help>Show specified sequence from specified IPv6 prefix-list</help>
- </properties>
- <command>vtysh -c "show ipv6 prefix-list $4 seq $6"</command>
- </tagNode>
- </children>
- </tagNode>
- <tagNode name="route">
- <properties>
- <help>Show IPv6 routes of given address or prefix</help>
- <completionHelp>
- <list>&lt;h:h:h:h:h:h:h:h&gt; &lt;h:h:h:h:h:h:h:h/x&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>