summaryrefslogtreecommitdiff
path: root/op-mode-definitions
diff options
context:
space:
mode:
authorjack9603301 <jack9603301@163.com>2021-02-03 22:36:46 +0800
committerjack9603301 <jack9603301@163.com>2021-02-04 15:18:01 +0800
commit6735125bce20042d316ad21acf273f38d6a9deb5 (patch)
tree4df8ed68101354e72a58f83e070915efaa1a8c2b /op-mode-definitions
parent7288d31824cba80e99a66b2484feac7d0f46aacc (diff)
downloadvyos-1x-6735125bce20042d316ad21acf273f38d6a9deb5.tar.gz
vyos-1x-6735125bce20042d316ad21acf273f38d6a9deb5.zip
op-mode: ip: T3283: Support for IPv4 neigh tables
Diffstat (limited to 'op-mode-definitions')
-rw-r--r--op-mode-definitions/show-ip.xml.in20
1 files changed, 20 insertions, 0 deletions
diff --git a/op-mode-definitions/show-ip.xml.in b/op-mode-definitions/show-ip.xml.in
new file mode 100644
index 000000000..dd338ff81
--- /dev/null
+++ b/op-mode-definitions/show-ip.xml.in
@@ -0,0 +1,20 @@
+<?xml version="1.0"?>
+<interfaceDefinition>
+ <node name="show">
+ <children>
+ <node name="ip">
+ <properties>
+ <help>Show IPv4 routing information</help>
+ </properties>
+ <children>
+ <node name="neighbors">
+ <properties>
+ <help>Show IPv4 Neighbor Discovery (ND) information</help>
+ </properties>
+ <command>ip -f inet neigh list</command>
+ </node>
+ </children>
+ </node>
+ </children>
+ </node>
+</interfaceDefinition>