P_MACSEC_TXSC_CIPHERSUITE
code: 509
# set
<module-index>/<port-index> P_MACSEC_TXSC_CIPHERSUITE [<tx_sc_index_index>] <cipher_suite>
# get
<module-index>/<port-index> P_MACSEC_TXSC_CIPHERSUITE [<tx_sc_index_index>] ?
Description
The cipher suite of the port’s TX SC.
Actions
set, get
Indices
tx_sc_index_index
: integer, TX SC index.
Parameters
cipher_suite
: byte, the cipher suite of the TX SC of the port. Default toGCM_AES_128
.GCM_AES_128 = 1
, GCM-AES-128 (IEEE 802.1AE-2018 Clause 14.5) (default)GCM_AES_256 = 2
, GCM-AES-256 (IEEE 802.1AE-2018 Clause 14.6)GCM_AES_XPN_128 = 3
, GCM-AES-XPN-128 (IEEE 802.1AE-2018 Clause 14.7)GCM_AES_XPN_256 = 4
, GCM-AES-XPN-256 (IEEE 802.1AE-2018 Clause 14.8)
Example
# set
input: 0/1 P_MACSEC_TXSC_CIPHERSUITE [0] GCM_AES_128
output: <OK>
# get
input: 0/1 P_MACSEC_TXSC_CIPHERSUITE [0] ?
output: 0/1 P_MACSEC_TXSC_CIPHERSUITE [0] GCM_AES_128