Rate Limit Interface

Hard rate limit an interface to 10Mbps

interface GigabitEthernet0/0.10
 rate-limit input 10000000 64000 64000 conform-action transmit exceed-action drop
 rate-limit output 10000000 64000 64000 conform-action transmit exceed-action drop

Hard rate limit an interface to 5Mbps

interface GigabitEthernet0/0.5
 rate-limit input 5000000 32000 32000 conform-action transmit exceed-action drop
 rate-limit output 5000000 32000 32000 conform-action transmit exceed-action drop