From e9c9af90a8eec973e3ebbe54b6530bfcf00e984b Mon Sep 17 00:00:00 2001 From: Christian Poessinger Date: Thu, 21 May 2020 10:45:01 +0200 Subject: macsec: T2023: add 'show interfaces macsec' op-mode tree vyos@vyos# run show interfaces macsec 13: macsec1: protect on validate strict sc off sa off encrypt off send_sci on end_station off scb off replay off cipher suite: GCM-AES-128, using ICV length 16 TXSC: 005056bf19260001 on SA 0 14: macsec2: protect on validate strict sc off sa off encrypt on send_sci on end_station off scb off replay off cipher suite: GCM-AES-128, using ICV length 16 TXSC: 005056bfefaa0001 on SA 0 vyos@vyos# run show interfaces macsec macsec2 14: macsec2: protect on validate strict sc off sa off encrypt on send_sci on end_station off scb off replay off cipher suite: GCM-AES-128, using ICV length 16 TXSC: 005056bfefaa0001 on SA 0 --- op-mode-definitions/show-interfaces-macsec.xml | 29 ++++++++++++++++++++++++++ 1 file changed, 29 insertions(+) create mode 100644 op-mode-definitions/show-interfaces-macsec.xml diff --git a/op-mode-definitions/show-interfaces-macsec.xml b/op-mode-definitions/show-interfaces-macsec.xml new file mode 100644 index 000000000..6aeab66af --- /dev/null +++ b/op-mode-definitions/show-interfaces-macsec.xml @@ -0,0 +1,29 @@ + + + + + + + + + Show MACsec interface information + + interfaces macsec + + + /usr/sbin/ip macsec show + + + + Show specified MACsec interface information + + interfaces macsec + + + /usr/sbin/ip macsec show $4 + + + + + + -- cgit v1.2.3