summaryrefslogtreecommitdiff
path: root/op-mode-definitions/show-interfaces.xml.in
diff options
context:
space:
mode:
authorViacheslav Hletenko <v.gletenko@vyos.io>2023-11-15 23:48:58 +0000
committerChristian Breunig <christian@breunig.cc>2023-11-16 14:26:40 +0100
commitbd873274d462f43d4e7ed100726930326139ee74 (patch)
tree90eaeb7a98b8153bd28109e227af20df362a6d79 /op-mode-definitions/show-interfaces.xml.in
parentc1754c4c0610824d54d03b5408ade26112bd643f (diff)
downloadvyos-1x-bd873274d462f43d4e7ed100726930326139ee74.tar.gz
vyos-1x-bd873274d462f43d4e7ed100726930326139ee74.zip
T5747: op-mode add MAC and MTU for show interfaces summary
Add op-mode "show interfaces summary" Add MAC, VRF and MTU options: vyos@r4# run show interfaces summary Codes: S - State, L - Link, u - Up, D - Down, A - Admin Down Interface IP Address MAC VRF MTU S/L Description ----------- ----------------- ----------------- ------- ----- ----- ------------- dum0 203.0.113.1/32 96:44:ad:c5:a1:a5 default 1500 u/u eth0 192.168.122.14/24 52:54:00:f1:fd:77 default 1500 u/u WAN eth1 192.0.2.1/24 52:54:00:04:33:2b foo 1500 u/u LAN-eth1 eth2 - 52:54:00:40:2e:af default 1504 u/u LAN-eth2 eth3 - 52:54:00:09:a4:b4 default 1500 A/D (cherry picked from commit dc3906f04fbfe8014531e092a77c1c8c2d10dfe0)
Diffstat (limited to 'op-mode-definitions/show-interfaces.xml.in')
-rw-r--r--op-mode-definitions/show-interfaces.xml.in6
1 files changed, 6 insertions, 0 deletions
diff --git a/op-mode-definitions/show-interfaces.xml.in b/op-mode-definitions/show-interfaces.xml.in
index dc61a6f5c..b58e0efea 100644
--- a/op-mode-definitions/show-interfaces.xml.in
+++ b/op-mode-definitions/show-interfaces.xml.in
@@ -20,6 +20,12 @@
</properties>
<command>${vyos_op_scripts_dir}/interfaces.py show</command>
</leafNode>
+ <leafNode name="summary">
+ <properties>
+ <help>Show summary information of all interfaces</help>
+ </properties>
+ <command>${vyos_op_scripts_dir}/interfaces.py show_summary_extended</command>
+ </leafNode>
</children>
</node>
</children>