network interface service-policy restore-defaults

Contributors

Restore default settings to a service policy

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

Description

The network interface service-policy restore-defaults command restores a built-in service-policy to its original state. The default list of services replaces any customizations that have been applied by an administrator. All included services will be updated to use the default allowed address list.

Parameters

-vserver <vserver name> - Vserver

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

-policy <text> - Policy Name

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

Examples

The following example shows the restoration of a service policy’s default settings.

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

1 entries were displayed.

cluster1::> network interface service-policy restore-defaults -vserver cluster1 -policy net-intercluster

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.