The group-policy version command configures the user group version or user group policy version used for free mobility.
Parameter | Description | Value |
---|---|---|
user-group | Specifies a user group. |
- |
user-group-policy | Specifies a user group policy. |
- |
version version | Specifies a version. |
The value is an integer that ranges from 0 to 4294967295. NOTE:
The version needs to be obtained from the controller database. The configured version must be consistent with the version obtained from the controller database. Otherwise, the switch configuration is inconsistent with the controller configuration or the controller configuration fails to be delivered to the switch. |
Usage Scenario
When a switch is connected to the controller and has free mobility configured, the switch's user group version and user group policy version used for free mobility are restored to 0 if the group-policy controller command configuration is deleted incorrectly from the switch. In this situation, the switch and controller have inconsistent user group versions and user group policy versions used for free mobility. This inconsistency leads to a failure to deliver the free mobility configuration from the controller to the switch even though the group-policy controller command is configured again on the switch. To address this issue, run the group-policy version command on the switch to configure the user group version and user group policy version used for free mobility. This configuration can restore the function that delivers the free mobility configuration from the controller to the switch.
Precautions
The group-policy version command can be used to restore communication between a switch and the controller only when the group-policy controller command configuration is deleted incorrectly. Do not use the group-policy version command when the switch communicates with the controller normally.
If you run the group-policy version command multiple times, only the latest configuration takes effect.
The group-policy version command configuration is not recorded in the configuration file after this command is executed. To verify the command configuration, run the display group-policy health command in the diagnostic view. In the command output, CMDC_CONTROLLER_UGSYNINCREMET_CONTROL indicates the user group version, and CMDC_CONTROLLER_UGPSYNINCREMET_CONTROL indicates the user group policy version.