I am trying to scan complaince check on certain interfaces. I am interesting to check Ethernet and Fast ethernet interface and the interface number is 300,301 and 302. also from MLS switch Vlan 125,126 my question is how I can accomplish to add all requirments on sub mode.
here is what I did for one interface but I don't know how to add 301 and 302, if I use wildcard(*) may going to scan all300 interface I do want only from 300->302. interface [#.*Ethernet0/0.300-#] also no idea how to do for vlan . Thanks for any help
You will need to create one commandlet per interface to ensure that the right sub-interface has the right access-group applied.
You can use:
The same thing would work for VLANs: