PDA

View Full Version : DDR



it_email
14-08-2003, 02:35 PM
Trong chapter 9 của Exam press 640-607 có nói về 4 step của DDR.
Mọi người có thể nói rõ cho mình về quá trình này không?

1'hpSky
15-08-2003, 02:09 PM
Chào it_mail!
Quá trình config cho DDR theo một số bước nhất định. Số step còn phụ thuộc vào chủ ý người viết. Mình sẽ đưa cho bạn 6 steps cơ bản (bạn có thể gộp 2 step lại làm 1 cũng được).

Step 1: Set ISDN switch type
Step 2: Specify interesting traffic
Step 3: Specify static route
Step 4: Define the interface encapsulation and ISDN addessing parameters
Step 5: configure protocol addressing
Step 6: Define other interface information.

Từ step 1 đến 5 đọc qua chắc ai cũng hiểu, riếng bước 6 mình giải thích qua một chút:
bước 6 bạn phải cung cấp một số thông tin khác như:
#dialer idle-timeout 180
#isdn spid
#isdn answer
....

Thân

it_email
15-08-2003, 06:51 PM
Umh!nên nói rõ hơn một chút!
Có vấn đề này: trong Frame Relay: giữa hai DTE phải thoả thuận với nhau về cách thức encapsulation, vậy tại sao các Virtua circuit (VC) lại có thể encapsulation khác nhau? Chẳng phài VC là line giữa các DTE hay sao?---->Vô lí!

it_email
15-08-2003, 07:17 PM
Hỏi thêm về Compresstion: đoạn này mình không rõ,mọi người giải thìch giùm:
Compresstion can be perform on LAPB,HDLC,and PPP point-to-point serial link.The goal compresstion is reduce the number of bytes sent across the link. However, there is the price to pay for compresstion
CPU cycles possibly increase latency for the packets. The following list summarizes the trade-off when you're considering whether to use compresstion:
*More processing is required on the router to compresstion each frame, as compared with no compresstion.
*Latency per frame increaser because of the procssing required.
*Latency per frame decrease in cases in which the uncompresstion packets have waited in the output queue due to link congestion.With compressed frames.However, the queu is shorter
*Link utilization decreases
So, in cases in which the leased lines are expensive or a faster line cannot be justified, compresstion can be desirable.However, care must be taken to avoid excessive CPU utilizaation.Cisco recommends avoiding sustained CPU exceeding between 40 and 65 percent, depending on the platform.
Compresstion can be perform in software on hardware.Any IOS router canperform LAPB,HDLC, and PPP link compresstion in software.
When software compresstion is used,CPU utilization is affected.For hardware compresstion, either aVÌP card or a Compresstion Service Adapter(CSA) on a 72xx or 75xx serial router is required.When hardware compresstion is performed, the CPU is not affected.
Nên giải thích kỹ chỗ đoạn c1 dấu sao * đó!
Thế nào là STAC algorithm, Predictor algorithm và Microsoft Point -to-Point Compresstion algorithm?
Pernament virtual circuit và switch VC ,LAPF, fast swirching, optimum switching, Net Flow là sao?
Thanhs!

nmdduc
16-08-2003, 11:02 AM
Rõ ràng, mục đích chính của Compression là giảm lưu lượng data truyền trên mạng WAN. Tuy nhiên, đó chỉ là cái lợi khi truyền dữ liệu trên mạng WAN thôi, cái cần quan tâm hơn là lúc xử lý Compression tại router trước khi dữ liệu truyền trên mạng.
- Phải xử lý việc compress cho từng frame
- Khi đó sẽ sinh ra một khoảng delay nhất định cho việc sử lý đó
- Kéo theo delay do queueing
nhưng cái lợi là link utilization thấp hẳn xuống.
Thực hiện Compression phai sử dụng đến một số thuật toán cho việc compress và De-compress như STAC, Predictor ..., có thể dùng phần mềm (IOS) khi đó performance của Router có thể giảm xuống hoặc dùng phần cứng (VIP card on Cisco 72xx or 75xx router). Lưu lượng qua các router 7xxx thường rất lớn, dùng phần mền thì không ổn, nên phải có một card độc lập thực hiện việc này. Khi dùng phần cứng VIP card trên 7xxx router (NetFlow), module VIP sẽ hỗ trợ trực tiếp quá trình Compression on sending router và De-compression on receiving router.

ĐứcNM

neoII
19-08-2003, 06:18 PM
Những gì mà bạn có được khi dùng compression (bao gồm cả tốt lẫn xấu):

* Đòi hỏi nhiều hơn về xử lý trên router đế nén mỗi frame - có thể hiểu là cứ mỗi lần nén một frame là gia tăng 1 processing. (yêu cầu bộ xử lý mạnh hơn tuỳ mức độ công việc)

*Latency mỗi frame tăng lên do có quá nhiều yêu cầu processing

