Return-Path: william@bourbon.usc.edu
Delivery-Date: Sat Apr 28 08:19:23 2007
X-Spam-Checker-Version: SpamAssassin 3.1.3 (2006-06-01) on merlot.usc.edu
X-Spam-Level: 
X-Spam-Status: No, score=-3.3 required=5.0 tests=ALL_TRUSTED,AWL,BAYES_00,
	NO_REAL_NAME autolearn=ham version=3.1.3
Received: from bourbon.usc.edu (bourbon.usc.edu [128.125.9.75])
	by merlot.usc.edu (8.13.5/8.13.5) with ESMTP id l3SFJNGY011756
	for <cs551@merlot.usc.edu>; Sat, 28 Apr 2007 08:19:23 -0700
Received: from bourbon.usc.edu (localhost.localdomain [127.0.0.1])
	by bourbon.usc.edu (8.13.5/8.13.5) with ESMTP id l3SFIlOJ002978
	for <cs551@merlot>; Sat, 28 Apr 2007 08:18:47 -0700
Message-Id: <200704281518.l3SFIlOJ002978@bourbon.usc.edu>
To: cs551@merlot.usc.edu
Subject: Re: traffic shaping 
Date: Sat, 28 Apr 2007 08:18:47 -0700
From: william@bourbon.usc.edu

Someone wrote:

  > When a traffic is shaped (delayed from entering a network),
  > exactly where in the boundary the event occurs? Is it
  > inside the boundary router (i.e. no tokens, queue packet up) or
  > its input port (that would seem like "drop" the packet)?

If you are asking a generic question, then anywhere is possible.
Wherever you want the traffic to be shaped, you can install a
token bucket filter.

Or are you asking just about an input port?  If you put a token
bucket filter right before an input, that would work because a
token bucket filter can has its own buffer.  (A token bucket
filter is a mathematical abstraction, it can be implemented
any way you want.)
--
Bill Cheng // bill.cheng@usc.edu <URL:http://merlot.usc.edu/william/usc/>
