The following precedence rules pertain to the use of DSCP/dot1p classification policies and DEI profile assignment:
Assigning a profile using an IP DSCP/dot1p classification policy has precedence over assigning a profile using DEI bits. That is, if both a DEI-based initial profile assignment and a DSCP-based initial profile assignment are enabled on a port, the profile assigned by DSCP/dot1p-classification policy takes precedence for IP and non-IP packets, respectively.
The CLI command to enable DEI-based profile assignment (configure>port> ethernet>enable-dei) can be used to assign a profile for SAPs configured to use CAM-based classification entries:
A port can have a mix of SAPs with some SAPs configured to use DEI for profile assignment with CAM-based classification and other SAPs configured to use table-based classification for both FC and profile assignment.
The enable-dei command does not affect SAPs that use table-based classification. That is, a profile assignment for SAPs configured to use table-based classification always uses a DSCP or dot1p classification policy.