network interface service-policy rename
Contributors
Suggest changes
- PDF of this doc site
Collection of separate PDF docs
Creating your file...
This may take a few minutes. Thanks for your patience.
Your file is ready
Rename an existing network service policy
Availability: This command is available to cluster administrators at the advanced privilege level.
Description
The network interface service-policy rename
command assigns a new name to an existing service policy without disrupting the LIFs using the policy.
Parameters
-vserver <vserver name>
- Vserver (privilege: advanced)-
Use this parameter to specify the name of the Vserver of the service policy to be renamed.
-policy <text>
- Policy Name (privilege: advanced)-
Use this parameter to specify the name of the service policy to be renamed.
-new-name <text>
- New Service Policy Name (privilege: advanced)-
Use this parameter to specify the new name for the service policy.
Examples
The following example shows the renaming of a service policy.
cluster1::> network interface service-policy show -vserver cluster1 Vserver Policy Service: Allowed Addresses --------- -------------------------- ---------------------------------------- cluster1 custom intercluster-core: 0.0.0.0/0 management-autosupport: 0.0.0.0/0 management-ssh: 0.0.0.0/0 management-https: 0.0.0.0/0 default-intercluster intercluster-core: 0.0.0.0/0 management-https: 0.0.0.0/0 default-management management-core: 0.0.0.0/0 management-autosupport: 0.0.0.0/0 management-ssh: 0.0.0.0/0 management-https: 0.0.0.0/0 default-route-announce management-bgp: 0.0.0.0/0 4 entries were displayed. cluster1::> network interface service-policy rename -vserver cluster1 -policy custom -new-name system cluster1::> network interface service-policy show -vserver cluster1 Vserver Policy Service: Allowed Addresses --------- -------------------------- ---------------------------------------- cluster1 system intercluster-core: 0.0.0.0/0 management-autosupport: 0.0.0.0/0 management-ssh: 0.0.0.0/0 management-https: 0.0.0.0/0 default-intercluster intercluster-core: 0.0.0.0/0 management-https: 0.0.0.0/0 default-management management-core: 0.0.0.0/0 management-autosupport: 0.0.0.0/0 management-ssh: 0.0.0.0/0 management-https: 0.0.0.0/0 default-route-announce management-bgp: 0.0.0.0/0 4 entries were displayed.