How to find set of commands from multiple Interfaces using NCM Compliance

I am trying to find the highlighted commands through NCM Compliance. These commands are configured in interfaces but I don't know how to mention these strings in compliance rule So that compliance can search these commands in all interfaces and report if the commands are missing in any interface. Can anyone help me out this?

interface GigabitEthernet1/0/1

switchport access vlan 10

mab
dot1x pae authenticator

interface GigabitEthernet1/0/2

switchport access vlan 10

mab
dot1x pae authenticator

interface GigabitEthernet1/0/3

switchport access vlan 10