diff options
author | Christian Poessinger <christian@poessinger.com> | 2021-08-01 13:20:35 +0200 |
---|---|---|
committer | Christian Poessinger <christian@poessinger.com> | 2021-08-01 13:20:35 +0200 |
commit | f83a5125735bb2f63e4d98e1b264eb689a2ef00f (patch) | |
tree | 7d66a62c5df6227df7a39f3f17c79d298530db44 /op-mode-definitions/include/bgp/afi-common.xml.i | |
parent | d3a0b9bcb30e36633bad0edf39c1f92039bebcb7 (diff) | |
download | vyos-1x-f83a5125735bb2f63e4d98e1b264eb689a2ef00f.tar.gz vyos-1x-f83a5125735bb2f63e4d98e1b264eb689a2ef00f.zip |
op-mode: bgp: T1513: backport "show bgp" commands from current branch
Diffstat (limited to 'op-mode-definitions/include/bgp/afi-common.xml.i')
-rw-r--r-- | op-mode-definitions/include/bgp/afi-common.xml.i | 55 |
1 files changed, 55 insertions, 0 deletions
diff --git a/op-mode-definitions/include/bgp/afi-common.xml.i b/op-mode-definitions/include/bgp/afi-common.xml.i new file mode 100644 index 000000000..7fc59f3b0 --- /dev/null +++ b/op-mode-definitions/include/bgp/afi-common.xml.i @@ -0,0 +1,55 @@ +<!-- included start from bgp/afi-common.xml.i --> +<tagNode name="community"> + <properties> + <help>Community number where AA and NN are (0-65535)</help> + <completionHelp> + <list>AA:NN</list> + </completionHelp> + </properties> + <children> + <leafNode name="exact-match"> + <properties> + <help>Exact match of the communities</help> + </properties> + <command>${vyos_op_scripts_dir}/vtysh_wrapper.sh $@</command> + </leafNode> + </children> + <command>${vyos_op_scripts_dir}/vtysh_wrapper.sh $@</command> +</tagNode> +<tagNode name="large-community"> + <properties> + <help>List of large-community numbers</help> + <completionHelp> + <list>AA:BB:CC</list> + </completionHelp> + </properties> + <command>${vyos_op_scripts_dir}/vtysh_wrapper.sh $@</command> +</tagNode> +<leafNode name="statistics"> + <properties> + <help>RIB advertisement statistics</help> + </properties> + <command>${vyos_op_scripts_dir}/vtysh_wrapper.sh $@</command> +</leafNode> +<node name="summary"> + <properties> + <help>Summary of BGP neighbor status</help> + </properties> + <command>${vyos_op_scripts_dir}/vtysh_wrapper.sh $@</command> + <children> + <leafNode name="established"> + <properties> + <help>Show only sessions in Established state</help> + </properties> + <command>${vyos_op_scripts_dir}/vtysh_wrapper.sh $@</command> + </leafNode> + <leafNode name="failed"> + <properties> + <help>Show only sessions not in Established state</help> + </properties> + <command>${vyos_op_scripts_dir}/vtysh_wrapper.sh $@</command> + </leafNode> + </children> +</node> +#include <include/vtysh-generic-wide.xml.i> +<!-- included end --> |