I’m trying to create a compliance report rule that would look for “switchport port-security”, at the same time, I do not want it to flag “switchport mode tunnel” and other interfaces with certain descriptions. For a start, I started with the “switchport mode tunnel” filter. This is what I have:

I can’t figure out what I’m doing wrong with the regular expressions or my selections due to my lack of knowledge in Regex, it keeps flagging all interfaces with no port security, including the ones where the “switchport mode tunnel” configuration is found on the interface. I want to exclude tunnel ports.