summaryrefslogtreecommitdiff
path: root/op-mode-definitions/show-ipv6-prefix-list.xml
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 /op-mode-definitions/show-ipv6-prefix-list.xml
parente7dd8c17d527aeb31b93b966c59a311f7506b906 (diff)
downloadvyos-1x-e0ff3f330790f41be3bbd05ed28327cb2e38e52c.tar.gz
vyos-1x-e0ff3f330790f41be3bbd05ed28327cb2e38e52c.zip
op-mode: T3178: split IPv6 commands into individual files
Diffstat (limited to 'op-mode-definitions/show-ipv6-prefix-list.xml')
-rw-r--r--op-mode-definitions/show-ipv6-prefix-list.xml92
1 files changed, 92 insertions, 0 deletions
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>