Skip to main content

LIFs and service policies in ONTAP 9.6 and later

Starting with ONTAP 9.6, you can assign service policies (instead of LIF roles) to LIFs that determine the kind of traffic that is supported for the LIFs. Service policies define a collection of network services supported by a LIF. ONTAP provides a set of built-in service policies that can be associated with a LIF.

ONTAP supports service policies starting with ONTAP 9.5; however, service policies can only be used to configure a limited number of services. Starting with ONTAP 9.6, LIF roles are deprecated and service policies are supported for all types of services.

Service policies for system SVMs in ONTAP 9.6

The admin SVM and any system SVM contain service policies that can be used for LIFs in that SVM, including management and intercluster LIFs. These policies are automatically created by the system when an IPspace is created. The following table lists the built-in policies for LIFs in system SVMs:
PolicyIncluded servicesEquivalent roleDescription
default-interclusterintercluster-coreinterclusterUsed by LIFs carrying intercluster traffic.
Note
Available from ONTAP 9.5 with the name net-intercluster service policy.
default-route-announcemanagement-bgp-Used by LIFs carrying BGP peer connections
Note
Available from ONTAP 9.5 with the name net-route-announce service policy.
default-managementmanagement-core, management-ssh, management-https, management-autosupportnode-mgmt, or cluster-mgmtUsed by LIFs handling management requests

The following table lists the services that can be used on a system SVM along with any restrictions each service imposes on a LIF's failover-policy:

ServiceFailover limitationsDescription
intercluster-corehome-node-onlyCore intercluster services
management-core-Core management services
management-ssh-Services for SSH management access
management-https-Services for HTTPS management access
management-autosupport-Services related to posting AutoSupport payloads
management-bgphome-port-onlyServices related to BGP peer interactions

Service policies for data SVMs in ONTAP 9.6

All data SVMs contain service policies that can be used by LIFs in that SVM. The following table lists the built-in policies for LIFs in data SVMs:

PolicyIncluded servicesEquivalent data protocolDescription
default-managementmanagement-ssh, management-httpsnoneUsed by LIFs handling management requests
default-data-blocksdata-iscsiiscsiUsed by LIFs carrying block-oriented SAN data traffic
default-data-filesdata-nfs, data-cifs, data-flexcachenfs, cifs, fcacheUsed by LIFs carrying file-oriented NAS data traffic

The following table lists the services that can be used on a data SVM along with any restrictions each service imposes on a LIF's failover-policy:

ServiceFailover limitationsSVM limitationsDescription
management-ssh--Services for SSH management access
management-https--Services for HTTPS management access
data-core-data-onlyCore data services
data-nfs-data-onlyProtocols related to NFS data service
data-cifs-data-onlyProtocols related to CIFS data service
data-flexcache-data-onlyProtocols related to FlexCache data service
data-iscsihome-port-onlydata-onlyProtocols related to iSCSI data service

You should be aware of how the service policies are assigned to the LIFs in data SVMs:

  • If a data SVM is created with a list of data services, the built-in default-data-files and default-data-blocks service policies in that SVM are created using the specified services.

  • If a data SVM is created without specifying a list of data services, the built-in default-data-files and default-data-blocks service policies in that SVM are created using a default list of data services.

    The default data services list includes the iSCSI, NFS, CIFS, and FlexCache services.

  • When a LIF is created with a list of data protocols, a service policy equivalent to the specified data protocols is assigned to the LIF.

    If an equivalent service policy does not exist, a custom service policy is created.

  • When a LIF is created without a list of data protocols, the default-data-files service policy is assigned to the LIF by default.