From 3d8a84781500ee193564fc7ef1e173d0270ad5c9 Mon Sep 17 00:00:00 2001 From: sever-sever Date: Fri, 26 Mar 2021 09:14:02 +0000 Subject: bgp: T3434: op-mode CLI refactoring for support vrf --- op-mode-definitions/include/bgp-common.xml.i | 170 +++++++++++++++++++++++++++ op-mode-definitions/show-ip-bgp.xml.in | 169 ++------------------------ 2 files changed, 177 insertions(+), 162 deletions(-) create mode 100644 op-mode-definitions/include/bgp-common.xml.i (limited to 'op-mode-definitions') diff --git a/op-mode-definitions/include/bgp-common.xml.i b/op-mode-definitions/include/bgp-common.xml.i new file mode 100644 index 000000000..a1154d965 --- /dev/null +++ b/op-mode-definitions/include/bgp-common.xml.i @@ -0,0 +1,170 @@ + + + + Show BGP attribute information + + ${vyos_op_scripts_dir}/vtysh_wrapper.sh $@ + + + + Display only routes with non-natural netmasks + + ${vyos_op_scripts_dir}/vtysh_wrapper.sh $@ + + + + List all bgp community information + + ${vyos_op_scripts_dir}/vtysh_wrapper.sh $@ + +#include +#include + + + + policy prefix-list + + + + + + Show BGP IPv4 information + + + + + Show BGP IPv4 unicast information + + + + + Display only routes with non-natural netmasks + + ${vyos_op_scripts_dir}/vtysh_wrapper.sh $@ + + + + Show BGP routes matching the communities + + ${vyos_op_scripts_dir}/vtysh_wrapper.sh $@ + + + + Display routes matching the specified communities + +<AA:NN> local-AS no-advertise no-export + + + ${vyos_op_scripts_dir}/vtysh_wrapper.sh $@ + + + + Show BGP routes matching specified community list + + ${vyos_op_scripts_dir}/vtysh_wrapper.sh $@ + + + + Show BGP routes exactly matching specified community list + +${vyos_op_scripts_dir}/vtysh_wrapper.sh $@ + + + + + + Show detailed BGP IPv4 unicast neighbor information + + + + + ${vyos_op_scripts_dir}/vtysh_wrapper.sh $@ + + + + Show routes advertised to a BGP neighbor + +${vyos_op_scripts_dir}/vtysh_wrapper.sh $@ + + + + Show detailed prefix count information + +${vyos_op_scripts_dir}/vtysh_wrapper.sh $@ + + + + Show the received routes from neighbor + +${vyos_op_scripts_dir}/vtysh_wrapper.sh $@ + + + + Show routes learned from neighbor + +${vyos_op_scripts_dir}/vtysh_wrapper.sh $@ + + + + + + Show BGP path information + + ${vyos_op_scripts_dir}/vtysh_wrapper.sh $@ + + + + Show BGP routes matching the specified prefix list + + ${vyos_op_scripts_dir}/vtysh_wrapper.sh $@ + + + + Show BGP routes matching the specified AS path regular expression + + ${vyos_op_scripts_dir}/vtysh_wrapper.sh $@ + + + + Show BGP routes matching the specified route map + + ${vyos_op_scripts_dir}/vtysh_wrapper.sh $@ + + + + Show summary of BGP information + + ${vyos_op_scripts_dir}/vtysh_wrapper.sh $@ + + + + + + Show BGP information for specified IP address or prefix + + <x.x.x.x> <x.x.x.x/x> + + + ${vyos_op_scripts_dir}/vtysh_wrapper.sh $@ + + + + + + Show BGP large-community information + + ${vyos_op_scripts_dir}/vtysh_wrapper.sh $@ + + + + Show BGP memory usage + + ${vyos_op_scripts_dir}/vtysh_wrapper.sh $@ + + + + Show BGP path information + + ${vyos_op_scripts_dir}/vtysh_wrapper.sh $@ + + diff --git a/op-mode-definitions/show-ip-bgp.xml.in b/op-mode-definitions/show-ip-bgp.xml.in index 690de0a1d..9a271b4a5 100644 --- a/op-mode-definitions/show-ip-bgp.xml.in +++ b/op-mode-definitions/show-ip-bgp.xml.in @@ -10,174 +10,19 @@ vtysh -c "show ip bgp" - - - Show BGP attribute information - - vtysh -c "show ip bgp attribute-info" - - - - Display only routes with non-natural netmasks - - vtysh -c "show ip bgp cidr-only" - - - - List all bgp community information - - vtysh -c "show ip bgp community-info" - - #include - #include - + #include + + Show bgp routing protocol for given VRF - policy prefix-list + vrf name + all - - - - Show BGP IPv4 information - - - - Show BGP IPv4 unicast information - - - - - Display only routes with non-natural netmasks - - vtysh -c "show ip bgp ipv4 unicast cidr-only" - - - - Show BGP routes matching the communities - - vtysh -c "show ip bgp ipv4 unicast community" - - - - Display routes matching the specified communities - - <AA:NN> local-AS no-advertise no-export - - - vtysh -c "show ip bgp ipv4 unicast community $7" - - - - Show BGP routes matching specified community list - - vtysh -c "show ip bgp ipv4 unicast community-list $7" - - - - Show BGP routes exactly matching specified community list - - vtysh -c "show ip bgp ipv4 unicast community-list $7 exact-match" - - - - - - Show detailed BGP IPv4 unicast neighbor information - - - - - vtysh -c "show ip bgp ipv4 unicast neighbors $7" - - - - Show routes advertised to a BGP neighbor - - vtysh -c "show ip bgp ipv4 unicast neighbor $7 advertised-routes" - - - - Show detailed prefix count information - - vtysh -c "show ip bgp ipv4 unicast neighbor $7 prefix-counts" - - - - Show the received routes from neighbor - - vtysh -c "show ip bgp ipv4 unicast neighbor $7 received-routes" - - - - Show routes learned from neighbor - - vtysh -c "show ip bgp ipv4 unicast neighbor $7 routes" - - - - - - Show BGP path information - - vtysh -c "show ip bgp ipv4 unicast paths" - - - - Show BGP routes matching the specified prefix list - - vtysh -c "show ip bgp ipv4 unicast prefix-list $7" - - - - Show BGP routes matching the specified AS path regular expression - - vtysh -c "show ip bgp ipv4 unicast regexp $5" - - - - Show BGP routes matching the specified route map - - vtysh -c "show ip bgp route-map $5" - - - - Show summary of BGP information - - vtysh -c "show ip bgp summary" - - - - - - Show BGP information for specified IP address or prefix - - <x.x.x.x> <x.x.x.x/x> - - - vtysh -c "show ip bgp $6" - + #include - - - - Show BGP large-community information - - vtysh -c "show ip bgp large-community-info" - - - - Show BGP memory usage - - vtysh -c "show ip bgp memory" - - - - Show BGP path information - - vtysh -c "show ip bgp paths" - + -- cgit v1.2.3 From 02256580905d0259982b13300e6a7d3b5da8aa6b Mon Sep 17 00:00:00 2001 From: sever-sever Date: Fri, 26 Mar 2021 16:40:44 +0000 Subject: ospf: T3436: op-mode CLI refactoring for support vrf --- op-mode-definitions/include/ospf-common.xml.i | 559 ++++++++++++++++++++++++++ op-mode-definitions/show-ip-ospf.xml.in | 559 +------------------------- 2 files changed, 567 insertions(+), 551 deletions(-) create mode 100644 op-mode-definitions/include/ospf-common.xml.i (limited to 'op-mode-definitions') diff --git a/op-mode-definitions/include/ospf-common.xml.i b/op-mode-definitions/include/ospf-common.xml.i new file mode 100644 index 000000000..0edc3c37f --- /dev/null +++ b/op-mode-definitions/include/ospf-common.xml.i @@ -0,0 +1,559 @@ + + + + Show IPv4 OSPF border-routers information + + ${vyos_op_scripts_dir}/vtysh_wrapper.sh $@ + + + + Show IPv4 OSPF database information + + ${vyos_op_scripts_dir}/vtysh_wrapper.sh $@ + + + + Show IPv4 OSPF ASBR summary database + + ${vyos_op_scripts_dir}/vtysh_wrapper.sh $@ + + + + Show IPv4 OSPF ASBR summary database for given address of advertised router + + <x.x.x.x> + + + ${vyos_op_scripts_dir}/vtysh_wrapper.sh $@ + + + + Show IPv4 OSPF ASBR summary database for given address of advertised router + + + + + + + Show IPv4 OSPF ASBR summary database information of given address + + <x.x.x.x> + + + ${vyos_op_scripts_dir}/vtysh_wrapper.sh $@ + + + + Show advertising router link states + + + + + Show IPv4 OSPF ASBR summary database of given address for given advertised router + + <x.x.x.x> + + + ${vyos_op_scripts_dir}/vtysh_wrapper.sh $@ + + + + Show summary of self-originate IPv4 OSPF ASBR database + + ${vyos_op_scripts_dir}/vtysh_wrapper.sh $@ + + + + + + Show IPv4 OSPF external database + + ${vyos_op_scripts_dir}/vtysh_wrapper.sh $@ + + + + Show IPv4 OSPF external database for specified IP address of advertised router + + <x.x.x.x> + + + ${vyos_op_scripts_dir}/vtysh_wrapper.sh $@ + + + + Show IPv4 OSPF external database for specified IP address of advertised router + + + + + + + Show IPv4 OSPF external database information of specified IP address + + <x.x.x.x> + + + ${vyos_op_scripts_dir}/vtysh_wrapper.sh $@ + + + + Show advertising router link states + + + + + Show IPv4 OSPF external database of specified IP address for specified advertised router + + <x.x.x.x> + + + ${vyos_op_scripts_dir}/vtysh_wrapper.sh $@ + + + + Show self-originate IPv4 OSPF external database + + ${vyos_op_scripts_dir}/vtysh_wrapper.sh $@ + + + + + + Show IPv4 OSPF max-age database + + ${vyos_op_scripts_dir}/vtysh_wrapper.sh $@ + + + + Show IPv4 OSPF network database + + ${vyos_op_scripts_dir}/vtysh_wrapper.sh $@ + + + + Show IPv4 OSPF network database for specified IP address of advertised router + + <x.x.x.x> + + + ${vyos_op_scripts_dir}/vtysh_wrapper.sh $@ + + + + Show IPv4 OSPF network database for given address of advertised router + + + + + + + Show IPv4 OSPF network database information of specified IP address + + <x.x.x.x> + + + ${vyos_op_scripts_dir}/vtysh_wrapper.sh $@ + + + + Show advertising router link states + + + + + Show IPv4 OSPF network database of specified IP address for specified advertised router + + <x.x.x.x> + + + ${vyos_op_scripts_dir}/vtysh_wrapper.sh $@ + + + + Show self-originate IPv4 OSPF network database + + ${vyos_op_scripts_dir}/vtysh_wrapper.sh $@ + + + + + + Show IPv4 OSPF NSSA external database + + ${vyos_op_scripts_dir}/vtysh_wrapper.sh $@ + + + + Show IPv4 OSPF NSSA external database for specified IP address of advertised router + + <x.x.x.x> + + + ${vyos_op_scripts_dir}/vtysh_wrapper.sh $@ + + + + Show IPv4 OSPF NSSA external database for specified IP address of advertised router + + + + + + + Show IPv4 OSPF NSSA external database information of specified IP address + + <x.x.x.x> + + + ${vyos_op_scripts_dir}/vtysh_wrapper.sh $@ + + + + Show advertising router link states + + + + + Show IPv4 OSPF NSSA external database of specified IP address for specified advertised router + + <x.x.x.x> + + + ${vyos_op_scripts_dir}/vtysh_wrapper.sh $@ + + + + Show self-originate IPv4 OSPF NSSA external database + + ${vyos_op_scripts_dir}/vtysh_wrapper.sh $@ + + + + + + Show IPv4 OSPF opaque-area database + + ${vyos_op_scripts_dir}/vtysh_wrapper.sh $@ + + + + Show IPv4 OSPF opaque-area database for specified IP address of advertised router + + <x.x.x.x> + + + ${vyos_op_scripts_dir}/vtysh_wrapper.sh $@ + + + + Show IPv4 OSPF opaque-area database for specified IP address of advertised router + + + + + + + Show IPv4 OSPF opaque-area database information of specified IP address + + <x.x.x.x> + + + ${vyos_op_scripts_dir}/vtysh_wrapper.sh $@ + + + + Show advertising router link states + + + + + Show IPv4 OSPF opaque-area database of specified IP address for specified advertised router + + <x.x.x.x> + + + ${vyos_op_scripts_dir}/vtysh_wrapper.sh $@ + + + + Show self-originate IPv4 OSPF opaque-area database + + ${vyos_op_scripts_dir}/vtysh_wrapper.sh $@ + + + + + + Show IPv4 OSPF opaque-as database + + ${vyos_op_scripts_dir}/vtysh_wrapper.sh $@ + + + + Show IPv4 OSPF opaque-as database for specified IP address of advertised router + + <x.x.x.x> + + + ${vyos_op_scripts_dir}/vtysh_wrapper.sh $@ + + + + Show IPv4 OSPF opaque-as database for specified IP address of advertised router + + + + + + + Show IPv4 OSPF opaque-as database information of specified IP address + + <x.x.x.x> + + + ${vyos_op_scripts_dir}/vtysh_wrapper.sh $@ + + + + Show advertising router link states + + + + + Show IPv4 OSPF opaque-as database of specified IP address for specified advertised router + + <x.x.x.x> + + + ${vyos_op_scripts_dir}/vtysh_wrapper.sh $@ + + + + Show self-originate IPv4 OSPF opaque-as database + + ${vyos_op_scripts_dir}/vtysh_wrapper.sh $@ + + + + + + Show IPv4 OSPF opaque-link database + + ${vyos_op_scripts_dir}/vtysh_wrapper.sh $@ + + + + Show IPv4 OSPF opaque-link database for specified IP address of advertised router + + <x.x.x.x> + + + ${vyos_op_scripts_dir}/vtysh_wrapper.sh $@ + + + + Show IPv4 OSPF opaque-link database for specified IP address of advertised router + + + + + + + Show IPv4 OSPF opaque-link database information of specified IP address + + <x.x.x.x> + + + ${vyos_op_scripts_dir}/vtysh_wrapper.sh $@ + + + + Show advertising router link states + + + + + Show IPv4 OSPF opaque-link database of specified IP address for specified advertised router + + <x.x.x.x> + + + ${vyos_op_scripts_dir}/vtysh_wrapper.sh $@ + + + + Show self-originate IPv4 OSPF opaque-link database + + ${vyos_op_scripts_dir}/vtysh_wrapper.sh $@ + + + + + + Show IPv4 OSPF router database + + ${vyos_op_scripts_dir}/vtysh_wrapper.sh $@ + + + + Show IPv4 OSPF router database for specified IP address of advertised router + + <x.x.x.x> + + + ${vyos_op_scripts_dir}/vtysh_wrapper.sh $@ + + + + Show IPv4 OSPF router database for specified IP address of advertised router + + + + + + + Show IPv4 OSPF router database information of specified IP address + + <x.x.x.x> + + + ${vyos_op_scripts_dir}/vtysh_wrapper.sh $@ + + + + Show advertising router link states + + + + + Show IPv4 OSPF router database of specified IP address for specified advertised router + + <x.x.x.x> + + + ${vyos_op_scripts_dir}/vtysh_wrapper.sh $@ + + + + Show self-originate IPv4 OSPF router database + + ${vyos_op_scripts_dir}/vtysh_wrapper.sh $@ + + + + + + Show IPv4 OSPF self-originate database + + ${vyos_op_scripts_dir}/vtysh_wrapper.sh $@ + + + + Show summary of IPv4 OSPF database + + ${vyos_op_scripts_dir}/vtysh_wrapper.sh $@ + + + + Show IPv4 OSPF summary database for specified IP address of advertised router + + <x.x.x.x> + + + ${vyos_op_scripts_dir}/vtysh_wrapper.sh $@ + + + + Show IPv4 OSPF summary database for specified IP address of advertised router + + + + + + + Show IPv4 OSPF summary database information of specified IP address + + <x.x.x.x> + + + ${vyos_op_scripts_dir}/vtysh_wrapper.sh $@ + + + + Show advertising router link states + + + + + Show IPv4 OSPF summary database of specified IP address for specified advertised router + + <x.x.x.x> + + + ${vyos_op_scripts_dir}/vtysh_wrapper.sh $@ + + + + Show self-originate IPv4 OSPF summary database + + ${vyos_op_scripts_dir}/vtysh_wrapper.sh $@ + + + + + + + + Show IPv4 OSPF interface information + + ${vyos_op_scripts_dir}/vtysh_wrapper.sh $@ + + + + Show IPv4 OSPF information for specified interface + + + + + ${vyos_op_scripts_dir}/vtysh_wrapper.sh $@ + + + + Show IPv4 OSPF neighbor information + + ${vyos_op_scripts_dir}/vtysh_wrapper.sh $@ + + + + Show IPv4 OSPF neighbor information for specified IP address + + <x.x.x.x> + + + ${vyos_op_scripts_dir}/vtysh_wrapper.sh $@ + + + + Show detailed IPv4 OSPF neighbor information + + ${vyos_op_scripts_dir}/vtysh_wrapper.sh $@ + + + + + + Show IPv4 OSPF neighbor information for specified IP address or interface + + <x.x.x.x> + + + + ${vyos_op_scripts_dir}/vtysh_wrapper.sh $@ + + + + Show IPv4 OSPF route information + + ${vyos_op_scripts_dir}/vtysh_wrapper.sh $@ + + diff --git a/op-mode-definitions/show-ip-ospf.xml.in b/op-mode-definitions/show-ip-ospf.xml.in index fc298123b..704ed984f 100644 --- a/op-mode-definitions/show-ip-ospf.xml.in +++ b/op-mode-definitions/show-ip-ospf.xml.in @@ -11,565 +11,22 @@ Show IPv4 Open Shortest Path First (OSPF) routing information - vtysh -c "show ip ospf" + ${vyos_op_scripts_dir}/vtysh_wrapper.sh $@ - + #include + - Show IPv4 OSPF border-routers information - - vtysh -c "show ip ospf border-routers" - - - - Show IPv4 OSPF database information - - vtysh -c "show ip ospf database" - - - - Show IPv4 OSPF ASBR summary database - - vtysh -c "show ip ospf database asbr-summary" - - - - Show IPv4 OSPF ASBR summary database for given address of advertised router - - <x.x.x.x> - - - vtysh -c "show ip ospf database asbr-summary adv-router $7" - - - - Show IPv4 OSPF ASBR summary database for given address of advertised router - - - - - - - Show IPv4 OSPF ASBR summary database information of given address - - <x.x.x.x> - - - vtysh -c "show ip ospf database asbr-summary $6" - - - - Show advertising router link states - - - - - Show IPv4 OSPF ASBR summary database of given address for given advertised router - - <x.x.x.x> - - - vtysh -c "show ip ospf database asbr-summary $6 adv-router $8" - - - - Show summary of self-originate IPv4 OSPF ASBR database - - show ip ospf database asbr-summary $6 self-originate - - - - - - Show IPv4 OSPF external database - - vtysh -c "show ip ospf database external" - - - - Show IPv4 OSPF external database for specified IP address of advertised router - - <x.x.x.x> - - - vtysh -c "show ip ospf database external adv-router $7" - - - - Show IPv4 OSPF external database for specified IP address of advertised router - - - - - - - Show IPv4 OSPF external database information of specified IP address - - <x.x.x.x> - - - vtysh -c "show ip ospf database external $6" - - - - Show advertising router link states - - - - - Show IPv4 OSPF external database of specified IP address for specified advertised router - - <x.x.x.x> - - - vtysh -c "show ip ospf database external $6 adv-router $8" - - - - Show self-originate IPv4 OSPF external database - - show ip ospf database external $6 self-originate - - - - - - Show IPv4 OSPF max-age database - - vtysh -c "show ip ospf database max-age" - - - - Show IPv4 OSPF network database - - vtysh -c "show ip ospf database network" - - - - Show IPv4 OSPF network database for specified IP address of advertised router - - <x.x.x.x> - - - vtysh -c "show ip ospf database network adv-router $7" - - - - Show IPv4 OSPF network database for given address of advertised router - - - - - - - Show IPv4 OSPF network database information of specified IP address - - <x.x.x.x> - - - vtysh -c "show ip ospf database network $6" - - - - Show advertising router link states - - - - - Show IPv4 OSPF network database of specified IP address for specified advertised router - - <x.x.x.x> - - - vtysh -c "show ip ospf database network $6 adv-router $8" - - - - Show self-originate IPv4 OSPF network database - - show ip ospf database network $6 self-originate - - - - - - Show IPv4 OSPF NSSA external database - - vtysh -c "show ip ospf database nssa-external" - - - - Show IPv4 OSPF NSSA external database for specified IP address of advertised router - - <x.x.x.x> - - - vtysh -c "show ip ospf database nssa-external adv-router $7" - - - - Show IPv4 OSPF NSSA external database for specified IP address of advertised router - - - - - - - Show IPv4 OSPF NSSA external database information of specified IP address - - <x.x.x.x> - - - vtysh -c "show ip ospf database nssa-external $6" - - - - Show advertising router link states - - - - - Show IPv4 OSPF NSSA external database of specified IP address for specified advertised router - - <x.x.x.x> - - - vtysh -c "show ip ospf database nssa-external $6 adv-router $8" - - - - Show self-originate IPv4 OSPF NSSA external database - - show ip ospf database nssa-external $6 self-originate - - - - - - Show IPv4 OSPF opaque-area database - - vtysh -c "show ip ospf database opaque-area" - - - - Show IPv4 OSPF opaque-area database for specified IP address of advertised router - - <x.x.x.x> - - - vtysh -c "show ip ospf database opaque-area adv-router $7" - - - - Show IPv4 OSPF opaque-area database for specified IP address of advertised router - - - - - - - Show IPv4 OSPF opaque-area database information of specified IP address - - <x.x.x.x> - - - vtysh -c "show ip ospf database opaque-area $6" - - - - Show advertising router link states - - - - - Show IPv4 OSPF opaque-area database of specified IP address for specified advertised router - - <x.x.x.x> - - - vtysh -c "show ip ospf database opaque-area $6 adv-router $8" - - - - Show self-originate IPv4 OSPF opaque-area database - - show ip ospf database opaque-area $6 self-originate - - - - - - Show IPv4 OSPF opaque-as database - - vtysh -c "show ip ospf database opaque-as" - - - - Show IPv4 OSPF opaque-as database for specified IP address of advertised router - - <x.x.x.x> - - - vtysh -c "show ip ospf database opaque-as adv-router $7" - - - - Show IPv4 OSPF opaque-as database for specified IP address of advertised router - - - - - - - Show IPv4 OSPF opaque-as database information of specified IP address - - <x.x.x.x> - - - vtysh -c "show ip ospf database opaque-as $6" - - - - Show advertising router link states - - - - - Show IPv4 OSPF opaque-as database of specified IP address for specified advertised router - - <x.x.x.x> - - - vtysh -c "show ip ospf database opaque-as $6 adv-router $8" - - - - Show self-originate IPv4 OSPF opaque-as database - - show ip ospf database opaque-as $6 self-originate - - - - - - Show IPv4 OSPF opaque-link database - - vtysh -c "show ip ospf database opaque-link" - - - - Show IPv4 OSPF opaque-link database for specified IP address of advertised router - - <x.x.x.x> - - - vtysh -c "show ip ospf database opaque-link adv-router $7" - - - - Show IPv4 OSPF opaque-link database for specified IP address of advertised router - - - - - - - Show IPv4 OSPF opaque-link database information of specified IP address - - <x.x.x.x> - - - vtysh -c "show ip ospf database opaque-link $6" - - - - Show advertising router link states - - - - - Show IPv4 OSPF opaque-link database of specified IP address for specified advertised router - - <x.x.x.x> - - - vtysh -c "show ip ospf database opaque-link $6 adv-router $8" - - - - Show self-originate IPv4 OSPF opaque-link database - - show ip ospf database opaque-link $6 self-originate - - - - - - Show IPv4 OSPF router database - - vtysh -c "show ip ospf database router" - - - - Show IPv4 OSPF router database for specified IP address of advertised router - - <x.x.x.x> - - - vtysh -c "show ip ospf database router adv-router $7" - - - - Show IPv4 OSPF router database for specified IP address of advertised router - - - - - - - Show IPv4 OSPF router database information of specified IP address - - <x.x.x.x> - - - vtysh -c "show ip ospf database router $6" - - - - Show advertising router link states - - - - - Show IPv4 OSPF router database of specified IP address for specified advertised router - - <x.x.x.x> - - - vtysh -c "show ip ospf database router $6 adv-router $8" - - - - Show self-originate IPv4 OSPF router database - - show ip ospf database router $6 self-originate - - - - - - Show IPv4 OSPF self-originate database - - vtysh -c "show ip ospf database self-originate" - - - - Show summary of IPv4 OSPF database - - vtysh -c "show ip ospf database summary" - - - - Show IPv4 OSPF summary database for specified IP address of advertised router - - <x.x.x.x> - - - vtysh -c "show ip ospf database summary adv-router $7" - - - - Show IPv4 OSPF summary database for specified IP address of advertised router - - - - - - - Show IPv4 OSPF summary database information of specified IP address - - <x.x.x.x> - - - vtysh -c "show ip ospf database summary $6" - - - - Show advertising router link states - - - - - Show IPv4 OSPF summary database of specified IP address for specified advertised router - - <x.x.x.x> - - - vtysh -c "show ip ospf database summary $6 adv-router $8" - - - - Show self-originate IPv4 OSPF summary database - - show ip ospf database summary $6 self-originate - - - - - - - - Show IPv4 OSPF interface information - - vtysh -c "show ip ospf interface" - - - - Show IPv4 OSPF information for specified interface + Show OSPF routing protocol for given VRF - + vrf name + all - vtysh -c "show ip ospf interface $5" - - - - Show IPv4 OSPF neighbor information - - vtysh -c "show ip ospf neighbor" + ${vyos_op_scripts_dir}/vtysh_wrapper.sh $@ - - - Show IPv4 OSPF neighbor information for specified IP address - - <x.x.x.x> - - - vtysh -c "show ip ospf neighbor $6" - - - - Show detailed IPv4 OSPF neighbor information - - vtysh -c "show ip ospf neighbor detail" - + #include - - - - Show IPv4 OSPF neighbor information for specified IP address or interface - - <x.x.x.x> - - - - vtysh -c "show ip ospf neighbor $5" - - - Show IPv4 OSPF route information - - vtysh -c "show ip ospf route" - -- cgit v1.2.3