The following example creates rate-limit profiles with rate based on percentage and burst in milliseconds. You can create a policy using these rate-limit profiles and attach them to different interfaces using different parameter values.
host1#show policy-list
Policy Table
------ -----
IP Policy P
Administrative state: enable
Reference count: 2
Classifier control list: cl1, precedence 100, external parent-group epg1 parameter A
forward
Referenced by interface(s):
ATM5/0.1 input policy, statistics disabled, virtual-router default
ATM5/0.2 input policy, statistics enabled, virtual-router default
Referenced by profile(s):
None
Referenced by merge policies:
None
host1#show ip interface atm 5/0.1
IP policy input P
classifier-group data entry 1, external parent-group epg1 aggregate-node forwarding
0 packets, 0 bytes
forward
external parent-group epg1 aggregate-node forwarding
rate-limit-profile rlpData
committed rate: 500000 bps, committed burst: 8192 bytes (default)
peak rate: 5000000 bps, peak burst: 62500 bytes (default)
committed: 0 packets, 0 bytes, action: transmit conditional
conformed: 0 packets, 0 bytes, action: transmit conditional
exceeded: 0 packets, 0 bytes, action: drop
unconditional: 0 packets, 0 bytes
saturated: 0 packets, 0 bytes
host1#show ip interface atm 5/0.2
IP policy input P
classifier-group data entry 1, external parent-group epg1 aggregate-node forwarding
0 packets, 0 bytes
forward
external parent-group epg1 aggregate-node forwarding
rate-limit-profile rlpData
committed rate: 10000 bps, committed burst: 8192 bytes (default)
peak rate: 100000 bps, peak burst: 8192 bytes (default)
committed: 0 packets, 0 bytes, action: transmit conditional
conformed: 0 packets, 0 bytes, action: transmit conditional
exceeded: 0 packets, 0 bytes, action: drop
unconditional: 0 packets, 0 bytes
saturated: 0 packets, 0 bytes