we will need more information, interface type, egress/ingress? what type of policy?
please review the restrictions listed in the config guide
this is ncs5011, shaping on subinterfaces are not supported, please see restrictions
All QoS features currently supported on physical interfaces, are also supported on all link bundle
interfaces. Applying QoS on sub-interfaces is not supported