Page 226 / 351 Scroll up to view Page 221 - 225
226
IP Prioritization
set ip prioritize [ off | on ]
Allows you to support traffic that has the TOS bit set. This defaults to
off
.
Page 227 / 351
227
CONFIG Commands
Differentiated Services (DiffServ)
set diffserv option [ off | on ]
Turns the DiffServ option
off
(default) or
on
.
on
enables the service and IP TOS bits are
used, even if no flows are defined. Consequently, if the end-point nodes provide TOS set-
tings from an application that can be interpreted as one of the supported states, the Gate-
way will handle it as if it actively marked the TOS field itself.
NOTE:
The Gateway itself will not override TOS bit settings made by the endpoints.
Support for source-provided IP TOS priorities within the Gateway is achieved
simply by turning the DiffServe option “on” and by setting the lohi-asymmetry
to adjust the behavior of the Gateway’s internal queues.
set diffserv lohi-ratio [ 60 - 100 percent ]
Sets a percentage between 60 and 100 used to regulate the level of packets allowed to be
pending in the low priority queue. The default is 92. It can be used in some degree to
adjust the relative throughput bandwidth for low- versus high-priority traffic.
NOTE:
diffserv lohi-ratio
has been removed for VDSL, ADSL bonded units.
Page 228 / 351
228
set diffserv custom-flows name
name
protocol [ TCP | UDP | ICMP | other ]
direction [ outbound | inbound | both ]
start-port [ 0 - 65535 ]
end-port [ 0 - 65535 ]
inside-ip
inside-ip-addr
inside-ip-mask
inside-ip-netmask
outside-ip
outside-ip-addr
outside-ip-mask
outside-ip-netmask
qos [ off | assure | expedite | network-control ]
Defines or edits a custom flow. Select a
name
for the custom-flow from the
set
command.
The CLI will step into the newly-named or previously-defined flow for editing.
protocol
– Allows you to choose the IP protocol for the stream:
TCP
,
UDP
,
ICMP
, or
other
.
other
is appropriate for setting up flows on protocols with non-standard port definitions,
for example, IPSEC or PPTP. If you select
other
, an additional field,
numbered-proto-
col
will appear with a range of 0–255. Choose the protocol number from this field.
direction
– Allows you to choose whether to apply the marking and gateway queue
behavior for inbound packets, outbound packets, or to both. If the Gateway is used as
an “edge” gateway, its more important function is to mark the packets for high-priority
streams in the outbound direction.
start-port
/
end-port
– Allows you to specify a range of ports to check for a particular
flow, if the protocol selection is TCP or UDP.
inside-ip/mask
– If you want packets originating from a certain LAN IP address to be
marked, enter the IP address and subnet mask here. If you leave the address equal to
zero, this check is ignored for outbound packets. The check is always ignored for
inbound packets. The DiffServe queuing function must be applied ahead of NAT; and,
before NAT re-maps the inbound packets, all inbound packets are destined for the Gate-
way's WAN IP address.
outside-ip/mask
– If you want packets destined for and originating from a certain WAN
IP address to be marked, enter this address and subnet mask here. If you leave the
address equal to zero, the outside address check is ignored. For outbound flows, the
outside address is the destination IP address for the packets. For inbound packets, the
outside address is the source IP address for the packets.
Note:
When setting the Inside/Outside IP Address/Netmask settings, note that a netmask
value can be used to configure for a network rather than a single IP address.
Page 229 / 351
229
CONFIG Commands
qos
– Allows you to specify the Quality of Service for the flow:
off
,
assure
,
expedite
or
network-control
. These are used both to mark the IP TOS byte and to distribute pack-
ets into the queues as if they were marked by the source.
Packet Mapping Configuration
set diffserv qos [ network-control-queue | expedite-queue |
assured-queue | best-effort-queue ]
queue_name
Specifies the Diffserv QoS queue mapping associations.
queue_name
- the basic queue name to which classified packets are directed.
By default the following mappings are created:
set diffserv qos network-control-queue basic_q0
set diffserv qos expedite-queue basic_q1
set diffserv qos assured-queue basic_q2
set diffserv qos best-effort-queue basic_q3
set diffserv qos dscp-map [ default | custom ]
default
– the default DSCP-queue mappings are used
custom
– allows you to set up customized mappings between DSCP code points and
queue types.
If
custom
is selected, the following can be configured:
set diffserv qos dscp-map-0
[ best-effort | assured | expedite | network-control ]
QoS Setting
TOS Bit Value
Behavior
Off
TOS=000
This custom flow is disabled. You can activate it by selecting one
of the two settings below. This setting allows you to pre-define
flows without actually activating them.
Assure
TOS=001
Use normal queuing and throughput rules, but do not drop pack-
ets if possible. Appropriate for applications with no guaranteed
delivery mechanism.
Expedite
TOS=101
Use minimum delay. Appropriate for VoIP and video applications.
Network Control
TOS=111
Use highest possible priority.
Page 230 / 351
230
set diffserv qos dscp-map-1
[ best-effort | assured | expedite | network-control ]
...
set diffserv qos dscp-map-31
[ best-effort | assured | expedite | network-control ]
By default, the following settings are used in custom mode:
set diffserv qos dscp-map-0 best-effort
set diffserv qos dscp-map-1 best-effort
set diffserv qos dscp-map-2 best-effort
set diffserv qos dscp-map-3 best-effort
set diffserv qos dscp-map-4 best-effort
set diffserv qos dscp-map-5 assured
set diffserv qos dscp-map-6 best-effort
set diffserv qos dscp-map-7 best-effort
set diffserv qos dscp-map-8 best-effort
set diffserv qos dscp-map-9 assured
set diffserv qos dscp-map-10 best-effort
set diffserv qos dscp-map-11 best-effort
set diffserv qos dscp-map-12 best-effort
set diffserv qos dscp-map-13 assured
set diffserv qos dscp-map-14 best-effort
set diffserv qos dscp-map-15 best-effort
set diffserv qos dscp-map-16 best-effort
set diffserv qos dscp-map-17 assured
set diffserv qos dscp-map-18 best-effort
set diffserv qos dscp-map-19 best-effort
set diffserv qos dscp-map-20 best-effort
set diffserv qos dscp-map-21 best-effort
set diffserv qos dscp-map-22 best-effort
set diffserv qos dscp-map-23 expedite
set diffserv qos dscp-map-24 network-control
set diffserv qos dscp-map-25 network-control
set diffserv qos dscp-map-26 network-control
set diffserv qos dscp-map-27 network-control
set diffserv qos dscp-map-28 network-control
set diffserv qos dscp-map-29 network-control
set diffserv qos dscp-map-30 network-control
set diffserv qos dscp-map-31 network-control

Rate

4 / 5 based on 3 votes.

Bookmark Our Site

Press Ctrl + D to add this site to your favorites!

Share
Top