P4G_ENABLE

# set
<module-index>/<port-index> P4G_ENABLE [<group_index>] <status>

# get
<module-index>/<port-index> P4G_ENABLE [<group_index>] ?

Description

Enable/disable/suppress a previously created CG with the specified sub-index value.

Actions

set, get

Parameters

status: OnOffWithSuppress, specifies the state of the CG.
  • OFF = 0

  • ON = 1

  • SUPPRESS = 2

Example

# set
input:  0/1 P4G_ENABLE [0] OFF
output: <OK>

# get
input:  0/1 P4G_ENABLE [0] ?
output: 0/1 P4G_ENABLE [0] OFF