The group-policy controller command enables the free mobility function.
The undo group-policy controller command restores the default configuration.
By default, the free mobility function is disabled.
This command is supported only when the device interoperates with Agile Controller-Campus.
group-policy controller ip-address1 [ port-number1 ] [ backup ip-address2 [ port-number2 ] ] password password [ src-ip ip-address3 ] [ vpn-instance vpn-instance-name ]
undo group-policy controller
Parameter | Description | Value |
---|---|---|
ip-address1 [ port-number1 ] |
Specifies the IP address of the active controller and the port number for exchanging packets between the active controller and device. If no port number is configured, the default port number 5222 is used. |
ip-address1: The value is in dotted decimal notation. port-number1: The value is an integer in the range from 1 to 65535. |
backup ip-address2 [ port-number2 ] |
Specifies the IP address of the standby controller and the port number for exchanging packets between the standby controller and device. If no port number is configured, the default port number 5222 is used. |
ip-address2: The value is in dotted decimal notation. port-number2: The value is an integer in the range from 1 to 65535. |
password password |
Specifies the password for connecting the device to controllers. |
The password configured on the device must be the same as that configured on controllers. The password configured on a controller needs to meet the following rules:
|
src-ip ip-address3 |
Specifies the source IP address that the device uses to communicate with a controller. If this parameter is not configured, the device selects one of its own IP addresses to communicate with the controller. |
The value is in dotted decimal notation. |
vpn-instance vpn-instance-name |
Specifies the name of a VPN instance to which the specified source IP address belongs. |
The value must be the name of an existing VPN instance. |
Usage Scenario
The free mobility function allows a user to obtain the same network access policy regardless of the user's location and IP address used. In addition, user access policies only need to be uniformly deployed and managed on controllers, simplifying network deployment.
After the free mobility function is enabled using the group-policy controller command on an access device, the device can connect to the specified controller. After you deploy network access policies for users on the controller, the controller delivers the policies to devices. The devices then can control users' network access rights.
Precautions
This command cannot be run on a device if a controller delivers services to the device.