I am trying to create a very basic template in compliance manager that checks for interfaces that aren't members of specific VLANs. VLAN 10 being one of them. I want to match interfaces assigned to VLAN 20. According to the documentation I have read, the following range statement should work because 10 falls between 3 and 19:
Submode: interface [#.*Ethernet.*#]
- switchport access vlan [#[3-19]#]
With the preceeding statement, however, interfaces assigned to both VLAN 10 and VLAN 20 are matching the rule. If I comment out the above rule, and just specify VLAN 10 using the following, the check works correctly:
Submode: interface [#.*Ethernet.*#]
- switchport access vlan 10
With this specific rule (not a range), only interfaces w/VLAN 20 are processed by the template, which is expected.
We actually have numerous VLANs that we want to exclude/include. I only mentioned VLANs 10 and 20 for brevity.
Anyone have any idea what is wrong with the statement?
Thanks in advance.
-Erik