You are using the commands in the wrong order, here is what i came up with:
Name: PortSecurityAccessPort SubMode: No isPrerequisite: Yes Ordered : No Prerequisite-Commandset : none Parent: none +switchport mode access
Name: PortSecurityCMDs SubMode: ...
1) Remove the line breaks after every line
2) Match a single string, value "string" like this:
+ enable secret 5 [#.*#]
3) Match a value "string string string" value like this:
+ [#banner motd .*#]
4) It is very difficult to match a multi line comman...