diff options
author | Christian Poessinger <christian@poessinger.com> | 2021-01-02 20:16:36 +0100 |
---|---|---|
committer | Christian Poessinger <christian@poessinger.com> | 2021-01-02 20:16:36 +0100 |
commit | a35d412b4be39a84a1e9dfaabaa94eddc9bd8d2c (patch) | |
tree | dd54892459bb0148c11a300a8aae719f35b51d84 /op-mode-definitions/show-ipv6.xml | |
parent | 0acf5dff2ffc54eee1a1a6f9bceed7e62caf4fd4 (diff) | |
download | vyos-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.xml | 84 |
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><X:X::X:X> <X:X::X:X/x></list> + <list><h:h:h:h:h:h:h:h> <h:h:h:h:h:h:h:h/x></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><X:X::X:X> <X:X::X:X/x></list> + <list><h:h:h:h:h:h:h:h> <h:h:h:h:h:h:h:h/x></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><h:h:h:h:h:h:h:h/x></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><X:X::X:X> <X:X::X:X/M></list> + <list><h:h:h:h:h:h:h:h> <h:h:h:h:h:h:h:h/x></list> </completionHelp> </properties> <children> |