<?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: How to make set adv, priv, diag with the rest of the command into one line of commnad. in ONTAP Discussions</title>
    <link>https://community.netapp.com/t5/ONTAP-Discussions/How-to-make-set-adv-priv-diag-with-the-rest-of-the-command-into-one-line-of/m-p/171960#M39530</link>
    <description>&lt;P&gt;I would strongly recommend to not run all as set diag. Diag mode has a number of things that are different on some commands and can cause you trouble. You should always go for least privilege needed.&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Wed, 24 Nov 2021 14:24:02 GMT</pubDate>
    <dc:creator>akiendl</dc:creator>
    <dc:date>2021-11-24T14:24:02Z</dc:date>
    <item>
      <title>How to make set adv, priv, diag with the rest of the command into one line of commnad.</title>
      <link>https://community.netapp.com/t5/ONTAP-Discussions/How-to-make-set-adv-priv-diag-with-the-rest-of-the-command-into-one-line-of/m-p/171942#M39518</link>
      <description>&lt;P&gt;Hi All. I just wanted to find out if they can make the 'set [mode]' command with the rest of the command into one line of command. We are trying to monitor with the automated script so for them it would be a struggle if they have to separate those two lines when running the script.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Would there be someway they can cheat or work around the way ?&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Best,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 04 Jun 2025 10:08:20 GMT</pubDate>
      <guid>https://community.netapp.com/t5/ONTAP-Discussions/How-to-make-set-adv-priv-diag-with-the-rest-of-the-command-into-one-line-of/m-p/171942#M39518</guid>
      <dc:creator>sangyoon</dc:creator>
      <dc:date>2025-06-04T10:08:20Z</dc:date>
    </item>
    <item>
      <title>Re: How to make set adv, priv, diag with the rest of the command into one line of commnad.</title>
      <link>https://community.netapp.com/t5/ONTAP-Discussions/How-to-make-set-adv-priv-diag-with-the-rest-of-the-command-into-one-line-of/m-p/171944#M39520</link>
      <description>&lt;P&gt;Hello&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;You should be able to use the ";" to separate multiple commands . As for the set command you can use the -c (confirmation) set to off.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Per example:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;cluster::&amp;gt; set diag -c off; cluster ring show&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Hope this answer your question.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 24 Nov 2021 03:01:24 GMT</pubDate>
      <guid>https://community.netapp.com/t5/ONTAP-Discussions/How-to-make-set-adv-priv-diag-with-the-rest-of-the-command-into-one-line-of/m-p/171944#M39520</guid>
      <dc:creator>hmoubara</dc:creator>
      <dc:date>2021-11-24T03:01:24Z</dc:date>
    </item>
    <item>
      <title>Re: How to make set adv, priv, diag with the rest of the command into one line of commnad.</title>
      <link>https://community.netapp.com/t5/ONTAP-Discussions/How-to-make-set-adv-priv-diag-with-the-rest-of-the-command-into-one-line-of/m-p/171959#M39529</link>
      <description>&lt;P&gt;Correct. And don't worry about doing set admin/adv/diag. Just run them all from set diag.&lt;/P&gt;</description>
      <pubDate>Wed, 24 Nov 2021 14:16:57 GMT</pubDate>
      <guid>https://community.netapp.com/t5/ONTAP-Discussions/How-to-make-set-adv-priv-diag-with-the-rest-of-the-command-into-one-line-of/m-p/171959#M39529</guid>
      <dc:creator>parisi</dc:creator>
      <dc:date>2021-11-24T14:16:57Z</dc:date>
    </item>
    <item>
      <title>Re: How to make set adv, priv, diag with the rest of the command into one line of commnad.</title>
      <link>https://community.netapp.com/t5/ONTAP-Discussions/How-to-make-set-adv-priv-diag-with-the-rest-of-the-command-into-one-line-of/m-p/171960#M39530</link>
      <description>&lt;P&gt;I would strongly recommend to not run all as set diag. Diag mode has a number of things that are different on some commands and can cause you trouble. You should always go for least privilege needed.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 24 Nov 2021 14:24:02 GMT</pubDate>
      <guid>https://community.netapp.com/t5/ONTAP-Discussions/How-to-make-set-adv-priv-diag-with-the-rest-of-the-command-into-one-line-of/m-p/171960#M39530</guid>
      <dc:creator>akiendl</dc:creator>
      <dc:date>2021-11-24T14:24:02Z</dc:date>
    </item>
    <item>
      <title>Re: How to make set adv, priv, diag with the rest of the command into one line of commnad.</title>
      <link>https://community.netapp.com/t5/ONTAP-Discussions/How-to-make-set-adv-priv-diag-with-the-rest-of-the-command-into-one-line-of/m-p/171962#M39532</link>
      <description>&lt;P&gt;I agree.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 24 Nov 2021 15:58:41 GMT</pubDate>
      <guid>https://community.netapp.com/t5/ONTAP-Discussions/How-to-make-set-adv-priv-diag-with-the-rest-of-the-command-into-one-line-of/m-p/171962#M39532</guid>
      <dc:creator>paul_stejskal</dc:creator>
      <dc:date>2021-11-24T15:58:41Z</dc:date>
    </item>
    <item>
      <title>Re: How to make set adv, priv, diag with the rest of the command into one line of commnad.</title>
      <link>https://community.netapp.com/t5/ONTAP-Discussions/How-to-make-set-adv-priv-diag-with-the-rest-of-the-command-into-one-line-of/m-p/171964#M39534</link>
      <description>&lt;P&gt;When&amp;nbsp; using the CLI, sure. But when scripting them out, it doesn't really matter. You're not going to tab complete yourself into trouble. You'll run the same command you would in admin priv, just at diag level and it won't vary.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Diag commands are only different because you have extra flags you can run. They're not different simply because they're in diag priv.&lt;/P&gt;</description>
      <pubDate>Wed, 24 Nov 2021 16:04:37 GMT</pubDate>
      <guid>https://community.netapp.com/t5/ONTAP-Discussions/How-to-make-set-adv-priv-diag-with-the-rest-of-the-command-into-one-line-of/m-p/171964#M39534</guid>
      <dc:creator>parisi</dc:creator>
      <dc:date>2021-11-24T16:04:37Z</dc:date>
    </item>
  </channel>
</rss>

