change third_party_policy provider
Function
Parameters
Parameter |
Description |
Value |
---|---|---|
policy_name=? | Policy name. | The value contains 1 to 31 characters including only letters (case insensitive), digits, and underscores (_). |
port=? | Port number of a third-party server. | The value range is 1 to 65535. |
server_ips=? | IP address list of a third-party server. | The value is an IPv4 address. |
Example
-
Query the status before modification.
developer:/>show third_party_policy provider policy_name=test Policy ID: 1 Policy Name: test Server IPs: 10.2.2.2 Port: 123
-
Modify server information about a third-party policy.
developer:/>change third_party_policy provider policy_name=test address=10.1.1.1 port=2 Command executed successfully.
-
Query the status after modification.
developer:/>show third_party_policy provider policy_name=test Policy ID: 1 Policy Name: test Server IPs: 10.1.1.1 Port: 2