Добавил:
Опубликованный материал нарушает ваши авторские права? Сообщите нам.
Вуз: Предмет: Файл:
DQOS Exam Certification Guide - Cisco press.pdf
Скачиваний:
69
Добавлен:
24.05.2014
Размер:
12.7 Mб
Скачать

528 Chapter 7: Link-Efficiency Tools

Foundation Summary

The “Foundation Summary” is a collection of tables and figures that provide a convenient review of many key concepts in this chapter. For those of you already comfortable with the topics in this chapter, this summary could help you recall a few details. For those of you who just read this chapter, this review should help solidify some key facts. For any of you doing your final prep before the exam, these tables and figures are a convenient way to review the day before the exam.

Figure 7-19 shows the fields compressed by payload compression, and by both types of header compression. (The abbreviation “DL” stands for data link, representing the data-link header and trailer.)

Figure 7-19 Payload and Header Compression

Payload Compression

DL IP TCP

Data

DL

TCP Header Compression

RTP Header Compression

DL IP UDP RTP Data DL

Table 7-16 outlines the main points of comparison for the three payload compression tools.

Table 7-16 Point-to-Point Payload Compression tools—Feature Comparison

Feature

Stacker

MPPC

Predictor

 

 

 

 

Uses Lempel-Ziv (LZ) compression algorithm

Yes

Yes

No

 

 

 

 

Uses Predictor public domain compression algorithm

No

No

Yes

 

 

 

 

Supported on High-Level Data Link Control (HDLC)

Yes

No

No

 

 

 

 

Supported on X.25

Yes

No

No

 

 

 

 

Supported on Link Access Procedure, Balanced (LAPB)

Yes

No

Yes

 

 

 

 

Supported on Frame Relay

Yes

No

No

 

 

 

 

Supported on Point-to-Point Protocol (PPP)

Yes

Yes

Yes

 

 

 

 

Supported on ATM (using multilink PPP)

Yes

Yes

Yes

 

 

 

 

Foundation Summary 529

Table 7-17 list the various configuration and show commands used with payload compression.

Table 7-17 Configuration Command Reference for Payload Compression

Command

Mode and Function

 

 

compress predictor

Interface configuration mode; enables Predictor

 

compression on one end of the link.

 

 

compress stac

Interface configuration mode; enables Stacker

 

compression on one end of the link.

 

 

compress mppc [ignore-pfc]

Interface configuration mode; enables MPPC compression

 

on one end of the link.

 

 

compress stac [distributed | software]

Interface configuration mode; on 7500s with VIPs, allows

 

specification of whether the compression algorithm is

 

executed in software on the VIP.

 

 

compress {predictor | stac

Interface configuration mode; On 7200s, allows

[csa slot | software]}

specification of Predictor or Stacker compression on a

 

compression service adapter (CSA).

 

 

compress stac caim element-number

Interface configuration mode; enables Stacker

 

compression using the specified compression AIM.

 

 

frame-relay payload-compress

Interface configuration mode; enables FRF.9 or data-stream

{packet-by-packet | frf9 stac

style compression on one end of a Frame Relay link.

[hardware-options] | data-stream stac

Hardware-options field includes the following options:

[hardware-options]}

software, distributed (for use w/VIPs), and CSA

 

(7200s only).

 

 

The TCP and RTP header compression configuration process, as mentioned, is very simple. Tables 7-18 and 7-19, respectively, list the configuration and show commands.

Table 7-18 Configuration Command Reference for TCP and RTP Header Compression

Command

Mode and Function

 

 

ip tcp header-compression [passive]

Interface configuration mode; enables TCP header

 

compression on point-to-point links.

 

 

ip rtp header-compression [passive]

Interface configuration mode; enables RTP header

 

compression on point-to-point links.

 

 

frame-relay ip tcp header-

Interface/subinterface configuration mode; enables TCP

compression [passive]

header compression on point-to-point links.

 

 

frame-relay ip rtp header-compression

Interface or subinterface configuration mode; enables RTP

[passive]

header compression on point-to-point links.

 

 

continues

530 Chapter 7: Link-Efficiency Tools

