Lucent Technologies 6000 Network Router User Manual


 
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):
000Normal priority
001Priority level 1
010Priority level 2
011Priority level 3
100Priority level 4
101Priority level 5
110Priority level 6
111Priority 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