PS_MACSEC_ENABLE

code: 526

# set
<module-index>/<port-index> PS_MACSEC_ENABLE [<stream_index>] <on_off>

# get
<module-index>/<port-index> PS_MACSEC_ENABLE [<stream_index>] ?

Description

Enable or disable MACsec on the stream.

Actions

set, get

Indices

stream_index: integer, stream index.

Parameters

  1. on_off: byte, enable or disable MACsec on the stream. Default to OFF.

    • OFF = 0, disable MACsec on the stream.

    • ON = 1, enable MACsec on the stream.

Example

# set
input:  0/1 PS_MACSEC_ENABLE [0] ON
output: <OK>

# get
input:  0/1 PS_MACSEC_ENABLE [0] ?
output: 0/1 PS_MACSEC_ENABLE [0] ON