Table 7-18 Configuration Command Reference for TCP and RTP Header Compression (Continued)

 

Command

Mode and Function

 

 

 

 

frame-relay map ip ip-address dlci

Interface or subinterface configuration mode; enables TCP

 

[broadcast] tcp header-compression

header compression on the specific VC identified in the

 

[active | passive] [connections number]

map command.

 

 

 

 

frame-relay map ip ip-address dlci

Interface or subinterface configuration mode; enables RTP

 

[broadcast] rtp header-compression

header compression on the specific VC identified in the

 

[active | passive] [connections number]

map command.

 

 

 

Table 7-19 Exec Command Reference for TCP and RTP Header Compression

 

 

 

 

Command

Function

 

 

 

 

show frame-relay ip rtp header-

Lists statistical information about RTP header

 

compression [interface type number]

compression over Frame Relay; can list information per

 

 

interface

 

 

 

 

show frame-relay ip tcp header-

Lists statistical information about TCP header

 

compression

compression over Frame Relay

 

 

 

 

show ip rtp header-compression

Lists statistical information about RTP header

 

[type number] [detail]

compression over point-to-point links; can list information

 

 

per interface

 

 

 

 

show ip tcp header-compression

Lists statistical information about TCP header

 

 

compression over point-to-point links

 

 

 

LFI tools attack the serialization delay problem by breaking the large packets into smaller pieces (fragmentation), and then sending the smaller frames ahead of most of the new fragments of the original large frame (interleaving). Figure 7-20 outlines the basic process.

Figure 7-20 Basic Concept Behind LFI Tools

Interface Output Queue, no LFI

Delay

Sensitive

60 Byte 1500 Byte Packet

Packet

 

 

 

Interface Output Queue, with LFI, 300 Byte Fragments

 

300 Byte

 

300 Byte

 

300 Byte

 

300 Byte

 

Delay

 

300 Byte

 

Fragment

 

Fragment

 

Fragment

 

Fragment

 

Sensitive

 

Fragment

 

#5 of

 

#4 of

 

#3 of

 

#2 of

 

60 Byte

 

#1 of

 

Original

 

Original

 

Original

 

Original

 

Packet

 

Original

 

 

 

 

 

 

 

 

 

 

 

 

 

Foundation Summary 531

Figure 7-21 depicts how MLP LFI works with a queuing tool on an interface.

Figure 7-21 MLP LFI Interaction with Queuing

1500 Byte Packet Arrives, Followed by One 60 Byte Packet

R1 – Serial Interface 0

Actual Behavior with TX Queue

 

 

 

 

Queue 1

 

 

 

 

 

Small

TX Queue, Length 2

 

 

 

 

Packet

 

 

 

 

 

Fragment

Classify into

 

 

Schedule

Frag 2 Frag1

 

 

 

 

if > 300

 

 

 

 

Queues

Frag 5

Frag 4

Frag 3

 

 

 

 

 

 

 

Queue 2

 

For perspective, Table 7-20 summarizes the calculated fragment sizes based on the bandwidth and maximum delay.

Table 7-20 Fragment Sizes Based on Bandwidth and Serialization Delay

Bandwidth/Link Speed

10-ms Delay

20-ms Delay

30-ms Delay

40-ms Delay

 

 

 

 

 

56 kbps

70

140

210

280

 

 

 

 

 

64 kbps

80

160

240

320

 

 

 

 

 

128 kbps

160

320

480

560

 

 

 

 

 

256 kbps

320

640

960

1280

 

 

 

 

 

512 kbps

640

1280

1920*

2560*

 

 

 

 

 

768 kbps

1000

2000*

3000*

4000*

 

 

 

 

 

1536 kbps

1600*

3200*

4800*

6400*

 

 

 

 

 

*Values over 1500 exceed the typical maximum transmit unit (MTU) size of an interface. Fragmentation of sizes larger than MTU does not result in any fragmentation.

Two of these queuing tools, if enabled on the shaping queue of a VC, cause packets to be placed in the High Dual FIFO queue on the physical interface. Figure 7-22 outlines the main concept.

532 Chapter 7: Link-Efficiency Tools

