From a35d412b4be39a84a1e9dfaabaa94eddc9bd8d2c Mon Sep 17 00:00:00 2001 From: Christian Poessinger Date: Sat, 2 Jan 2021 20:16:36 +0100 Subject: op-mode: T3178: add "show ipv6 prefix-list" commands --- op-mode-definitions/show-ipv6.xml | 84 +++++++++++++++++++++++++++++++++++++-- 1 file 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 @@ Show BGP information for specified IP address or prefix - <X:X::X:X> <X:X::X:X/x> + <h:h:h:h:h:h:h:h> <h:h:h:h:h:h:h:h/x> vtysh -c "show bgp ipv6 $4" @@ -204,7 +204,7 @@ Show route and more specific routes - <X:X::X:X> <X:X::X:X/x> + <h:h:h:h:h:h:h:h> <h:h:h:h:h:h:h:h/x> vtysh -c "show bgp ipv6 $4 longer-prefixes" @@ -231,11 +231,89 @@ + + + Show IPv6 prefix-lists + + vtysh -c "show ipv6 prefix-list" + + + + Show detail of IPv6 prefix-lists + + vtysh -c "show ipv6 prefix-list detail" + + + + Show detail of specified IPv6 prefix-list + + vtysh -c "show ipv6 prefix-list detail $5" + + + + Show summary of IPv6 prefix-lists + + vtysh -c "show ipv6 prefix-list summary" + + + + Show summary of specified IPv6 prefix-list + + vtysh -c "show ipv6 prefix-list summary $5" + + + + + + Show specified IPv6 prefix-list + + WORD + + + vtysh -c "show ipv6 prefix-list $4" + + + + Show select prefix of specified IPv6 prefix-list + + <h:h:h:h:h:h:h:h/x> + + + vtysh -c "show ipv6 prefix-list $4 $5" + + + + Show first-match from select prefix of named IPv6 prefix-list + + vtysh -c "show ipv6 prefix-list $4 $5 first-match" + + + + Show longer match of select prefix from named IPv6 prefix-list + + vtysh -c "show ipv6 prefix-list $4 $5 longer" + + + + + + Show specified sequence from specified IPv6 prefix-list + + vtysh -c "show ipv6 prefix-list $4 seq" + + + + Show specified sequence from specified IPv6 prefix-list + + vtysh -c "show ipv6 prefix-list $4 seq $6" + + + Show IPv6 routes of given address or prefix - <X:X::X:X> <X:X::X:X/M> + <h:h:h:h:h:h:h:h> <h:h:h:h:h:h:h:h/x> -- cgit v1.2.3