Thanks, I will do that. I have heard of pearl scripts, and such. But it does seem that Cisco does not have an external CLI client. Otherwise, I would have had many answers by now saying "yes they do, here is the product name." Thanks for your help.
I honestly don't know if they do and have never looked for one. Changes to the SAN fabric are not that frequent for me and the Cisco CLI or Fabric Manager GUI is fine for small changes and the CLI using config files works for large changes.
If you get a better answer to your question, post it back here. I would like to know if you find a better solution.
OK, but is there a CLI client like symcli for MDS. I agree that you can upload updates to the config of the switch, but how would you query the switch and get a listing of all zones, etc. For example on a unix host I can run the following to see if a host is logged into the FA on the frame.
symmask -sid xxxx list logins | grep host123 and get an output that I can then save to a file:
10000000c90000a Fibre host01 10000000c90000a 697563 No Yes 10000000c90000b Fibre host01 10000000c90000b 677563 No Yes
Automation my be tricky because you will be updating the running-config of the SAN-OS and then will need to copy that to the startup-config.
You can write out all your changes in a text file before hand though and simply upload that to the switch running-config. That would save the time of making all the changes interactively on the switch.
When I have had to make a lot of changes to the switch, that is what I would do. Then it is just a few short commands: uploading the config and saving the config.
Yes. Something you can script. For example you can script several allocations to the VCM though the symcli interface and then run them in a cron job. How would you do that in Cisco.
if you can make key based ssh connection to cisco, then you could try writing perl/bash scripts that would ssh to the switch and input commands for you. Worth a shot.
AranH1
2.2K Posts
1
July 27th, 2007 15:00
As far as output, you can output any text from the cli to local storage on the switch (volatile or slot0) or ftp. For example:
PXDC_MDS9509b# show flogi database > ftp:flogi_output.txt
or
PXDC_MDS9509b# show flogi database > volatile:flogi_output.txt
OG21
7 Posts
0
July 27th, 2007 15:00
OG21
7 Posts
0
July 27th, 2007 15:00
OG2
AranH1
2.2K Posts
0
July 27th, 2007 15:00
Zone modification via CLI can be done interactively or by uploading config files to the running config that contain all the changes you want to make.
dynamox
9 Legend
•
20.4K Posts
0
July 27th, 2007 15:00
can you configure private key authentication on Cisco ?
AranH1
2.2K Posts
0
July 27th, 2007 15:00
If you get a better answer to your question, post it back here. I would like to know if you find a better solution.
Cheers,
Aran
AranH1
2.2K Posts
0
July 27th, 2007 15:00
PXDC-MDS9509b# show zones vsan 20 > ftp:zones_vsan20.txt
or the following to just see the zones that are in the active zoneset:
PXDC-MDS9509b# show zoneset active vsan 20 > ftp:zones_vsan20.txt
OG21
7 Posts
0
July 27th, 2007 15:00
symmask -sid xxxx list logins | grep host123
and get an output that I can then save to a file:
10000000c90000a Fibre host01 10000000c90000a 697563 No Yes
10000000c90000b Fibre host01 10000000c90000b 677563 No Yes
An interactive CLI from a unix host.
OG21
7 Posts
0
July 27th, 2007 15:00
dynamox
9 Legend
•
20.4K Posts
0
July 27th, 2007 15:00
AranH1
2.2K Posts
0
July 27th, 2007 15:00
You can write out all your changes in a text file before hand though and simply upload that to the switch running-config. That would save the time of making all the changes interactively on the switch.
When I have had to make a lot of changes to the switch, that is what I would do. Then it is just a few short commands: uploading the config and saving the config.
OG21
7 Posts
0
July 27th, 2007 15:00
OG21
7 Posts
0
July 27th, 2007 16:00
dynamox
9 Legend
•
20.4K Posts
0
July 27th, 2007 16:00
AranH1
2.2K Posts
0
July 30th, 2007 08:00