Deleting Security-Policy Rules from CLI

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Deleting Security-Policy Rules from CLI

L0 Member

I'm trying to find a way to mass delete a couple of rules from the CLI. Is there a way to do this?

I know you can run something like:

 

> show running security-policy | match Minemeld|MineMeld

But I have not found a way to actually remove one of the matches the command above returns.

1 REPLY 1

L2 Linker

that command will show you the policy in data plane. You can't delete them.

You can go to config mode as below and display the rules and then use delete command to delete rules.

For copying and pasting more commands, use "scripting-mode" cli command.

 

 

>set cli config-output-format set
>configure
#show rulebase security

 

Like what you see?

Show your appreciation!

Click Like if a post is helpful to you or if you just want to show your support.

Click Accept as Solution to acknowledge that the answer to your question has been provided.

The button appears next to the replies on topics you’ve started. The member who gave the solution and all future visitors to this topic will appreciate it!

These simple actions take just seconds of your time, but go a long way in showing appreciation for community members and the LIVEcommunity as a whole!

The LIVEcommunity thanks you for your participation!