P_MACSEC_RXSC_CIPHERSUITE

code: 521

# set
<module-index>/<port-index> P_MACSEC_RXSC_CIPHERSUITE [<rx_sc_index_index>] <cipher_suite>

# get
<module-index>/<port-index> P_MACSEC_RXSC_CIPHERSUITE [<rx_sc_index_index>] ?

Description

The cipher suite of the port’s RX SC.

Actions

set, get

Indices

rx_sc_index_index: integer, RX SC index.

Parameters

  1. cipher_suite: byte, the cipher suite of the RX SC of the port. Default to GCM_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_RXSC_CIPHERSUITE [0] GCM_AES_128
output: <OK>

# get
input:  0/1 P_MACSEC_RXSC_CIPHERSUITE [0] ?
output: 0/1 P_MACSEC_RXSC_CIPHERSUITE [0] GCM_AES_128