Figure 7-22 Classification Between FRTS LLQ Shaping Queues and Interface Dual FIFO Queues with FRF.12

Shaping Queues Created

 

 

by LLQ Configuration

 

 

on a Single VC

 

FRF.12 Dual FIFO Queues

 

 

Class 1 –

 

 

LLQ

 

 

 

 

High Queue

Class 2 –

 

TX Ring

Non-LLQ

 

Shape

Normal

 

 

 

 

 

Queue

Class 3 –

 

 

Non-LLQ

 

 

Class 3 –

 

 

Non-LLQ

 

 

Table 7-21 summarizes the queuing tools and identifies when you can use them with FRTS and FRF.12:

Table 7-21 Queuing Tool Support with FRTS and FRF.12 (IOS 12.2 Mainline)

 

Queuing Tools Supported on Each VC

Desired Features

(Shaping Queues)

 

 

FRTS only

FIFO, PQ, Custom Queuing (CQ), Weighted Fair

 

Queuing (WFQ), Class Based Weighted Fair

 

Queuing (CBWFQ), LLQ, IP RTP Priority

 

 

FRTS with FRF.12 enabled

WFQ, CBWFQ, LLQ, IP RTP Priority

 

 

FRTS, FRF.12, with actual interleaving of packets

LLQ, IP RTP Priority

 

 

Table 7-22 summarizes the core functions of MLP LFI versus FRF.12, particularly how they each interact with the available queuing tools.

Table 7-22 Comparisons Between MLP LFI and FRF.12

Step in the Process

MLP LFI

FRF.12

 

 

 

Configures maximum delay, or

Maximum delay

Fragment size

actual fragment size

 

 

 

 

 

Classification into the interface

Based on the queuing tool

All packets coming from LLQ

output queues

enabled on the interface

or RTP Priority shaping queues

 

 

placed in higher-priority queue

 

 

 

 

 

 

Foundation Summary 533

 

 

 

 

Table 7-22 Comparisons Between MLP LFI and FRF.12 (Continued)

 

 

 

 

 

 

Step in the Process

MLP LFI

FRF.12

 

 

 

 

 

Number of interface output

Based on the queuing tool

2 queues, called Dual FIFO

 

queues

enabled on the interface

 

 

 

 

 

 

How queue service algorithm

Based on queuing tool’s

PQ-like algorithm, always

 

causes interleaving to occur

inherent queue service

servicing High queue over

 

 

algorithm; PQ, LLQ, and RTP

Normal queue

 

 

Priority most aggressively

 

 

 

interleave packets

 

 

 

 

 

*The popular theory disagrees with this table. The popular theory states that all unfragmented packets end up in the high-priority queue, and all fragments end up in the Normal queue.

MLP, by its very nature, fragments packets. Figure 7-23 shows what really happens.

Figure 7-23 MLP Bundle with 3 Active Links—What Does Happen

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

500 (Frag 1)

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

500 (Frag 2)

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

R1

 

 

 

 

 

 

R2

100

 

1500

 

 

 

 

 

 

 

 

 

 

 

 

100

 

1500

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

500 (Frag 3)

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Tables 7-23 and 7-24 list the pertinent configuration and show commands for MLP interleaving, respectively.

Table 7-23 Configuration Command Reference for MLP Interleaving

Command

Mode and Function

 

 

ppp multilink [bap]

Interface configuration mode; enables multilink PPP on the interface,

 

dialer group, or virtual template

 

 

ppp multilink interleave

Interface configuration mode; enables interleaving of unfragmented

 

frames with fragments of larger frames

 

 

ppp multilink fragment

Interface configuration mode; enables MLP fragmentation, and defines

delay time

fragment size, with formula bandwidth/time

 

 

ppp multilink fragment

Interface configuration mode; disables MLP fragmentation

disable

 

 

 

ppp multilink group

Interface configuration mode; links a physical interface to a dialer group

group-number

or virtual template

 

 

534 Chapter 7: Link-Efficiency Tools

Table 7-24 Exec Command Reference for MLP Interleaving

Command

Function

 

 

show ppp multilink

Lists information about the active links currently in

 

the same MLP bundle

 

 

