Perform the following steps to delete a Client Group on the NI CLI.
Log into the NI CLI using a terminal window or SSH client. Enter the privileged mode and then the configuration mode. For detailed information on how to enable the privileged and configuration mode, follow steps 1 - 4 in the topic Create a Client Group on the NI CLI.
The prompt changes to
npadmin@hostname(config)#on the terminal indicating that configuration mode is enabled.Type
client-groupat the terminal and press Enter.the following Client Group configuration options are displayed in the
Group(s)page on the terminal.Note
If you already have one or more Client Groups configured on the NI appliance, the prompt will display the names of all Client Groups under the
Group(s)page in ascending numerical order starting with value 0.Group(s) Page 1/1 ---------------------------------------- 0) IPSGroup_SantaClara 1) IPSGroup_SanJose 2) IPS_Group ---------------------------------------- A) Add Group #) Edit/Delete Group Q) Exit ---------------------------------------- Enter your choice:
To delete any Client Group, enter the numeric value assigned that Group in the
Group(s)page and the press Enter. In the example above, if you wish to delete the Client Group namedIPSGroup_SantaClara, you need to enter0in theEnter your choicefield and then press Enter.The Client Group specifications are displayed on the terminal.
Group: Token : a15a2efe0676defe196034f50000aea9 ---------------------------------------- 1. Name : IPSGroup_SantaClara 2. Profile : IPS_Profile_SC 3. Poll Interval(mins) : 30 4. Flow WhiteList(count) : 0 5. Metadata Engines : ['data-exfill'] 6. Home Network(count) : 0 7. PX Host(count) : 1 ---------------------------------------- #. Edit group field D. Delete the group X. Save and Return C. Cancel and Return Enter your choice:
Now, type
Dand then press Enter to delete the Client Group.Enter Y confirm the deletion of the Client Group.
Are you sure you want to delete this group?(Y/N) yThe Client Group is deleted and the following message is displayed.
Deleted group successfully Please enter to exit.
.
Pressing Enter redirects you back to the
Group(s)page.