I have the same problem and till now, I dont find the solution, let me explain the situation.
We have N540-24Z8Q2C-Mand ASR 920 into our Carrier Ethernet Network, we provide, E-line over EVC to customers for instance to interconnect their branch offices, and we need to shape traffic in egress to commited rate, this is working on ASR 920, but on NCS 540 I get below message
!!% 'DNX_QOSEA' detected the 'warning' condition 'Unsupported match type for egress.'
Find below my configuration, thank you for your suggestions
! class-map match-any ANY-TRAFFIC match cos 0 1 2 3 4 5 6 7 end-class-map ! policy-map 1G class ANY-TRAFFIC shape average 10 mbps ! class class-default ! end-policy-map ! ! interface GigabitEthernet0/0/0/10 mtu 9230 ! interface GigabitEthernet0/0/0/10.200 l2transport encapsulation dot1q 200 mtu 9230 ! l2vpn xconnect group FSLNK00002 p2p FSLNK00002 interface GigabitEthernet0/0/0/15.200 neighbor ipv4 172.31.4.5 pw-id 200 ! ! !
RP/0/RP0/CPU0:host-1-ncs540(config-subif)#commit show-error Fri Nov 29 23:04:32.299 CET
% Failed to commit one or more configuration items during a pseudo-atomic operation. All changes made have been reverted. !! SEMANTIC ERRORS: This configuration was rejected by !! the system due to semantic errors. The individual !! errors with each failed configuration command can be !! found below.
interface GigabitEthernet0/0/0/10.200 l2transport service-policy output 10M !!% 'DNX_QOSEA' detected the 'warning' condition 'Unsupported match type for egress.' ! end