Rate Limiting for Static and Predefined Rules
For static and predefined rules, bandwidth limiting is achieved by the bandwidth policy configuration. Bandwidth Policy must be configured on SMF and UPF under Active Charging Service Configuration Mode.
The following is an example configuration of bandwidth policy with extended bit rate:
config
active-charging service ACS
bandwidth-policy BWP
flow limit-for-bandwidth id 1 group-id 2
flow limit-for-bandwidth id 2 group-id 3
flow limit-for-bandwidth id 100 group-id 100
group-id 2 direction uplink peak-data-rate 256000 peak-burst-size 1000 violate-action discard
group-id 3 direction downlink peak-data-rate 256000 peak-burst-size 1000 violate-action discard
group-id 4 direction uplink peak-data-rate 300000 peak-burst-size 1200 violate-action lower-ip-precedence
group-id 5 direction downlink peak-data-rate 300000 peak-burst-size 1200 violate-action
lower-ip-precedence committed-data-rate 256000 committed-burst-size 1000 exceed-action
lower-ip-precedence
group-id 100 direction downlink peak-data-rate-kbps 4294967295 peak-burst-size 4294967295 violate-action discard
group-id 100 direction uplink peak-data-rate-kbps 4294967295 peak-burst-size 4294967295 violate-action discard
exit
charging-action catchall
flow limit-for-bandwidth id 1
exit
rulebase cisco
bandwidth default-policy BWP
exit
end
Note | The modification of bandwidth-policy configuration is not supported. |