<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Create Zoning on Brocade - forbidden characters ? in Active IQ Unified Manager Discussions</title>
    <link>https://community.netapp.com/t5/Active-IQ-Unified-Manager-Discussions/Create-Zoning-on-Brocade-forbidden-characters/m-p/21902#M4692</link>
    <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi, &lt;/P&gt;&lt;P&gt;already tried that, but for Brocade these commands are the same:&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #454545; font-family: Arial, Helvetica, Verdana, sans-serif; background-color: #ffffff;"&gt;alicreate Testalias, 50:01:23:3a:02:23:60:5a&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #454545; font-family: Arial, Helvetica, Verdana, sans-serif; background-color: #ffffff;"&gt;&lt;SPAN style="color: #454545; font-family: Arial, Helvetica, Verdana, sans-serif; background-color: #ffffff;"&gt;alicreate "Testalias", "50:01:23:3a:02:23:60:5a"&lt;/SPAN&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
    <pubDate>Thu, 08 Aug 2013 11:50:26 GMT</pubDate>
    <dc:creator>THORSTEN_KRAUSE</dc:creator>
    <dc:date>2013-08-08T11:50:26Z</dc:date>
    <item>
      <title>Create Zoning on Brocade - forbidden characters ?</title>
      <link>https://community.netapp.com/t5/Active-IQ-Unified-Manager-Discussions/Create-Zoning-on-Brocade-forbidden-characters/m-p/21892#M4688</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I'm currently working on a WFA-command to create zoning on our Brocade FC-Switches.&lt;/P&gt;&lt;P&gt;Login works fine and getting outputs etc.&lt;/P&gt;&lt;P&gt;For example:&lt;/P&gt;&lt;P&gt;$alias = $(Invoke-NaSsh -Name $Switch -Command $("alishow | grep " + $wwpn) -Credential $credentials)&lt;/P&gt;&lt;P&gt;--&amp;gt; this gives the desired output from the FC-Switch&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Now I want to create an alias, which fails:&lt;/P&gt;&lt;P&gt;$alicreate = $(Invoke-NaSsh -Name $Switch -Command $("alicreate Testalias, 50:01:23:3a:02:23:60:5a") -Credential $credentials)&lt;/P&gt;&lt;P&gt;--&amp;gt; $alicreate does not show any output, which would be expected when positive, but the Alias is not being created &lt;/P&gt;&lt;P&gt;I suspect the comma to be the problem here, but escaping with ` also did bring no success.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;The login credentials are correct and the command is working when directly executed without problem&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any hints on this?&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Thanks in advance!&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 05 Jun 2025 05:56:21 GMT</pubDate>
      <guid>https://community.netapp.com/t5/Active-IQ-Unified-Manager-Discussions/Create-Zoning-on-Brocade-forbidden-characters/m-p/21892#M4688</guid>
      <dc:creator>THORSTEN_KRAUSE</dc:creator>
      <dc:date>2025-06-05T05:56:21Z</dc:date>
    </item>
    <item>
      <title>Re: Create Zoning on Brocade - forbidden characters ?</title>
      <link>https://community.netapp.com/t5/Active-IQ-Unified-Manager-Discussions/Create-Zoning-on-Brocade-forbidden-characters/m-p/21897#M4690</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;Can you please try your command something like below,&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;$alicreate = $(Invoke-NaSsh -Name $Switch -Command $("alicreate `"Testalias`",`"50:01:23:3a:02:23:60:5a`"") -Credential $credentials)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Warm Regards&lt;/P&gt;&lt;P&gt;Sivaprasad K&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 08 Aug 2013 11:43:26 GMT</pubDate>
      <guid>https://community.netapp.com/t5/Active-IQ-Unified-Manager-Discussions/Create-Zoning-on-Brocade-forbidden-characters/m-p/21897#M4690</guid>
      <dc:creator>kandati</dc:creator>
      <dc:date>2013-08-08T11:43:26Z</dc:date>
    </item>
    <item>
      <title>Re: Create Zoning on Brocade - forbidden characters ?</title>
      <link>https://community.netapp.com/t5/Active-IQ-Unified-Manager-Discussions/Create-Zoning-on-Brocade-forbidden-characters/m-p/21902#M4692</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Hi, &lt;/P&gt;&lt;P&gt;already tried that, but for Brocade these commands are the same:&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #454545; font-family: Arial, Helvetica, Verdana, sans-serif; background-color: #ffffff;"&gt;alicreate Testalias, 50:01:23:3a:02:23:60:5a&lt;/SPAN&gt;&lt;/P&gt;&lt;P&gt;&lt;SPAN style="color: #454545; font-family: Arial, Helvetica, Verdana, sans-serif; background-color: #ffffff;"&gt;&lt;SPAN style="color: #454545; font-family: Arial, Helvetica, Verdana, sans-serif; background-color: #ffffff;"&gt;alicreate "Testalias", "50:01:23:3a:02:23:60:5a"&lt;/SPAN&gt;&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 08 Aug 2013 11:50:26 GMT</pubDate>
      <guid>https://community.netapp.com/t5/Active-IQ-Unified-Manager-Discussions/Create-Zoning-on-Brocade-forbidden-characters/m-p/21902#M4692</guid>
      <dc:creator>THORSTEN_KRAUSE</dc:creator>
      <dc:date>2013-08-08T11:50:26Z</dc:date>
    </item>
    <item>
      <title>Re: Create Zoning on Brocade - forbidden characters ?</title>
      <link>https://community.netapp.com/t5/Active-IQ-Unified-Manager-Discussions/Create-Zoning-on-Brocade-forbidden-characters/m-p/21907#M4694</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;Did some further testing, it must definetly be the comma, WFA seems to somehow loose the data when a comma comes up.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;I tried to use a here-string to avoid any escaping stuff, but still WFA seems to loose everything once a comma comes up even within a string&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;$myHereString = @"&lt;/P&gt;&lt;P&gt;alicreate "Testalias", "&lt;SPAN style="color: #454545; font-family: Arial, Helvetica, Verdana, sans-serif; background-color: #ffffff;"&gt;50:01:23:3a:02:23:60:5a&lt;/SPAN&gt;" ; history&lt;/P&gt;&lt;P&gt;"@&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;$alicreate = $(Invoke-NaSsh -Name $Switch -Command $($myHereString) -Credential $credentials)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;alicreate gives no output.&lt;/P&gt;&lt;P&gt;if I leave out the comma in the here string, at least a message comes back from the appended history-command that the command failed,&lt;/P&gt;&lt;P&gt;which is not the case with a comma inside.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Any hints?&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 08 Aug 2013 12:51:09 GMT</pubDate>
      <guid>https://community.netapp.com/t5/Active-IQ-Unified-Manager-Discussions/Create-Zoning-on-Brocade-forbidden-characters/m-p/21907#M4694</guid>
      <dc:creator>THORSTEN_KRAUSE</dc:creator>
      <dc:date>2013-08-08T12:51:09Z</dc:date>
    </item>
    <item>
      <title>Re: Create Zoning on Brocade - forbidden characters ?</title>
      <link>https://community.netapp.com/t5/Active-IQ-Unified-Manager-Discussions/Create-Zoning-on-Brocade-forbidden-characters/m-p/21912#M4696</link>
      <description>&lt;HTML&gt;&lt;HEAD&gt;&lt;/HEAD&gt;&lt;BODY&gt;&lt;P&gt;found the solution, it seems the command always worked, but you need to add a cfgsave or cfgenable to make the change permanent on the FC-Switch.&lt;/P&gt;&lt;P&gt;It seems on alicreate the aliases are not saved into the local flash of the FC-Switch and dropped on next logout.&lt;/P&gt;&lt;P&gt;You need to append a cfgsave/cfgenable.&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Here another hint as cfgsave requests the user to say yes/no:&lt;/P&gt;&lt;P&gt;echo yes | cfgsave&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;Here the code snippet for the ones interested:&lt;/P&gt;&lt;P&gt;#get current acitve configname&lt;/P&gt;&lt;P&gt;$config = $(Invoke-NaSsh -Name $Switch -Command $("cfgshow |grep -A1 `"Defined configuration:`" |grep cfg") -Credential $credentials)&lt;/P&gt;&lt;P&gt;$config = $config -split '\s+|\t+'&lt;/P&gt;&lt;P&gt;$config = $config[2]&lt;/P&gt;&lt;P&gt;Get-WFALogger -Info -message $("Configfile:" + $config)&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;&lt;/P&gt;&lt;P&gt;$alicreate = $(Invoke-NaSsh -Name $Switch -Command $("alicreate " + $alias + ", " + $wwpn + " ; echo yes |cfgenable " + $config) -Credential $credentials)&lt;/P&gt;&lt;P&gt;#wait 10 seconds for config to be propagated in fabric&lt;/P&gt;&lt;P&gt;Start-Sleep -s 10&lt;/P&gt;&lt;P&gt;--&amp;gt; now you have the alias defined in the fabric&lt;/P&gt;&lt;/BODY&gt;&lt;/HTML&gt;</description>
      <pubDate>Thu, 08 Aug 2013 14:17:30 GMT</pubDate>
      <guid>https://community.netapp.com/t5/Active-IQ-Unified-Manager-Discussions/Create-Zoning-on-Brocade-forbidden-characters/m-p/21912#M4696</guid>
      <dc:creator>THORSTEN_KRAUSE</dc:creator>
      <dc:date>2013-08-08T14:17:30Z</dc:date>
    </item>
  </channel>
</rss>

