<?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: VLAN interface names must adhere to the following format: &amp;quot;&amp;lt;port name&amp;gt;-&amp;lt;vlan id&amp;amp;am in Active IQ Unified Manager Discussions</title>
    <link>https://community.netapp.com/t5/Active-IQ-Unified-Manager-Discussions/VLAN-interface-names-must-adhere-to-the-following-format-quot-lt-port-name-gt-lt/m-p/118292#M21065</link>
    <description>&lt;P&gt;Yes I have already referred that. But i found that more confusing. Example has not been given properly. &amp;nbsp;So I put another question on community on that and got resolved. This was the issue with Split function which i was using. That was creating some issue. But Then i found some alternative to that.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Previously customer wanted to keep input as VlanName (e.g e0c-1111). So I had to split the VlanName to get the port(e0c) and Vlan ID(1111). But had an issue with splitting. It was not taking value as expected.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Instead of splitting i kept it simple as below and convinced the customer for keeping Port and Vlan ID seperate.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;New-NcNetPortVlan -Node $NodeName -ParentInterface $PortName -VlanId $VlanId &amp;nbsp;-ErrorAction Stop&lt;/P&gt;</description>
    <pubDate>Thu, 14 Apr 2016 08:06:57 GMT</pubDate>
    <dc:creator>Rutul</dc:creator>
    <dc:date>2016-04-14T08:06:57Z</dc:date>
    <item>
      <title>VLAN interface names must adhere to the following format: "&lt;port name&gt;-&lt;vlan id&gt;" error in wfa</title>
      <link>https://community.netapp.com/t5/Active-IQ-Unified-Manager-Discussions/VLAN-interface-names-must-adhere-to-the-following-format-quot-lt-port-name-gt-lt/m-p/118187#M21035</link>
      <description>&lt;P&gt;Issue with this is I want to give user input as Vlan Name which will be in format for ex. a0a-1111.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;When I try to execute the below command script in wfa it gives me the error as&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#FF0000"&gt;VLAN interface names must adhere to the following format: "&amp;lt;port name&amp;gt;-&amp;lt;vlan id&amp;gt;".&lt;/FONT&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;param (&lt;BR /&gt;[parameter(Mandatory=$true, HelpMessage="Name of the Storage VLAN ID.")]&lt;BR /&gt;[string]$VlanName,&lt;/P&gt;&lt;P&gt;[parameter(Mandatory=$true, HelpMessage="Name of the Storage Cluster")]&lt;BR /&gt;[string]$Cluster,&lt;/P&gt;&lt;P&gt;[parameter(Mandatory=$true, HelpMessage="Name of the Storage Node Name.")]&lt;BR /&gt;[string]$NodeName&lt;/P&gt;&lt;P&gt;)&lt;/P&gt;&lt;P&gt;Connect-WfaCluster $Cluster&lt;/P&gt;&lt;P&gt;$vlanname=$VlanName -Split "-"&lt;BR /&gt;$vlanname[0]&lt;BR /&gt;$vlanname[1]&lt;BR /&gt;New-NcNetPortVlan -Node $NodeName -ParentInterface $vlanname[0] -VlanId $vlanname[1]&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;But at the same time when I try to execute the last 4 lines of script in powershell It is working successfully.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;What can be the issue&lt;/P&gt;</description>
      <pubDate>Wed, 04 Jun 2025 21:27:53 GMT</pubDate>
      <guid>https://community.netapp.com/t5/Active-IQ-Unified-Manager-Discussions/VLAN-interface-names-must-adhere-to-the-following-format-quot-lt-port-name-gt-lt/m-p/118187#M21035</guid>
      <dc:creator>Rutul</dc:creator>
      <dc:date>2025-06-04T21:27:53Z</dc:date>
    </item>
    <item>
      <title>Re: VLAN interface names must adhere to the following format: "&lt;port name&gt;-&lt;vlan id&amp;gt</title>
      <link>https://community.netapp.com/t5/Active-IQ-Unified-Manager-Discussions/VLAN-interface-names-must-adhere-to-the-following-format-quot-lt-port-name-gt-lt/m-p/118291#M21064</link>
      <description>&lt;P&gt;Hi Rutul:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Isn't the Powershell toolkit help clarifying your doubts.&lt;/P&gt;&lt;P&gt;I am copy pasting the same below.&lt;/P&gt;&lt;P&gt;It is also available at&amp;nbsp;http://localhost/wfa/wfa_docs/PoSH/Modules/DataONTAP/webhelp.C/cmdlet_New-NcNetPortVlan.html&lt;/P&gt;&lt;P&gt;in the machine where WFA is installed.&lt;/P&gt;&lt;P&gt;Let us know if it clarifies?&lt;/P&gt;&lt;P&gt;&amp;nbsp; Cmdlet: New-NcNetPortVlan&lt;/P&gt;&lt;PRE&gt;&lt;BR /&gt;NAME&lt;BR /&gt;    New-NcNetPortVlan&lt;BR /&gt;    &lt;BR /&gt;SYNOPSIS&lt;BR /&gt;    Create a new VLAN interface.&lt;BR /&gt;    &lt;BR /&gt;SYNTAX&lt;BR /&gt;    New-NcNetPortVlan [-Node] &amp;lt;String&amp;gt; [-VlanName] &amp;lt;String&amp;gt; [-Controller &amp;lt;NcCont&lt;BR /&gt;    roller[]&amp;gt;] [-ZapiRetryCount &amp;lt;Int32&amp;gt;] [&amp;lt;CommonParameters&amp;gt;]&lt;BR /&gt;    &lt;BR /&gt;    New-NcNetPortVlan [-ParentInterface] &amp;lt;String&amp;gt; [-Node] &amp;lt;String&amp;gt; -VlanId &amp;lt;UInt&lt;BR /&gt;    16[]&amp;gt; [-Controller &amp;lt;NcController[]&amp;gt;] [-ZapiRetryCount &amp;lt;Int32&amp;gt;] [&amp;lt;CommonParam&lt;BR /&gt;    eters&amp;gt;]&lt;BR /&gt;    &lt;BR /&gt;    &lt;BR /&gt;DESCRIPTION&lt;BR /&gt;    Create a new VLAN interface.  The changes are persistent across reboots.&lt;BR /&gt;    &lt;BR /&gt;&lt;BR /&gt;PARAMETERS&lt;BR /&gt;    -Node &amp;lt;String&amp;gt;&lt;BR /&gt;        The node that owns the port or ifgrp.&lt;BR /&gt;        &lt;BR /&gt;        Required?                    true&lt;BR /&gt;        Position?                    2&lt;BR /&gt;        Default value                &lt;BR /&gt;        Accept pipeline input?       true (ByPropertyName)&lt;BR /&gt;        Accept wildcard characters?  false&lt;BR /&gt;        &lt;BR /&gt;    -VlanName &amp;lt;String&amp;gt;&lt;BR /&gt;        Name of vlan interface.  The name must be of the format &amp;lt;parent-inteface&lt;BR /&gt;        &amp;gt;-&amp;lt;vlanid&amp;gt;.&lt;BR /&gt;        &lt;BR /&gt;        Required?                    true&lt;BR /&gt;        Position?                    1&lt;BR /&gt;        Default value                &lt;BR /&gt;        Accept pipeline input?       true (ByPropertyName)&lt;BR /&gt;        Accept wildcard characters?  false&lt;BR /&gt;        &lt;BR /&gt;    -Controller &amp;lt;NcController[]&amp;gt;&lt;BR /&gt;        A clustered Data ONTAP controller to receive this cmdlet, as embodied by&lt;BR /&gt;         an NcController object.  This parameter is returned by the Connect-NcCo&lt;BR /&gt;        ntroller cmdlet.  If not specified, the value in the global variable Cur&lt;BR /&gt;        rentNcController is used.  In the latter case, if CurrentNcController co&lt;BR /&gt;        ntains a collection of NcController objects, this cmdlet is invoked on e&lt;BR /&gt;        ach controller in succession.&lt;BR /&gt;        &lt;BR /&gt;        Required?                    false&lt;BR /&gt;        Position?                    named&lt;BR /&gt;        Default value                &lt;BR /&gt;        Accept pipeline input?       true (ByValue, ByPropertyName)&lt;BR /&gt;        Accept wildcard characters?  false&lt;BR /&gt;        &lt;BR /&gt;    -ZapiRetryCount &amp;lt;Int32&amp;gt;&lt;BR /&gt;        &lt;BR /&gt;        &lt;BR /&gt;        Required?                    false&lt;BR /&gt;        Position?                    named&lt;BR /&gt;        Default value                &lt;BR /&gt;        Accept pipeline input?       false&lt;BR /&gt;        Accept wildcard characters?  false&lt;BR /&gt;        &lt;BR /&gt;    -ParentInterface &amp;lt;String&amp;gt;&lt;BR /&gt;        The name of the port or ifgrp to modify.&lt;BR /&gt;        &lt;BR /&gt;        Required?                    true&lt;BR /&gt;        Position?                    1&lt;BR /&gt;        Default value                &lt;BR /&gt;        Accept pipeline input?       true (ByPropertyName)&lt;BR /&gt;        Accept wildcard characters?  false&lt;BR /&gt;        &lt;BR /&gt;    -VlanId &amp;lt;UInt16[]&amp;gt;&lt;BR /&gt;        The VLAN IDs to add.  Range: [1..4094]&lt;BR /&gt;        &lt;BR /&gt;        Required?                    true&lt;BR /&gt;        Position?                    named&lt;BR /&gt;        Default value                &lt;BR /&gt;        Accept pipeline input?       true (ByPropertyName)&lt;BR /&gt;        Accept wildcard characters?  false&lt;BR /&gt;        &lt;BR /&gt;    &amp;lt;CommonParameters&amp;gt;&lt;BR /&gt;        This cmdlet supports the common parameters: Verbose, Debug,&lt;BR /&gt;        ErrorAction, ErrorVariable, WarningAction, WarningVariable,&lt;BR /&gt;        OutBuffer and OutVariable. For more information, type,&lt;BR /&gt;        "get-help about_commonparameters".&lt;BR /&gt;    &lt;BR /&gt;INPUTS&lt;BR /&gt;    &lt;BR /&gt;     &lt;BR /&gt;    &lt;BR /&gt;OUTPUTS&lt;BR /&gt;    DataONTAP.C.Types.Net.VlanInfo&lt;BR /&gt;     &lt;BR /&gt;    &lt;BR /&gt;NOTES&lt;BR /&gt;    &lt;BR /&gt;    &lt;BR /&gt;        Category: net&lt;BR /&gt;        API: net-vlan-create&lt;BR /&gt;        Family: cluster&lt;BR /&gt;    &lt;BR /&gt;    --------------  Example 1 --------------&lt;BR /&gt;    &lt;BR /&gt;    C:\PS&amp;gt;New-NcNetPortVlan i0b  -Node fas3070cluster01-02 -VlanId 1,2,3&lt;BR /&gt;    &lt;BR /&gt;    &lt;BR /&gt;    Add VLAN tags 1,2,3 to ifgrp "i0b".&lt;BR /&gt;    &lt;BR /&gt;    &lt;BR /&gt;    InterfaceName  ParentInterface VlanID Node&lt;BR /&gt;     -------------  --------------- ------ ----&lt;BR /&gt;         i0b-1            i0b         1    fas3070cluster01-02&lt;BR /&gt;         i0b-2            i0b         2    fas3070cluster01-02&lt;BR /&gt;         i0b-3            i0b         3    fas3070cluster01-02&lt;BR /&gt;    &lt;BR /&gt;    &lt;BR /&gt;    --------------  Example 2 --------------&lt;BR /&gt;    &lt;BR /&gt;    C:\PS&amp;gt;New-NcNetPortVlan i0b-4 fas3070cluster01-02&lt;BR /&gt;    &lt;BR /&gt;    &lt;BR /&gt;    Create VLAN 'iob-4' to node 'fas3070cluster01-02'.&lt;BR /&gt;    &lt;BR /&gt;    &lt;BR /&gt;    InterfaceName  ParentInterface VlanID Node&lt;BR /&gt;     -------------  --------------- ------ ----&lt;BR /&gt;         i0b-4            i0b         4    fas3070cluster01-02&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 14 Apr 2016 06:42:43 GMT</pubDate>
      <guid>https://community.netapp.com/t5/Active-IQ-Unified-Manager-Discussions/VLAN-interface-names-must-adhere-to-the-following-format-quot-lt-port-name-gt-lt/m-p/118291#M21064</guid>
      <dc:creator>abhit</dc:creator>
      <dc:date>2016-04-14T06:42:43Z</dc:date>
    </item>
    <item>
      <title>Re: VLAN interface names must adhere to the following format: "&lt;port name&gt;-&lt;vlan id&amp;am</title>
      <link>https://community.netapp.com/t5/Active-IQ-Unified-Manager-Discussions/VLAN-interface-names-must-adhere-to-the-following-format-quot-lt-port-name-gt-lt/m-p/118292#M21065</link>
      <description>&lt;P&gt;Yes I have already referred that. But i found that more confusing. Example has not been given properly. &amp;nbsp;So I put another question on community on that and got resolved. This was the issue with Split function which i was using. That was creating some issue. But Then i found some alternative to that.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Previously customer wanted to keep input as VlanName (e.g e0c-1111). So I had to split the VlanName to get the port(e0c) and Vlan ID(1111). But had an issue with splitting. It was not taking value as expected.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Instead of splitting i kept it simple as below and convinced the customer for keeping Port and Vlan ID seperate.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;New-NcNetPortVlan -Node $NodeName -ParentInterface $PortName -VlanId $VlanId &amp;nbsp;-ErrorAction Stop&lt;/P&gt;</description>
      <pubDate>Thu, 14 Apr 2016 08:06:57 GMT</pubDate>
      <guid>https://community.netapp.com/t5/Active-IQ-Unified-Manager-Discussions/VLAN-interface-names-must-adhere-to-the-following-format-quot-lt-port-name-gt-lt/m-p/118292#M21065</guid>
      <dc:creator>Rutul</dc:creator>
      <dc:date>2016-04-14T08:06:57Z</dc:date>
    </item>
  </channel>
</rss>

