The following assumes that an AC functions as a DHCP server to assign IP addresses to APs.
Run the system-view command to enter the system view.
Run the dhcp enable command to enable DHCP.
Run the ip pool ip-pool-name command to create a global address pool and enter its view.
Run any of the following commands to configure the Option 43 field.
option 43 hex hex-string
option 43 sub-option 3 ascii ascii-string
option 43 sub-option 2 ip-address ip-address &<1-8>
option 43 sub-option 1 hex hex-string
The following lists examples for configuring the Option 43 field:
Run the option 43 hex 031D3139322e3136382e3139342e35302c3139322e3136382e3139342e3534 command to configure the device to specify the AC IP addresses 192.168.194.50 and 192.168.194.54 for APs. In this command, 03 is a fixed value; 1D indicates that the length of IP addresses (192.168.194.50,192.168.194.54) including dots (.) and the comma (,) is 29, and multiple IP addresses are separated by the comma (,); 3139322e3136382e3139342e3530 indicates the ASCII value of 192.168.194.50; 2C indicates the ASCII value of the comma (,); and 3139322e3136382e3139342e3534 indicates the ASCII value of 192.168.194.54.
Run the option 43 sub-option 1 hex C0A80001C0A80002 command to configure the device to specify AC IP addresses 192.168.0.1 and 192.168.0.2 for APs. In the command, C0A80001 indicates the hexadecimal format of 192.168.0.1, and C0A80002 indicates the hexadecimal format of 192.168.0.2.
Run the option 43 sub-option 2 ip-address 192.168.0.1 192.168.0.2 command to configure the device to specify AC IP addresses 192.168.0.1 and 192.168.0.2 for APs.
Run the option 43 sub-option 3 ascii 192.168.0.1,192.168.0.2 command to configure the device to specify AC IP addresses 192.168.0.1 and 192.168.0.2 for APs.