P4G_IPV6_TRAFFIC_CLASS#

# set
<module-index>/<port-index> P4G_IPV6_TRAFFIC_CLASS [<group_index>] <traffic_class>

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

Description#

Configure the value of the traffic class field of the IPv6 header.

Actions#

set, get

Parameters#

traffic_class: hex, value of the traffic class field

Example#

# set
input:  0/1 P4G_IPV6_TRAFFIC_CLASS [0] 0x00
output: <OK>

# get
input:  0/1 P4G_IPV6_TRAFFIC_CLASS [0] ?
output: 0/1 P4G_IPV6_TRAFFIC_CLASS [0] 0x00