Traffic Shaping on Subinterfaces

Posted on 2005-04-06
Last Modified: 2008-03-06
I've got the following situation:

Router M  --------  Router T
-                         _
-                       _
-                     _
-                   _
-                 _
-              _
-           _
Router K

All are attached using frame-relay subinterfaces.

Router M:

interface serial 0

interface serial 0.1 point-to-point <----toward Router K

interface serial 0.2 point-to-point <-----toward Router T

Everything configuration wise is correct concerning the frame links between the sites.  The problem is that Router T has a full T1 link, and Router M has a full T1 link.  Router K, on the other hand, is a whopping 64K link.  Obviously, you see my problem.  

I've done frame-relay traffic shaping on physical interfaces before.  So, I guess I have a couple of questions:

1) Can this be done (traffic shaping) on subinterfaces.  I've only done it using physical interfaces, and I thought that you can only apply the class under the physical interface to make it work (I could be wrong on this).

2) Regardless of if it can be done or not, what is the best course of action.  The Router K site only has two users so upgrading to a full T1 is not economically feasible, but I'm open to any suggestion.  

Question by:neowolf219
    LVL 19

    Expert Comment

    1) Yes you can use traffic shaping on subinterfaces.
    You need to enter the command
     frame-relay traffic-shaping
    at the interface level but you can use the traffic-shaping commands at the subinterface or PVC level

    2) Are you currently experiencing much traffic congestion problems with the router K circuit?  If so then the traffic-shaping should benefit you
    LVL 3

    Author Comment

    Hey nodisco,

    Yeah, I just figured out that you can do that.  If I enable traffic shaping just going to Router K, must I also do so going to Router T.  I can't remember or not, but it seems that once I enable traffic shaping it sets the line to a default of 64k.  I'm I wrong on this.  

    I just need information on how this will affect traffic flow toward Router T as well.

    Appreciate the response!
    LVL 19

    Accepted Solution

    If you enable traffic shaping on Router T (with the T1 connection) on its PVC to Router K, you can help stop congestion before it starts.
    Remember that you only have one low bandwidth link - its only on this pvc that you really need the congestion control.

    When you have it setup run the command
    show traffic-shape statistics
    and it will show you what traffic and how much of it is affected by the shaping policy you create.

    Have a look at this link for some more info

    good luck

    Featured Post

    What Security Threats Are You Missing?

    Enhance your security with threat intelligence from the web. Get trending threat insights on hackers, exploits, and suspicious IP addresses delivered to your inbox with our free Cyber Daily.

    Join & Write a Comment

    Problem Description:   Couple of months ago we upgraded the ADSL line at our branch office from Home to Business line. The purpose of transforming the service to have static public IP’s. We were in need for public IP’s to publish our web resour…
    Tired of waiting for your show or movie to load?  Are buffering issues a constant problem with your internet connection?  Check this article out to see if these simple adjustments are the solution for you.
    After creating this article (, I decided to make a video (no audio) to show you how to configure the routers and run some trace routes and pings between the 7 sites…
    After creating this article (, I decided to make a video (no audio) to show you how to configure the routers and run some trace routes and pings between the 7 sites…

    728 members asked questions and received personalized solutions in the past 7 days.

    Join the community of 500,000 technology professionals and ask your questions.

    Join & Ask a Question

    Need Help in Real-Time?

    Connect with top rated Experts

    17 Experts available now in Live!

    Get 1:1 Help Now