1# 2# a config for hierarchical sharing 3# 4 5interface pvc0 bandwidth 45M hfsc 6# 7# 10% of the bandwidth share goes to the default class 8# 9class hfsc pvc0 def_class root pshare 10 default 10# 11# bandwidth share guaranteed rate 12# CMU: 45% 15Mbps 13# MIT: 45% 15Mbps 14# 15class hfsc pvc0 cmu root grate 15M pshare 45 16class hfsc pvc0 mit root grate 15M pshare 45 17# 18# CMU bandwidth share guaranteed rate 19# CS: 20% 10Mbps 20# other: 20% 5Mbps 21# 22class hfsc pvc0 cmu_other cmu grate 10M pshare 20 23 filter pvc0 cmu_other 0 0 0 0 6 24class hfsc pvc0 cmu_cs cmu grate 5M pshare 20 25 filter pvc0 cmu_cs 0 0 172.16.4.176 0 6 26# 27# MIT bandwidth share guaranteed rate 28# CS: 20% 10Mbps 29# other: 20% 5Mbps 30# 31class hfsc pvc0 mit_other mit grate 10M pshare 20 32 filter pvc0 mit_other 0 0 0 0 17 33class hfsc pvc0 mit_cs mit grate 5M pshare 20 34 filter pvc0 mit_cs 0 0 172.16.4.176 0 17 35