P_MACSEC_TXSC_ENCRYPT

code: 512

# set
<module-index>/<port-index> P_MACSEC_TXSC_ENCRYPT [<tx_sc_index_index>] <mode>

# get
<module-index>/<port-index> P_MACSEC_TXSC_ENCRYPT [<tx_sc_index_index>] ?

Description

The integrity mode of the port’s TX SC.

Actions

set, get

Indices

tx_sc_index_index: integer, TX SC index.

Parameters

  1. mode: byte, the VLAN mode. Default to ENCRYPT_INTEGRITY.

    • ENCRYPT_INTEGRITY = 1, MACsec provides both encryption and integrity.

    • INTEGRITY_ONLY = 2, MACsec only provides integrity.

Example

# set
input:  0/1 P_MACSEC_TXSC_ENCRYPT [0] ENCRYPT_INTEGRITY
output: <OK>

# get
input:  0/1 P_MACSEC_TXSC_ENCRYPT [0] ?
output: 0/1 P_MACSEC_TXSC_ENCRYPT [0] ENCRYPT_INTEGRITY