Skip to main content
lessing
New Member
November 15, 2020
Solved

Remove IP Address from a Group via CLI command

  • November 15, 2020
  • 2 replies
  • 13995 views

Hi,

 

I want to remove an IP Address from a Group and them delete that IP via CLI command, I try with the command exclude member but after exclude the member does not permit to delete the IP via CLI.

 

There is a way to do that via CLI?.

 

Regards,

    Best answer by lobstercreed

    Perhaps I'm misunderstanding you because I don't think there is an "exclude" command where I'm talking about, but if you mean an address group (config firewall addrgrp), the command to add members to the group is "append member <address name>" and the command to remove members from the group is "unselect member <address name>"

     

    If this is the only reference to that address, then you should be able to switch config modes to config firewall address and then "delete <address name>"

    2 replies

    lobstercreed
    New Member
    November 15, 2020

    Perhaps I'm misunderstanding you because I don't think there is an "exclude" command where I'm talking about, but if you mean an address group (config firewall addrgrp), the command to add members to the group is "append member <address name>" and the command to remove members from the group is "unselect member <address name>"

     

    If this is the only reference to that address, then you should be able to switch config modes to config firewall address and then "delete <address name>"

    lessing
    lessingAuthor
    New Member
    November 16, 2020

    Hi,

     

    Works with that commands.

    Thank you.

    Regards,

    Thought Leadership Security Summit. Outpace New Threats with AI - enhanced defense. Tuesday, Septmeber 15, 8:30 AM - 2:30 PM PT. The Golf Club at Newcastle, WA.
    Fortinet Flag the Hack. Wednesday, August 26, 9:00 AM - 5:00 PM ET, COSM, Atlanta, GA.
    Virtual event | September 2026. SASE summit. The age of autonomous trust. Register here!