UNSOLVED

OG21

updated

19 years ago

O

OG21

7 Posts

0

1954

July 27th, 2007 14:00

Cisco external CLI client like Symcli

Is there an external CLI client for MDS switches. Hopefully unix based. I need to automate zone creation, VCM updates, and other sources. Is there, or how would you issue commands against the switch from a (hopefully Sun unix) management station.
  • AranH1

    2163 Posts

    407

    1

    Posted July 27th, 2007 15:00

    Good question, I don't know if you can setup that type of authentication with the switch.

    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

    407

    0

    Posted July 27th, 2007 15:00

    Yes
  • OG21

    7 Posts

    335

    0

    Posted July 27th, 2007 15:00

    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.

    OG2
  • AranH1

    2163 Posts

    450

    0

    Posted July 27th, 2007 15:00

    I am not sure what you mean by external CLI client. Are looking for something other than the CLI that is native to Cisco switches?

    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

    11 Legend

    •

    20419 Posts

    •

    87439 Points

    407

    0

    Posted July 27th, 2007 15:00

    Aran

    can you configure private key authentication on Cisco ?
  • AranH1

    2163 Posts

    335

    0

    Posted July 27th, 2007 15:00

    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.

    Cheers,
    Aran
  • AranH1

    2163 Posts

    350

    0

    Posted July 27th, 2007 15:00

    And as far as getting a listing of all zones in a text file from the switch. Telnet in using SSH or just use PuTTY and run the following:

    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

    407

    0

    Posted July 27th, 2007 15:00

    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

    An interactive CLI from a unix host.
  • OG21

    7 Posts

    407

    0

    Posted July 27th, 2007 15:00

    How would you automate several updates to the zone set of a switch?
  • dynamox

    11 Legend

    •

    20419 Posts

    •

    87439 Points

    407

    0

    Posted July 27th, 2007 15:00

    just telnet/ssh to the switch.