show interfaces

Lists statistics and status about each interface,

 

including multilink virtual interfaces

 

 

show queueing [interface atm-subinterface

Lists configuration and statistical information about

[vc [[vpi/] vci]]]

the queuing tool on an interface

 

 

Tables 7-25 and 7-26 list the configuration and show commands for Frame Relay fragmentation, respectively.

Table 7-25 Command Reference for Frame Relay Fragmentation

 

Command

Mode and Function

 

 

 

 

frame-relay traffic-shaping

Interface subcommand; enables FRTS on the

 

 

interface.

 

 

 

 

class name

Interface DLCI subcommand; enables a specific

 

 

FRTS map-class for the DLCI.

 

 

 

 

frame-relay class name

Interface or subinterface command; enables a specific

 

 

FRTS map-class for the interface or subinterface.

 

 

 

 

map-class frame-relay map-class-name

Global Configuration mode; Names a map-class, and

 

 

places user in map-class configuration mode

 

 

 

 

frame-relay fragment fragment_size

Map-class configuration mode; enables FRF.12 for

 

 

VCs using this class

 

 

 

Table 7-26 Exec Command Reference for Frame Relay Fragmentation

 

 

 

 

Command

Function

 

 

 

 

show frame-relay fragment [interface

Shows fragmentation statistics

 

interface] [dlci]

 

 

 

 

 

show frame-relay pvc [interface-type

Shows statistics about overall performance of a VC

 

interface-number] [dlci]

 

 

 

 

 

show queueing [interface atm-subinterface

Lists configuration and statistical information about

 

[vc [[vpi/] vci]]]

the queuing tool on an interface

 

 

 

Figure 7-24 shows the framing when FRF.3 and FRF.11 are used, both for IP telephony traffic and for local voice gateway traffic.

Foundation Summary 535

Figure 7-24 Framing of Voice Traffic with FRF.3 and FRF.11 VCs

 

 

 

 

With Data VC

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

IP Telephone Traffic

 

 

 

 

 

 

 

 

 

 

 

FRF.3

IP

UDP

RTP

G.729

FRF.3

 

 

 

 

 

 

 

 

 

 

 

Header

Voice

Trailer

 

 

 

 

 

 

 

 

 

 

 

 

 

 

Voice Gateway Traffic

 

 

 

 

 

 

 

 

 

 

 

FRF.3

IP

UDP

RTP

G.729

FRF.3

 

 

 

 

 

 

 

IP

 

 

Header

Voice

Trailer

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

SW1

R1

T/1 R2

SW2

IP

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

 

With VoFR VC

 

 

 

 

 

 

 

 

IP Telephone Traffic

 

FRF.3

FRF.11

IP

UDP

RTP

G.729

FRF.3

 

 

 

 

 

 

Header

Header

Voice

Trailer

 

 

 

 

 

 

 

Voice Gateway Traffic

 

 

 

 

 

FRF.3

FRF.11

G.729

FRF.3

 

 

 

 

 

 

Header

Header

Voice

Trailer

 

 

 

 

 

Table 7-27 summarizes some of the key comparison points about FRF.12 and FRF.11-C.

Table 7-27 FRF.11-C and FRF.12 Comparison

Function

FRF.12 Behavior

FRF.11-C Behavior

 

 

 

Queuing option on the interface

Dual FIFO

Dual FIFO

output queues

 

 

 

 

 

Classification into the interface

Based on queuing tool used for

Voice frames placed in High

output queues

shaping, with LLQ and IP RTP

queue, all others in Normal

 

Priority putting packets into the

queue, regardless of shaping

 

high-priority queue

queue configuration

 

 

 

Fragmentation based on size, or

Based only on size; must be

Nonvoice frames fragmented,

type of packet

careful not to fragment voice

and voice frames are not,

 

packets

regardless of size

 

 

 

Frame Relay network can be

No

Yes

aware of voice vs. nonvoice

 

 

frames, and acts accordingly

 

 

 

 

 

Underlying type of VC, and

FRF.3, available from most if

FRF.11, not generally available

general public availability

not all public Frame Relay

from public Frame Relay

 

services

services