interface FastEthernet0/1/0 description #### AMD_VSNL 70 MBPS ### bandwidth 70000 no ip redirects no ip unreachables no ip directed-broadcast no ip proxy-arp ip pim sparse-dense-mode ip route-cache flow input service-policy output ABHAY ==================================== class-map match-any ControlClass description [NETWORK - IP Prec=6,7, MPLS=6,7] match ip precedence 6 match mpls experimental 6 match ip precedence 7 match mpls experimental 7 class-map match-any PremiumClass description [VPREMIUM - IP Prec=5, MPLS=5] match ip precedence 5 match mpls experimental 5 class-map match-any GoldClass description [GOLD - IP Prec=4,3 MPLS=4,3] match ip precedence 3 4 match mpls experimental 3 4 class-map match-any SilverClass description [SILVER - IP Prec=2,1 MPLS=2,1] match ip precedence 1 2 match mpls experimental 1 2 ! ! policy-map ABHAY class GoldClass bandwidth percent 2 random-detect random-detect precedence 3 1000 packets 2000 packets 10 random-detect precedence 4 2000 packets 4000 packets 200 class SilverClass bandwidth percent 3 random-detect random-detect precedence 1 1000 packets 2000 packets 10 random-detect precedence 2 2000 packets 4000 packets 200 class PremiumClass bandwidth percent 5 class ControlClass bandwidth percent 20 class class-default bandwidth percent 70 random-detect random-detect precedence 0 1500 packets 3000 packets 100 ============================================================== sh policy-map interface f0/1/0 output FastEthernet0/1/0 Service-policy output: ABHAY (226) Class-map: GoldClass (match-any) (3676609/8) 11110439 packets, 3702692205 bytes 5 minute offered rate 9000 bps, drop rate 0 bps Match: ip precedence 3 4 (11669410) Match: mpls experimental 3 4 (5956546) Class of service queue: 1 Queue-limit: 8192 packets (default) Threshold drop 0 pkts, 0 bytes Current queue-depth: 0 packets, Maximum queue-depth: 43 packets Average queue-depth: 0.000 packets Bandwidth: 2000 kbps >>>>>>>>>>>>>>>>>>>>>>>>>>This bandwidth must be 2% of 70Mbps (Interface bandwidth). But showing 2% of 100Mbps. Random-detect: precedence-based Precedence RED Label Minimum Maximum Mark threshold threshold probability 0 0 262143 262143 1 1 0 262143 262143 1 2 0 262143 262143 1 3 1 976 2000 1 4 2 1952 4000 1 5 0 262143 262143 1 6 0 262143 262143 1 7 0 262143 262143 1 Random-detect statistics Minimum Maximum Random Threshold Threshold Threshold Drops Drops 976 2000 0 pkts 0 pk ts 0 bytes 0 by tes 1952 4000 0 pkts 0 pk ts 0 bytes 0 by tes Class-map: SilverClass (match-any) (6166609/9) 17640671 packets, 5353435203 bytes 5 minute offered rate 10000 bps, drop rate 0 bps Match: ip precedence 1 2 (13809106) Match: mpls experimental 1 2 (12762274) Class of service queue: 2 Queue-limit: 8192 packets (default) Threshold drop 0 pkts, 0 bytes Current queue-depth: 0 packets, Maximum queue-depth: 0 packets Average queue-depth: 0.000 packets Bandwidth: 3000 kbps >>>>>>>>>>>>>>>>>>>>>>>>>>This bandwidth must be 3% of 70Mbps (Interface bandwidth). But showing 3% of 100Mbps. Random-detect: precedence-based Precedence RED Label Minimum Maximum Mark threshold threshold probability 0 0 262143 262143 1 1 1 976 2000 1 2 2 1952 4000 1 3 0 262143 262143 1 4 0 262143 262143 1 5 0 262143 262143 1 6 0 262143 262143 1 7 0 262143 262143 1 Random-detect statistics Minimum Maximum Random Threshold Threshold Threshold Drops Drops 976 2000 0 pkts 0 pk ts 0 bytes 0 by tes 1952 4000 0 pkts 0 pk ts 0 bytes 0 by tes Class-map: PremiumClass (match-any) (3267217/7) 62435382 packets, 10502353932 bytes 5 minute offered rate 6000 bps, drop rate 0 bps Match: ip precedence 5 (3101122) Match: mpls experimental 5 (5989106) Class of service queue: 3 Queue-limit: 1024 packets (default) Threshold drop 0 pkts, 0 bytes Current queue-depth: 0 packets, Maximum queue-depth: 14 packets Average queue-depth: 0.000 packets Bandwidth: 5000 kbps Class-map: ControlClass (match-any) (532385/10) 596894593 packets, 137006243784 bytes 5 minute offered rate 428000 bps, drop rate 0 bps Match: ip precedence 6 (4887554) Match: mpls experimental 6 (2381090) Match: ip precedence 7 (4887810) Match: mpls experimental 7 (2381346) Class of service queue: 4 Queue-limit: 4096 packets (default) Threshold drop 245089 pkts, 23399099 bytes Current queue-depth: 0 packets, Maximum queue-depth: 2345 packets Average queue-depth: 0.000 packets Bandwidth: 20000 kbps >>>>>>>>>>>>>>>>>>>>>>>>>>This bandwidth must be 20% of 70Mbps (Interface bandwidth). But showing 20% of 100Mbps. Class-map: class-default (match-any) (9306145/0) 2155632293 packets, 887743607750 bytes 5 minute offered rate 6758000 bps, drop rate 0 bps Match: any (412178) Class of service queue: 0 Queue-limit: 8192 packets (default) Threshold drop 0 pkts, 0 bytes Current queue-depth: 0 packets, Maximum queue-depth: 2978 packets Average queue-depth: 0.000 packets Bandwidth: 70000 kbps Random-detect: precedence-based Precedence RED Label Minimum Maximum Mark threshold threshold probability 0 1 1976 3000 1 1 0 262143 262143 1 2 0 262143 262143 1 3 0 262143 262143 1 4 0 262143 262143 1 5 0 262143 262143 1 6 0 262143 262143 1 7 0 262143 262143 1 Random-detect statistics Minimum Maximum Random Threshold Threshold Threshold Drops Drops 1976 3000 22546 pkts 0 pk ts 1921528 bytes 0 by tes