summaryrefslogtreecommitdiff
path: root/op-mode-definitions/show-ipv6.xml
diff options
context:
space:
mode:
authorChristian Poessinger <christian@poessinger.com>2021-01-02 20:16:36 +0100
committerChristian Poessinger <christian@poessinger.com>2021-01-02 20:16:36 +0100
commita35d412b4be39a84a1e9dfaabaa94eddc9bd8d2c (patch)
treedd54892459bb0148c11a300a8aae719f35b51d84 /op-mode-definitions/show-ipv6.xml
parent0acf5dff2ffc54eee1a1a6f9bceed7e62caf4fd4 (diff)
downloadvyos-1x-a35d412b4be39a84a1e9dfaabaa94eddc9bd8d2c.tar.gz
vyos-1x-a35d412b4be39a84a1e9dfaabaa94eddc9bd8d2c.zip
op-mode: T3178: add "show ipv6 prefix-list" commands
Diffstat (limited to 'op-mode-definitions/show-ipv6.xml')
-rw-r--r--op-mode-definitions/show-ipv6.xml84
1 files changed, 81 insertions, 3 deletions
diff --git a/op-mode-definitions/show-ipv6.xml b/op-mode-definitions/show-ipv6.xml
index cf3f25993..357e4e979 100644
--- a/op-mode-definitions/show-ipv6.xml
+++ b/op-mode-definitions/show-ipv6.xml
@@ -195,7 +195,7 @@
<properties>
<help>Show BGP information for specified IP address or prefix</help>
<completionHelp>
- <list>&lt;X:X::X:X&gt; &lt;X:X::X:X/x&gt;</list>
+ <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>
@@ -204,7 +204,7 @@
<properties>
<help>Show route and more specific routes</help>
<completionHelp>
- <list>&lt;X:X::X:X&gt; &lt;X:X::X:X/x&gt;</list>
+ <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>
@@ -231,11 +231,89 @@
</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;X:X::X:X&gt; &lt;X:X::X:X/M&gt;</list>
+ <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>