*Latency mỗi frame giảm trong trường hợp nào mà những packet không nén nằm chờ trong queu trong khi đường kết nối đang bị nghẽn. Với các frame được nén thì hạn chế tình trạng packet phải chờ lâu trong queu. (giống netware :lol: )

*Mức độ chiếm dụng Link giảm (do tốc độ truyền tăng)

Như vậy, trong trường hợp bạn có một đường kết nối chậm thì compression đáng để dùng. :mrgreen:

1'hpSky
19-08-2003, 06:36 PM
it_email,

VC chỉ là các đường ảo vậy thì tại sao lại không encap khác nhau được? mình chưa hiểu ý câu hỏi của bạn lắm. bạn có thể nói rõ ra không?

it_email
21-08-2003, 11:54 AM
Thế nào là STAC algorithm, Predictor algorithm và Microsoft Point -to-Point Compresstion algorithm?
Pernament virtual circuit và switch VC ,LAPF, fast swirching, optimum switching, Net Flow là sao?
Thanhs

cccp
21-08-2003, 04:25 PM
Hi
Bạn chú ý là chúng ta thường cấu hình DDR trên ISDN, nhưng (đặc biệt ở VN) chúng ta có thể cấu hình DDR để quay vào mạng PSTN,
vậy thì những bước cấu hình mà bạn nêu liên quan tới ISDN ko phải là những bước cấu hình DDR, ví dụ, Step 1: Set ISDN switch type

CCCP

quoc_anh
21-08-2003, 06:37 PM
Bạn có biết Cisco có một đặc điểm gì không? Đó là rất khoái ISDN. Theo quan điểm cá nhân của tôi thì ISDN là một điển hình làm nghèo thế giới đó!

nmdduc
21-08-2003, 07:09 PM
--------------------------------------------------------------------------------
Thế nào là STAC algorithm, Predictor algorithm và Microsoft Point -to-Point Compresstion algorithm?
Pernament virtual circuit và switch VC ,LAPF, fast swirching, optimum switching, Net Flow là sao?
Thanhs

_________________
My live is past,present,future!
Net-CCNA5-1!
Real Madrid E-commerce!


Xin đưa ra một số đường dẫn để bạn tham khảo thêm:
1. Thế nào là STAC algorithm, Predictor algorithm và Microsoft Point -to-Point Compresstion algorithm?
Compression Control Protocol (CCP)---A protocol that provides a defined method of negotiating data compression over the Point-to-Point Protocol (PPP).

Lempel-Ziv algorithm (LZ)---A compression algorithm, based on a dynamically encoded dictionary, that replaces a continuous stream of characters with codes. The symbols represented by the codes are stored in memory in a dictionary-style list. LZ-style compression is used in a number of compression algorithms, such as Stacker (STAC) compression. In contrast, statistical compression methods use a fixed and, oftentimes, a non-adaptive encoding method, which is best used where data is consistent and predictable.

Link Control Protocol (LCP)---A protocol that establishes, configures, and tests data link connections used by PPP.

Multilink PPP (MLP)---A protocol that allows packets to be fragmented, whereby the fragments can be simultaneously sent over multiple point-to-point links to the same remote address. MLP provides bandwidth on demand and reduces transmission latency across WAN links.

negative acknowledgment (NAK)---A response sent from a receiving device to a sending device indicating that the information received contained errors. Typically abbreviated as NAK.

Point-to-Point Protocol (PPP)---A protocol that encapsulates network layer protocol information over point-to-point links. The RFC for PPP is RFC 1661.

Stacker compression (STAC)---A data compression algorithm developed by STAC Electronics that is based on the LZ compression algorithm. Although effective, the STAC compression algorithm uses more CPU resources to perform compression. Cisco IOS software uses an optimized version of STAC compression.

http://www.networksorcery.com/enp/protocol/lzs.htm; http://www.faqs.org/rfcs/rfc1974.html
http://www.faqs.org/rfcs/rfc1978.html
http://www.faqs.org/rfcs/rfc2118.html
2. PVC, SVC, LAPF là các khải niệm cơ bản trong HDLC (Layer 2), có nhiều tài liệu liên quan.
3. fast swirching, optimum switching là một số mode chuyển mạch sử dụng trong các Switch L2, đã có bài đăng trên diến đàn
4. NetFlow - network flow is defined as a unidirectional sequence of packets between given source and destination endpoints. Network flows are highly granular; flow endpoints are identified both by IP address as well as by transport layer application port numbers. NetFlow also utilizes the IP Protocol type, Type of Service (ToS) and the input interface identifier to uniquely identify flows.

http://www.cisco.com/warp/public/cc/pd/iosw/ioft/neflct/tech/napps_wp.htm

ĐứcNM

it_email
23-08-2003, 02:49 PM
Lợi ích của Multiple encap trong multilink là gì?Trong Exam không nói rõ về điều này!