[racktables-users] Re: Cisco Switch Management

  • From: Denis Ovsienko <infrastation@xxxxxxxxx>
  • To: racktables-users@xxxxxxxxxxxxx
  • Date: Fri, 09 Apr 2010 10:38:57 +0400

08.04.10, 20:55, "Jeff Orr" <JOrr@xxxxxxxxxxxxxx>:
> Hello All,
>  
> First off all thanks to those who spend their time writing racktables. It is 
> much appreciated.
>  
> Secondly, I have a very large number of Cisco switches and I was wondering 
> how to get the cisco secret file to allow me to only put one entry in for all 
> switches. I can get Racktables to show the vlans on a switch if I enter the 
> switch name in the secrets file by its exact name. However, since all 
> switches have a common username/pass for read only management I would like 
> racktables to use the same account to connect to each.

In the cisco.secrets.php file switch name (endpoint) is a regex. Instead of 
putting two lines for "switch-one" and "switch-two" you could put "switch-*" 
and that would match all of them.

-- 
 Denis Ovsienko

Other related posts: