i have already configured for bandwidth restriction in downlink interfaces of cisco c9200 switches. it was restricted the download limit around 10 Mbps but upload limit was not restricting. Please find the below configurations and suggest me anything wrong in this configuration.
Device# configure terminal
Device(config)# class-map match-any ipclass
Device(config-cmap)# match ip dscp default
Device(config-cmap)#exit
Device(config)# policy-map flowit
Device(config-pmap)# class ipclass
Device(config-pmap-c)# police 10240000 bc 1280000
Device(config-pmap-c-police)#violation-action drop
Device(config-pmap-c-police)#exceed-action drop
Device(config-pmap-c-police)#exit
Device(config-pmap-c)# exit
Device(config-pmap)# exit
Device(config)# interface GigabitEthernet 1/0/2
Device(config-if)# service-policy input flowit
Device(config-if)# service-policy output flowit
Device(config-if)# end