Symptom
In case of having multiple traffic classes to match on different ports NCS5500 may match all other traffic classes to the first class which is configured. Example:
show policy-map interface
Class class1
Classification statistics (packets/bytes) (rate - kbps)
Matched : 3615205263/238603547358 926722 <<
Transmitted : 3615205263/238603547358 926722
Total Dropped : 0/0 0
Class class2
Classification statistics (packets/bytes) (rate - kbps)
Matched : 0/0 0 << 0
Transmitted : 0/0 0
Total Dropped : 0/0 0
class-map match-any class1
match access-group ipv6 port-match1
class-map match-any class2
match access-group ipv6 port-match2
ipv6 access-list port-match1 permit udp any eq 3283 any
ipv6 access-list port-match2 permit udp any eq 37810 any
We send traffic which matches port-match2 but on interface it hits to class1