| wlan `profileparameter` | Modifies the specified profile. If the interface is specified, then only the profile on that interface is modified. The `name` parameter is required. At least one other parameter besides the profile name and interface must also be specified. <br><br> `name`: Specifies the name of the wireless profile. <br> `interface`: Specifies the wireless network interface. <br> `SSIDname`: Specifies the SSID for the profile. <br> `ConnectionType` - Specifies whether the network is infrastructure (`ESS`) or ad-hoc (`IBSS`). <br> `ConnectionMode` - Sets the connection mode to automatic (`auto`) or manual (`manual`). Must be set to `manual` for ad-hoc (`IBSS`) networks. <br> `autoSwitch` - Determines if the device automatically switches to a more preferred network when available (`yes` or `no`). <br> `randomization` - Enables (`yes`) or disables (`no`) MAC address randomization for privacy. If `daily` is set, MAC address randomization refreshes every day. <br> `nonBroadcast` - Indicates whether to connect to a hidden (non-broadcast) network (`yes` or `no`). <br> `authentication` - Sets the authentication method used for the connection: <br> - `open`: No authentication (password) required. <br> - `shared`: Shared WEP key authentication. <br> - `WPA` <br> - `WPA2` <br> - `WPAPSK` <br> - `WPA2PSK` <br> `encryption` - Specifies the encryption protocol for wireless traffic (`WEP`, `TKIP`, `AES`, or `none`). <br> `keyType` - Defines if the shared key is a `networkkey` or a `passphrase`. <br> `keyIndex` - Selects the key index (`1` to `4`) used for encrypting WEP wireless traffic. The value represents one of four stored WEP keys. <br> `keyMaterial` - Specifies the network key or passphrase. <br> `PMKCacheMode` - Enables (`yes`) or disables (`no`) PMK caching (only for WPA2 networks). <br> `PMKCacheSize` - Sets the number of entries (`1` to `255`) in the PMK cache on the client. <br> `PMKCacheTTL` - Specifies how long in seconds (`300` to `86400`) a PMK cache entry is retained. <br> `preAuthMode` - Enables (`yes`) or disables (`no`) pre-authentication (only for WPA2 networks). <br> `preAuthThrottle` - Sets the number of pre-authentication attempts on neighboring access points from `1` to `16`. <br> `FIPS` - Turns on (`yes`) FIPS mode or off (`no`) for enhanced security compliance. <br> `useOneX` - Enables (`yes`) or disables (`no`) 802.1X authentication. <br> `authMode` - Selects the type of credentials used for authentication (`machineoruser`, `machineonly`, `useronly`, or `guest`). <br> `ssoMode` - Specifies the single sign-on mode to use, if any (`prelogon`, `postlogon`, or `none`). <br> `maxDelay` - Sets the maximum time in seconds allowed to establish a single sign-on connection (`1` to `120`). <br> `allowDialog` - Allows (`allow`) or prevents (`no`) dialog prompts during pre-logon. <br> `userVLAN` - Indicates if the network switches to a different VLAN after user authentication (`yes` or `no`). <br> `heldPeriod` - Sets the interval in seconds (`1` to `3600`) between authentication attempts. <br> `AuthPeriod` - Maximum time in seconds (`1` to `3600`) the client waits for a response from the authenticator. <br> `StartPeriod` - Time in seconds (`1` to `3600`) to wait before sending an EAPOL-Start message. <br> `maxStart` - Maximum number of EAPOL-Start messages sent during authentication from `1` to `100`. <br> `maxAuthFailures` - Maximum number of authentication failures allowed for a set of credentials from `1` to `100`. <br> `cacheUserData` - Enables (`yes`) or disables (`no`) caching of user credentials for future use. <br> `cost` - Sets the cost category for the network profile: <br> - `default`: Treats Wi-Fi as non-metered unless otherwise specified. <br> - `unrestricted`: Treats the network as unlimited. <br> - `fixed`: Marks the network as metered with a fixed data limit. <br> - `variable`: Marks the network as metered, but assumes the cost or data availability might change (roaming charges or dynamic pricing). |
0 commit comments