Mutually exclusive commands with MACsec configuration on a port

Validation

Error/Warning/Prompt

aaa port-access authenticator [ethernet] PORT-LIST

Cannot enable 802.1X authenticator on port x when MACsec is enabled on that port.

aaa port-access supplicant [ethernet] PORT-LIST

Cannot enable 802.1X authenticator on port x when MACsec is enabled on that port

aaa port-access mac-based [ethernet] PORT-LIST

Cannot enable MAC Authentication on port x when MACsec is enabled on that port

[no] aaa port-access web-based [ethernet] PORT-LIST

Cannot enable Web Authentication on port x when MACsec is enabled on that port

Mesh command

Cannot configure mesh on port x because MACsec is enabled on that port.