ltm traffic-class
ltm traffic-class(1) BIG-IP TMSH Manual ltm traffic-class(1)
NAME
traffic-class - Configures a traffic class.
MODULE
ltm
SYNTAX
Configure the traffic-class component within the ltm module using the syntax shown in the following sections.
CREATE/MODIFY
create traffic-class [name]
modify traffic-class [name]
options:
app-service [[string] | none]
classification [string]
description [string]
destination-address [ [ip address] | none]
destination-mask [ [ip address] | none]
destination-port [ [integer] | [port name] ]
protocol [any | [protocol] ]
source-address [ [ip address] | none]
source-mask [ [ip address] | none]
source-port [ [integer] | [port name] ]
edit traffic-class [ [ [name] | [glob] | [regex] ] ... ]
options:
all-properties
non-default-properties
one-line
DISPLAY
list traffic-class
list traffic-class [ [ [name] | [glob] | [regex] ] ... ]
show running-config traffic-class
show running-config traffic-class [ [ [name] | [glob] | [regex] ] ... ]
options:
all-properties
non-default-properties
one-line
DELETE
delete traffic-class [name]
DESCRIPTION
You can use the traffic-class component to configure a traffic class, which is a named group of ports,
machines, and subnets. You can then assign this traffic class to a virtual server in order to configure the
virtual server to achieve specific Quality of Service (QoS) standards.
EXAMPLES
create traffic-class my_traffic_class classification "My traffic class."
Creates a traffic class named my_traffic_class, which tags matching flows with the tag My traffic class.
list traffic-class all-properties
Displays all of the properties of all of the traffic classes.
delete traffic-class my_traffic_class
Deletes the traffic class named my_traffic_class.
OPTIONS
app-service
Specifies the name of the application service to which the traffic class belongs. The default value is
none. Note: If the strict-updates option is enabled on the application service that owns the object, you
cannot modify or delete the traffic class. Only the application service can modify or delete the traffic
class.
classification
Specifies the actual textual tag to be associated with the flow if the traffic class is matched. This
option is required.
description
User defined description.
destination-address
Specifies destination IP addresses for the system to use when evaluating traffic flow. If traffic flow
matches this value, it is tagged with the value in the classification option. The default value is none.
destination-mask
Specifies a destination IP address mask for the system to use when evaluating traffic flow. If traffic
flow matches this value, it is tagged with the value in the classification option. The default value is
none.
destination-port
Specifies a destination port for the system to use when evaluating traffic flow. If traffic flow matches
this value, it is tagged with the value in the classification option. The default value is 0 (zero).
glob Displays the items that match the glob expression. See help glob for a description of glob expression
syntax.
name Specifies a unique name for the component. This option is required for the commands create, delete, and
modify.
protocol
Specifies a protocol for the system to use when evaluating traffic flow. If traffic flow matches this
value, it is tagged with the value in the classification option. The default value is any.
regex
Displays the items that match the regular expression. The regular expression must be preceded by an at
sign (@[regular expression]) to indicate that the identifier is a regular expression. See help regex for
a description of regular expression syntax.
source-address
Specifies source IP addresses for the system to use when evaluating traffic flow. If traffic flow matches
this value, it is tagged with the value in the classification option. The default value is none.
source-mask
Specifies a source IP address mask for the system to use when evaluating traffic flow. If traffic flow
matches this value, it is tagged with the value in the classification option. The default value is none.
source-port
Specifies a source port for the system to use when evaluating traffic flow. If traffic flow matches this
value, it is tagged with the value in the classification option. The default value is 0 (zero).
SEE ALSO
create, delete, edit, glob, list, ltm virtual, modify, regex, tmsh
COPYRIGHT
No part of this program may be reproduced or transmitted in any form or by any means, electronic or
mechanical, including photocopying, recording, or information storage and retrieval systems, for any purpose
other than the purchaser's personal use, without the express written permission of F5 Networks, Inc.
F5 Networks and BIG-IP (c) Copyright 2008-2010, 2012-2013, 2016. All rights reserved.
BIG-IP 2016-03-14 ltm traffic-class(1)