Example of defining a tos filter, Example of defining a tos filter -53 – Lucent Technologies 6000 User Manual

Page 417

Advertising
background image

Configuring IP Routing

Configuring WAN interfaces

MAX 6000/3000 Network Configuration Guide

9-53

Example of defining a TOS filter

The parameter settings in this example define a TOS filter for TCP packets (protocol 6) that are
destined for a single host at 10.168.6.24. The packets must be sent on TCP port 23. For
incoming packets that match this filter, the priority is set at level 2. This relatively low priority
means that an upstream router that implements priority queuing can drop these packets when it
becomes loaded. The values shown also set TOS to prefer a low latency connection, which
means that the upstream router will choose a fast connection if one is available, even if it has
higher cost or lower bandwidth or is less reliable than another available link.

Ethernet

Filters

TOS Filter profile 4

Name=sampleTOS

Input Filters...

In filter 01

Valid=Yes

Type=IPTos

IPTos...

Src Mask=0.0.0.0

precedence

value

Specifies the priority level of the data stream. The three most sig-
nificant bits of the TOS byte are priority bits used to set precedence
for priority queuing. If a packet matches the filter, the three bits are
set to the specified value (most significant bit first):

000—Normal priority

001—Priority level 1

010—Priority level 2

011—Priority level 3

100—Priority level 4

101—Priority level 5

110—Priority level 6

111—Priority level 7 (the highest priority)

type-of-service

value

Specifies the Type of Service of the data stream. One of the follow-
ing values can be specified:

Normal (0)—Normal service

Disabled (1)—Disables TOS

Cost (2)—Minimize monetary cost

Reliability (4)—Maximize reliability

Throughput (8)—Maximize throughput

Latency (16)—Minimize delay

Note:

If a packet matches the filter, the system sets the four bits

following the three most significant bits of the TOS byte to the
specified value. Those four bits are used to choose a link according
to the type of service.

Keyword or argument Description

Advertising
This manual is related to the following products: