Symptom
Error message %FED_QOS_ERRMSG-3-POLICER_HW_ERROR: Switch 1 R0/0: fed: Failed to update AGG policer for : code 2 seeing on the logs upon boot up or when the port goes down and up.
Conditions
-Auto QoS configured on the port.
-Port flapping.
-Speed change on the link.
-Switch boots up.
-Input and Output policy applied on the port. Removing and re-adding the output policy triggers the error.
Workaround
No workaround.
Error message is cosmetic, as the QoS policy is correctly installed in hardware.
Further Problem Description
QoS policy in hardware is installed correctly, no platform errors seeing.
To check if QoS policy is installed on the port, use below command:
show plat soft fed switch qos policy target brief
i.e:
3850A#show plat soft fed sw 1 qos policy target brief | i 1/0/3
L:1 GigabitEthernet1/0/3 0x0000000000000a OUT 8 0 0/0/8 VALID,SET_INHW 0xffe1faff08
L:1 GigabitEthernet1/0/3 0x0000000000000a IN 4 0 3/2/0 VALID,SET_INHW 0xffe27e7618