diff options
author | Christian Poessinger <christian@poessinger.com> | 2020-05-21 10:45:01 +0200 |
---|---|---|
committer | Christian Poessinger <christian@poessinger.com> | 2020-05-21 11:59:08 +0200 |
commit | e9c9af90a8eec973e3ebbe54b6530bfcf00e984b (patch) | |
tree | c23dcb969137a8e87833240f9cb7f85c122db4c7 /op-mode-definitions/show-interfaces-macsec.xml | |
parent | 04d03f5bdd262bbf95f09e6ba3f211ab1d459573 (diff) | |
download | vyos-1x-e9c9af90a8eec973e3ebbe54b6530bfcf00e984b.tar.gz vyos-1x-e9c9af90a8eec973e3ebbe54b6530bfcf00e984b.zip |
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
Diffstat (limited to 'op-mode-definitions/show-interfaces-macsec.xml')
-rw-r--r-- | op-mode-definitions/show-interfaces-macsec.xml | 29 |
1 files changed, 29 insertions, 0 deletions
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 @@ +<?xml version="1.0"?> +<interfaceDefinition> + <node name="show"> + <children> + <node name="interfaces"> + <children> + <node name="macsec"> + <properties> + <help>Show MACsec interface information</help> + <completionHelp> + <path>interfaces macsec</path> + </completionHelp> + </properties> + <command>/usr/sbin/ip macsec show</command> + </node> + <tagNode name="macsec"> + <properties> + <help>Show specified MACsec interface information</help> + <completionHelp> + <path>interfaces macsec</path> + </completionHelp> + </properties> + <command>/usr/sbin/ip macsec show $4</command> + </tagNode> + </children> + </node> + </children> + </node> +</interfaceDefinition> |