interface Hssi0/0/0 description 45Mbps to R2 rate-limit output access-group 101 20000000 24000 32000 conform-action set-prec- transmit 5 exceed-action set-prec-transmit 0 rate-limit output access-group 102 10000000 24000 32000 conform-actio

interface Hssi0/0/0

description 45Mbps to R2

rate-limit output access-group 101 20000000 24000 32000 conform-action set-prec-

transmit 5 exceed-action set-prec-transmit 0

rate-limit output access-group 102 10000000 24000 32000 conform-action

set-prec-transmit 5 exceed-action drop

rate-limit output 8000000 16000 24000 conform-action set-prec-transmit 5

exceed-action drop

ip address 10.1.0.9 255.255.255.0

!

access-list 101 permit tcp any any eq www

access-list 102 permit tcp any any eq ftp

To verify the configuration and monitor CAR statistics, use the show interfaces rate-limit command:

Router# show interfaces hssi 0/0/0 rate-limit

Hssi0/0/0 45Mbps to R2

Input

matches: access-group 101

params: 20000000 bps, 24000 limit, 32000 extended limit

conformed 3 packets, 189 bytes; action: set-prec-transmit 5

exceeded 0 packets, 0 bytes; action: set-prec-transmit 0

last packet: 309100ms ago, current burst: 0 bytes

last cleared 00:08:00 ago, conformed 0 bps, exceeded 0 bps

matches: access-group 102

params: 10000000 bps, 24000 limit, 32000 extended limit

conformed 0 packets, 0 bytes; action: set-prec-transmit 5

exceeded 0 packets, 0 bytes; action: drop

last packet: 19522612ms ago, current burst: 0 bytes

last cleared 00:07:18 ago, conformed 0 bps, exceeded 0 bps

matches: all traffic

params: 8000000 bps, 16000 limit, 24000 extended limit

conformed 5 packets, 315 bytes; action: set-prec-transmit 5

exceeded 0 packets, 0 bytes; action: drop

last packet: 9632ms ago, current burst: 0 bytes

last cleared 00:05:43 ago, conformed 0 bps, exceeded 0 bps

09-18 11:13