P4G_VLAN_ENABLE

# set
<module-index>/<port-index> P4G_VLAN_ENABLE [<group_index>] <on_off>

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

Description

Specify whether to insert a VLAN tag header upon transmit.

Actions

set, get

Parameters

on_off: byte, specifying whether to enable VLAN tag
  • NO = 0

  • YES = 1

Example

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

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