GroupStudy.com GroupStudy.com - A virtual community of network engineers
 Home  BookStore  StudyNotes  Links  Archives  StudyRooms  HelpWanted  Discounts  Login
Traffic shaping question ---------------------- posted 02/20/2007
[Chronological Index] [Thread Index] [Top] [Date Prev][Date Next] [Thread Prev][Thread Next]


Hi Guys,

I am simulating:

Internet--fas0/0----7204router----fas0/1---------Customers..


Gold (1:1 contention)          - IP address 10.1.1.0/24
Silver (10:1 contention)       - IP add 20.1.1.0/24
bronze (50:1 contention)     - IP add 30.1.1.0/24

ip access-list extended Gold
 permit ip any 10.1.1.0 255.255.255.0

ip access-list extended silver
 permit ip any 20.1.1.0 255.255.255.0

ip access-list extended bronze
 permit ip any 30.1.1.0 255.255.255.0

!
class-map match-all Gold
  match access-group name Gold

class-map match-all Silver
  match access-group name silver

class-map match-all bronze
  match access-group name bronze

!
!
policy-map shape-all-traffic
  class gold
    bandwidth 10000
  class silver
    bandwidth 20000
  class bronze
    bandwidth 30000

  class class-default
    bandwidth 60000        <--------sum of all class
!

Interface fas0/1
service policy shape-all-traffic out


Will this work? Any comment ?

Frog...