Skip to main content
lessing
New Member
Nov 15, 2020 12:28 PM UTC
Solved

Remove IP Address from a Group via CLI command

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,

    lobstercreed
    New Member
    Nov 15, 2020 2:41 PM UTC

    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
    Nov 15, 2020 2:41 PM UTC

    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
    Nov 16, 2020 3:15 PM UTC

    Hi,

     

    Works with that commands.

    Thank you.

    Regards,

    Thought Leadership. Security Summit. Thursday, November 12th, PGA National Resort, Palm Beach Gardens, FL.
    Security Operations Summit: Modernize SecOps. Operate AI-Native.AMER: November 4 | 9:00 AM PST. India and SAARC: November 5 | 10:00 AM IST. EMEA: November 5 | 10:30 AM CET. APAC: November 5 | 11:00 AM SGT