diff options
author | Christian Poessinger <christian@poessinger.com> | 2021-01-02 19:43:09 +0100 |
---|---|---|
committer | Christian Poessinger <christian@poessinger.com> | 2021-01-02 19:43:09 +0100 |
commit | 0acf5dff2ffc54eee1a1a6f9bceed7e62caf4fd4 (patch) | |
tree | eb574306ffc1fdbfdb47a31231791290c3974ce5 | |
parent | 0fd9102301c50fc9be4d93f9eb4af57157804d83 (diff) | |
download | vyos-1x-0acf5dff2ffc54eee1a1a6f9bceed7e62caf4fd4.tar.gz vyos-1x-0acf5dff2ffc54eee1a1a6f9bceed7e62caf4fd4.zip |
op-mode: T3178: add "show ipv6 route" commands
-rw-r--r-- | Makefile | 1 | ||||
-rw-r--r-- | op-mode-definitions/show-ipv6.xml | 143 |
2 files changed, 123 insertions, 21 deletions
@@ -74,7 +74,6 @@ op_mode_definitions: rm -f $(OP_TMPL_DIR)/set/node.def rm -f $(OP_TMPL_DIR)/show/node.def rm -f $(OP_TMPL_DIR)/show/interfaces/node.def - rm -f $(OP_TMPL_DIR)/show/ipv6/route/node.def rm -f $(OP_TMPL_DIR)/monitor/node.def rm -f $(OP_TMPL_DIR)/generate/node.def rm -f $(OP_TMPL_DIR)/show/system/node.def diff --git a/op-mode-definitions/show-ipv6.xml b/op-mode-definitions/show-ipv6.xml index be84640eb..cf3f25993 100644 --- a/op-mode-definitions/show-ipv6.xml +++ b/op-mode-definitions/show-ipv6.xml @@ -22,26 +22,6 @@ </properties> <command>vtysh -c "show ipv6 access-list $4"</command> </tagNode> - <node name="forwarding"> - <properties> - <help>Show IPv6 forwarding status</help> - </properties> - <command>vtysh -c "show ipv6 forwarding"</command> - </node> - <node name="ripng"> - <properties> - <help>Show RIPNG protocol information</help> - </properties> - <command>vtysh -c "show ipv6 ripng"</command> - <children> - <node name="status"> - <properties> - <help>Show RIPNG protocol status</help> - </properties> - <command>vtysh -c "show ipv6 ripng status"</command> - </node> - </children> - </node> <node name="bgp"> <properties> <help>Show Border Gateway Protocol (BGP) information</help> @@ -231,6 +211,129 @@ </node> </children> </tagNode> + <node name="forwarding"> + <properties> + <help>Show IPv6 forwarding status</help> + </properties> + <command>vtysh -c "show ipv6 forwarding"</command> + </node> + <node name="ripng"> + <properties> + <help>Show RIPNG protocol information</help> + </properties> + <command>vtysh -c "show ipv6 ripng"</command> + <children> + <node name="status"> + <properties> + <help>Show RIPNG protocol status</help> + </properties> + <command>vtysh -c "show ipv6 ripng status"</command> + </node> + </children> + </node> + <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> + </completionHelp> + </properties> + <children> + <node name="longer-prefixes"> + <properties> + <help>Show longer prefixes of routes for given address or prefix</help> + </properties> + <command>vtysh -c "show ipv6 route $4 longer-prefixes"</command> + </node> + </children> + <command>vtysh -c "show ipv6 route $4"</command> + </tagNode> + <node name="route"> + <properties> + <help>Show IPv6 routes</help> + </properties> + <command>vtysh -c "show ipv6 route"</command> + <children> + <node name="bgp"> + <properties> + <help>Show IPv6 BGP routes</help> + </properties> + <command>vtysh -c "show ipv6 route bgp"</command> + </node> + <node name="connected"> + <properties> + <help>Show IPv6 connected routes</help> + </properties> + <command>vtysh -c "show ipv6 route connected"</command> + </node> + <node name="isis"> + <properties> + <help>Show IPv6 IS-IS routes</help> + </properties> + <command>vtysh -c "show ipv6 route isis"</command> + </node> + <node name="kernel"> + <properties> + <help>Show IPv6 Kernel routes</help> + </properties> + <command>vtysh -c "show ipv6 route kernel"</command> + </node> + <node name="ospfv3"> + <properties> + <help>Show IPv6 OSPF routes</help> + </properties> + <command>vtysh -c "show ipv6 route ospf6"</command> + </node> + <node name="ripng"> + <properties> + <help>Show IPv6 RIPNG routes</help> + </properties> + <command>vtysh -c "show ipv6 route ripng"</command> + </node> + <node name="static"> + <properties> + <help>Show IPv6 static routes</help> + </properties> + <command>vtysh -c "show ipv6 route static"</command> + </node> + <node name="summary"> + <properties> + <help>Show IPv6 routes summary</help> + </properties> + <command>vtysh -c "show ipv6 route summary"</command> + </node> + <node name="table"> + <properties> + <help>Show IPv6 routes in policy tables</help> + </properties> + <command>vtysh -c "show ipv6 route table all"</command> + </node> + <tagNode name="table"> + <properties> + <help>Show IPv6 routes in specific policy table</help> + <completionHelp> + <path>protocols static table</path> + </completionHelp> + </properties> + <command>vtysh -c "show ipv6 route table $5"</command> + </tagNode> + <node name="vrf"> + <properties> + <help>Show IPv6 routes in VRFs</help> + </properties> + <command>vtysh -c "show ipv6 route vrf all"</command> + </node> + <tagNode name="vrf"> + <properties> + <help>Show IPv6 routes in specific VRF</help> + <completionHelp> + <path>vrf name</path> + </completionHelp> + </properties> + <command>vtysh -c "show ipv6 route vrf $5"</command> + </tagNode> + </children> + </node> </children> </node> </children> |