Cisco Support Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Announcements

Welcome to Cisco Support Community. We would love to have your feedback.

For an introduction to the new site, click here. And see here for current known issues.

New Member

Standby ip and Template

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

Everyone's tags (1)
3 REPLIES
Cisco Employee

Re: Standby ip and Template

Do you mean the "standby authentication " command?  It would be helpful to see a current running config to know exactly what you want to match on.  I'd also like to see one of your existing templates to get a better idea what you're trying to do.  In my head, I'm picturing something like:

Submode : interface [#GigabitEthernet.*#]

Body:

+ [#standby 1 authentication (md5|text) .*#]

New Member

Re: Standby ip and Template

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

Cisco Employee

Re: Standby ip and Template

Well, that will not work as you are not using proper regular expressions.  Try:

Submode : interface [#(Vlan|.*Ethernet).*#]

Body:

+ [#standby \d+ authentication .*#]

204
Views
0
Helpful
3
Replies
CreatePlease login to create content