02-03-2010 11:08 PM
Hello All,
Thanks in advance to those who even read this topic and Many thanks to those who will reply. Here is my problem:-
I have to search for devices which do not have standby ip authentication setup. I have tried multiple permutation and combinations to setup a template both basic and advanced to match the standby <group number> ip authentication command in device config. But sadly all devices show as compliant.
Can someone help me with making a template to achieve this?
Many thanks
02-04-2010 04:40 PM
Do you mean the "standby
Submode : interface [#GigabitEthernet.*#]
Body:
+ [#standby 1 authentication (md5|text) .*#]
02-04-2010 10:09 PM
Pretty close, you almost read my mind except that i would like
a) to check all physical and virtual lan interfaces.
b) to check all vlans/inetrfaces in each switch
my template is pretty much as you thought except that i am using
interface [#*#]
+ standby [#*#] authentication [#*#]
Thanks
02-05-2010 10:37 AM
Well, that will not work as you are not using proper regular expressions. Try:
Submode : interface [#(Vlan|.*Ethernet).*#]
Body:
+ [#standby \d+ authentication .*#]
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide