The ipmanage utility is used to manage IP addresses in Plesk. By using this utility, you can perform the following tasks:
Syntax
ipmanage <command> [<IP address>] [
<option_1> [<param>]
[<option_2> [<param>]]
… [<option_N> [<param>]]
]
Example
The following command creates IP address 192.0.2.78 with subnet mask 255.255.255.0, specifies physical network interface named Local Area Connection for the IP address, sets the type of the IP address to exclusive, and specifies the name of the SSL certificate (My site certificate) to be used for the IP address.
# ./ipmanage --create 192.0.2.78 -mask 255.255.255.0 -interface "Local Area Connection" -type exclusive -ssl_certificate "My site certificate"
Commands
Command |
Parameter |
Description |
Example |
|---|---|---|---|
|
|
Creates an IP address. Requires the |
To create IP address 192.0.2.78, set its type to shared, network mask to 255.255.0.0, and physical network interface to Local Area Connection: # ./ipmanage --create 192.0.2.78 -type shared -mask 255.255.0.0 -interface "Local Area Connection" or # ./ipmanage -c 192.0.2.78 -type shared -mask 255.255.0.0 -interface "Local Area Connection" |
|
|
Updates various parameters of an IP address such as its type, subnet mask, network interface, and associated SSL certificates. |
To change the type of IP address 192.0.2.78 from shared to exclusive: # ./ipmanage --update 192.0.2.78 -type exclusive or # ./ipmanage --update 192.0.2.78 -type exclusive |
|
|
Deletes an IP address. |
To remove IP address 192.0.2.78: # ./ipmanage --remove 192.0.2.78 or # ./ipmanage -r 192.0.2.78 |
|
|
Displays the list of available IP addresses. |
To view the list of available IP addresses: # ./ipmanage --ip_list or # ./ipmanage -l |
|
|
Displays the list of available SSL certificates. |
To view the list of available SSL certificates: # ./ipmanage --ssl_list or # ./ipmanage -s |
|
|
Displays the list of available interfaces. |
To view the list of available network interfaces: # ./ipmanage --inter_list or # ./ipmanage -f |
|
|
Displays information about all available IP address in the XML format. |
To view information about all available IP addresses in the XML format: # ./ipmanage --xml-info or # ./ipmanage -xi |
|
|
Specifies a default SSL certificate to all available IP addresses. |
To set default SSL certificate to all available IP addresses: # ./ipmanage --reset_ssl_certificate |
|
|
Displays help on the use of the utility. |
To view help on the use of the # ./ipmanage --help or # ./ipmanage -h |
Options
Option |
Parameter |
Description |
Example |
|---|---|---|---|
|
|
Specifies the type of an IP address. Required with the |
To change the type of IP address 192.0.2.78 from shared to exclusive: # ./ipmanage -u 192.0.2.78 -type exclusive |
|
|
Specifies the name of an SSL certificate to be used for the IP address. |
To assign SSL certificate named New Certificate to IP address 192.0.2.78: # ./ipmanage -u 192.0.2.78 -ssl_certificate "New Certificate" |
|
|
Specifies the subnet mask for an IP address. Required with the Used with the |
To create IP address 192.0.2.78, set its type to shared, network mask to 16, and physical network interface to Local Area Connection: # ./ipmanage -c 192.0.2.78 -type shared -mask 16 -interface "Local Area Connection" |
|
|
Specifies the name of the physical network interface for an IP address. Required with the Used with the |