Skip to main content
A newer release of this product is available.

network interface service-policy delete

Contributors
Suggest changes

Delete an existing service policy

Availability: This command is available to cluster administrators at the advanced privilege level.

Description

The network interface service-policy delete command deletes an existing service policy.

Parameters

-vserver <vserver name> - Vserver

Use this parameter to specify the name of the Vserver of the service policy to be deleted.

-policy <text> - Policy Name

Use this parameter to specify the name of the service policy to be deleted.

Examples

The following example shows the deletion of a service policy.

cluster1::> network interface service-policy show
Vserver   Policy                 Service: Allowed Addresses
--------- ---------------------- ------------------------------------------
cluster1
          empty                  -
net-intercluster       intercluster-core: 0.0.0.0/0

2 entries were displayed.

cluster1::> network interface service-policy delete -vserver cluster1 -policy empty

cluster1::> network interface service-policy show
Vserver   Policy                 Service: Allowed Addresses
--------- ---------------------- ------------------------------------------
cluster1  net-intercluster       intercluster-core: 0.0.0.0/0

1 entries were displayed.