Tetap teratur dengan koleksi
Simpan dan kategorikan konten berdasarkan preferensi Anda.
Android menyediakan dukungan untuk pemotongan jaringan 5G, penggunaan virtualisasi jaringan
untuk membagi satu koneksi jaringan menjadi beberapa koneksi virtual
yang berbeda yang menyediakan jumlah resource yang berbeda untuk berbagai
jenis traffic.
Setiap ApplicationPolicy dapat menentukan preferentialNetworkId untuk merutekan
traffic ke slice tertentu. Jika tidak ada nilai yang ditentukan, defaultPreferentialNetworkId akan digunakan.
fallbackToDefaultConnection mengonfigurasi apakah koneksi default (misalnya
jaringan seluler umum atau Wi-Fi) digunakan jika tidak ada koneksi layanan jaringan
preferensi yang tersedia.
Pemotongan jaringan 5G tidak memerlukan dukungan aplikasi, traffic jaringan akan
dirutekan berdasarkan konfigurasi. Aplikasi masih dapat memilih jaringan yang berbeda secara eksplisit, kecuali jika NON_MATCHING_NETWORKS_DISALLOWED ditetapkan.
Mulai Android 12, Admin IT dapat menggunakan preferentialNetworkService untuk
me-rutekan traffic untuk semua aplikasi yang berjalan di Profil Kerja ke slice jaringan
perusahaan tetap. Mulai Android 13, Admin IT juga dapat menggunakan
preferentialNetworkService di perangkat terkelola sepenuhnya.
Di Android 13 dan yang lebih baru, Admin IT dapat menggunakan
preferentialNetworkServiceSettings untuk mengaktifkan hingga 5 jaringan preferensi
dan menetapkan aplikasi ke jaringan tertentu.
[[["Mudah dipahami","easyToUnderstand","thumb-up"],["Memecahkan masalah saya","solvedMyProblem","thumb-up"],["Lainnya","otherUp","thumb-up"]],[["Informasi yang saya butuhkan tidak ada","missingTheInformationINeed","thumb-down"],["Terlalu rumit/langkahnya terlalu banyak","tooComplicatedTooManySteps","thumb-down"],["Sudah usang","outOfDate","thumb-down"],["Masalah terjemahan","translationIssue","thumb-down"],["Masalah kode / contoh","samplesCodeIssue","thumb-down"],["Lainnya","otherDown","thumb-down"]],["Terakhir diperbarui pada 2025-06-03 UTC."],[],[],null,["# 5G Network Slicing\n\nAndroid provides support for [5G network slicing](https://source.android.com/docs/core/connect/5g-slicing), the use of network\nvirtualization to divide single network connections into multiple distinct\nvirtual connections that provide different amounts of resources to different\ntypes of traffic.\n\nThe [`deviceConnectivityManagement.preferentialNetworkServiceSettings`](https://developers.google.com/android/management/reference/rest/v1/enterprises.policies#PreferentialNetworkServiceSettings) and\n[`preferentialNetworkService`](https://developers.google.com/android/management/reference/rest/v1/enterprises.policies#PreferentialNetworkService) settings configure 5G network slicing.\n| **Key Point:** On devices with a work profile, applications installed on the personal profile are unaffected by these policy settings and they cannot use enterprise slices.\n\nSet up\n------\n\nYou can use [`preferentialNetworkServiceSettings`](https://developers.google.com/android/management/reference/rest/v1/enterprises.policies#deviceconnectivitymanagement) to configure the\n[5 enterprise slices](https://developers.google.com/android/management/reference/rest/v1/enterprises.policies#PreferentialNetworkId). Add networks you want to enable to\n[`preferentialNetworkConfigs`](https://developers.google.com/android/management/reference/rest/v1/enterprises.policies#PreferentialNetworkServiceSettings).\n\nEach [`ApplicationPolicy`](https://developers.google.com/android/management/reference/rest/v1/enterprises.policies#ApplicationPolicy) can specify a [`preferentialNetworkId`](https://developers.google.com/android/management/reference/rest/v1/enterprises.policies#ApplicationPolicy.FIELDS.preferential_network_id) to route\ntraffic to a specific slice. If no value is specified, the\n[`defaultPreferentialNetworkId`](https://developers.google.com/android/management/reference/rest/v1/enterprises.policies#PreferentialNetworkServiceSettings) will be used instead.\n[`fallbackToDefaultConnection`](https://developers.google.com/android/management/reference/rest/v1/enterprises.policies#FallbackToDefaultConnection) configures whether the default connection (e.g.\ngeneral cell network or wifi) is used if no preferential network service\nconnection is available.\n\nYou can configure apps not to use preferential network by setting\n[`preferentialNetworkId`](https://developers.google.com/android/management/reference/rest/v1/enterprises.policies#ApplicationPolicy.FIELDS.preferential_network_id) to [`NO_PREFERENTIAL_NETWORK`](https://developers.google.com/android/management/reference/rest/v1/enterprises.policies#PreferentialNetworkId).\n\n### Application support\n\n5G network slicing does not require application support, network traffic will be\nrouted based on the configuration. Applications can still explicitly select a\ndifferent network, unless [`NON_MATCHING_NETWORKS_DISALLOWED`](https://developers.google.com/android/management/reference/rest/v1/enterprises.policies#NonMatchingNetworks) is set.\n\nEnterprise preferential networks map to [`NetworkCapabilities`](https://developer.android.com/reference/android/net/NetworkCapabilities); Specifically\n[`NET_ENTERPRISE_ID_1`](https://developer.android.com/reference/android/net/NetworkCapabilities#NET_ENTERPRISE_ID_1) through [`NET_ENTERPRISE_ID_5`](https://developer.android.com/reference/android/net/NetworkCapabilities#NET_ENTERPRISE_ID_5) map to\n[`PREFERENTIAL_NETWORK_ID_ONE`](https://developers.google.com/android/management/reference/rest/v1/enterprises.policies#PreferentialNetworkId) through [`PREFERENTIAL_NETWORK_ID_FIVE`](https://developers.google.com/android/management/reference/rest/v1/enterprises.policies#PreferentialNetworkId).\n| **Key Point:** The default network applies to all installed applications on work profile or all applications on fully managed devices, not just the ones specified in the policy.\n\n### Version support\n\nStarting from Android 12, IT Admins can use [`preferentialNetworkService`](https://developers.google.com/android/management/reference/rest/v1/enterprises.policies#PreferentialNetworkService) to\nroute traffic for all applications running in the Work Profile to a fixed\nenterprise network slice. Starting with Android 13, IT Admins can use\n[`preferentialNetworkService`](https://developers.google.com/android/management/reference/rest/v1/enterprises.policies#PreferentialNetworkService) on fully managed devices as well.\n\nOn Android 13 and later, IT Admins can use\n[`preferentialNetworkServiceSettings`](https://developers.google.com/android/management/reference/rest/v1/enterprises.policies#deviceconnectivitymanagement) to enable up to 5 preferential networks\nand assign applications to a specific network.\n| **Important:** If both `preferentialNetworkServiceSettings` and `preferentialNetworkService` are set, `preferentialNetworkServiceSettings` takes precedence on Android 13 and later.\n\nExample policy\n--------------\n\n {\n \"applications\": [\n {\n \"packageName\": \"com.example.one\",\n \"installType\": \"AVAILABLE\",\n \"preferentialNetworkId\": \"PREFERENTIAL_NETWORK_ID_TWO\"\n },\n {\n \"packageName\": \"com.example.two\",\n \"installType\": \"AVAILABLE\",\n \"preferentialNetworkId\": \"PREFERENTIAL_NETWORK_ID_THREE\"\n }\n ],\n \"deviceConnectivityManagement\": {\n \"preferentialNetworkServiceSettings\": {\n \"defaultPreferentialNetworkId\": \"PREFERENTIAL_NETWORK_ID_TWO\",\n \"preferentialNetworkServiceConfigs\": [\n {\n \"preferentialNetworkId\": \"PREFERENTIAL_NETWORK_ID_TWO\",\n },\n {\n \"preferentialNetworkId\": \"PREFERENTIAL_NETWORK_ID_THREE\",\n }\n ]\n }\n }\n }\n\n| **Important:** Critical applications are excluded from [`defaultPreferentialNetworkId`](https://developers.google.com/android/management/reference/rest/v1/enterprises.policies#PreferentialNetworkServiceSettings), check the documentation for more details. You can still configure their network by using the [`Application.preferentialNetworkId`](https://developers.google.com/android/management/reference/rest/v1/enterprises.policies#ApplicationPolicy.FIELDS.preferential_network_id) setting.\n| **Tip:** Networks that have no installed applications assigned to them will be silently ignored on the device."]]