Chapter 16
Traffic Control and Classification
RUGGEDCOM ROX II
CLI User Guide
704
Configuring QoS Marking
Configuring a Set Mark
1. Make sure the CLI is in Configuration mode.
2. Select the Set option by typing:
qos
traffic-control advanced-configuration tcrules
name
mark-choice set
Where:
•
name
is the name of the traffic control rule
3. Configure the following parameter(s):
NOTE
The
chain-options
parameter specifies the chain in which the rule will be processed.
•
Pre-Routing - Mark the connection in the PREROUTING chain.
This can be used with DNAT, SNAT and Masquerading rules in the firewall. An example of such a
rule is
Source.IP:192.168.2.101, Chain-option: preroute or default
, but the actual Source.NAT
address is 2.2.2.2.
•
Post-Routing - Mark the connection in the POSTROUTING chain.
This can be used with DNAT, SNAT and Masquerading rules in the firewall. An example of
such rule is
Destination.IP:192.168.3.101, Chain-option:preroute or default
. In this case,
the actual destination address is 192.168.3.101, but it will be translated to 192.168.3.33
by DNAT. Another example of a traffic control rule is
Destination.IP:192.168.3.33, Chain-
option:postrouting
.
•
Forward - Mark the connection in the FORWARD chain.
This is the default chain option and it can be used for normal IP traffic without any address or
port translation.
Parameter
Description
object { object }
Synopsis:
{ packet, connection }
Default:
packet
Sets the mark on either a packet or a connection.
mark { mark }
Synopsis:
A string
A mark that corresponds to a class mark (decimal value).
mask { mask }
Synopsis:
A string
(optional) A mask to determine which mark bits will be set.
chain-options { chain-options }
Synopsis:
{ forward, postrouting, prerouting }
Default:
forward
A chain where the set operation will take place.
4. Type
commit
and press
Enter
to save the changes, or type
revert
and press
Enter
to abort.
Configuring a Modify Mark
1. Make sure the CLI is in Configuration mode.
2. Select the Modify option by typing:
qos
traffic-control advanced-configuration tcrules
name
mark-choice modify
Where:
Содержание RUGGEDCOM ROX II
Страница 2: ...RUGGEDCOM ROX II CLI User Guide ii ...
Страница 4: ...RUGGEDCOM ROX II CLI User Guide iv ...
Страница 39: ...RUGGEDCOM ROX II CLI User Guide Table of Contents xxxix 19 5 VLANs 752 ...
Страница 40: ...Table of Contents RUGGEDCOM ROX II CLI User Guide xl ...
Страница 46: ...Preface RUGGEDCOM ROX II CLI User Guide xlvi Customer Support ...
Страница 96: ...Chapter 2 Using RUGGEDCOM ROX II RUGGEDCOM ROX II CLI User Guide 50 Accessing Maintenance Mode ...
Страница 170: ...Chapter 5 System Administration RUGGEDCOM ROX II CLI User Guide 124 Deleting a Scheduled Job ...
Страница 256: ...Chapter 6 Security RUGGEDCOM ROX II CLI User Guide 210 Enabling Disabling a Firewall ...
Страница 402: ...Chapter 11 Wireless RUGGEDCOM ROX II CLI User Guide 356 Managing Cellular Modem Profiles ...
Страница 646: ...Chapter 13 Unicast and Multicast Routing RUGGEDCOM ROX II CLI User Guide 600 Deleting a Multicast Group Prefix ...
Страница 732: ...Chapter 15 Network Discovery and Management RUGGEDCOM ROX II CLI User Guide 686 Viewing NETCONF Statistics ...
Страница 790: ...Chapter 17 Time Services RUGGEDCOM ROX II CLI User Guide 744 Deleting a Broadcast Multicast Address ...