In this section:
This object allows you to configure up to 10 policy servers (one local server and nine external policy servers). When an active server becomes congested, the
The
Types of policy server configurations include:
The
The Policy Server global configuration commands are described below. The
% set system policyServer globalConfig addressContext <address context name> congestionControl <disabled | enabled> ipInterfaceGroup <ipInterfaceGroup_name> ipVar <metavariable name> [SBC SWe Cloud only] mgmtInterfaceGroup <mgmtInterfaceGroup_name> reconnectTimeout <1-3600 seconds> switchOverMode <automatic | manual> type <ip | mgmt>
Parameter | Length/Range | Description |
---|---|---|
addressContext | 1-23 |
This parameter is only configurable (visible from command line) when attribute |
| N/A | When this parameter is enabled, the Unable to show "metadata-from": No such page "_space_variables" throttles the sending or policy requests to either active or standby policy server. Options are:
|
ipInterfaceGroup | 1-23 |
This parameter is only configurable once |
ipVar | 1-255 | Use this parameter to specify a metavarible name (from the PSX’s metavariable table) used to provide an IP address for the SBC for connecting to the PSX. When the ipVar field is blank, the SBC Core picks any random IP address from the configured interface to connect to the PSX. |
| N/A | Specifies the Management Interface Group to be used for communication with an external PSX. If attribute |
| 1-3600 | Specifies the timeout period in seconds to re-attempt the connection to a policy server that is in the enabled state. Default is 10 seconds. |
| N/A | Specifies the mode to switch over the policy server to active state. Mode can be:
|
type | N/A | Interface type supported by the policy server.
|
To set the policy server global configuration using management interface group called "mgmtGroup":
% set system policyServer globalConfig type mgmt mgmtInterfaceGroup mgmtGroup congestionControl enabled reconnectTimeout 5 switchOverMode automatic
To view the policy server global configuration settings:
% show system policyServer globalConfig reconnectTimeout 5; switchOverMode automatic; congestionControl enabled; type mgmt; mgmtInterfaceGroup mgmtGroup;
To view the status of policy server global configuration from system-level mode:
> show table system policyServer globalConfig reconnectTimeout 5; switchOverMode automatic; congestionControl enabled; type mgmt; mgmtInterfaceGroup mgmtGroup;
The Local Policy Server configuration commands are described below.
% set system policyServer localServer <softswitch_name> action <dryUp | force> keepAliveTimer <1-60 seconds> mode <active | alternate | outOfService | standby> retries <0-32> retryTimer <# milliseconds> state <disabled | enabled> transactionTimer <50-60000 milliseconds>
Parameter | Length/Range | Description |
---|---|---|
| N/A | Specifies the name of the local policy server. |
| N/A | Specifies the method on which queued transactions are processed, when operational state is either standby or out-of-service: |
| 1-60 | Specifies the time interval (in seconds) to wait before issuing a "keepalive" poll to the policy server. This poll is issued only if there is no other policy server activity during this interval. The receipt of any message from the policy server resets the elapsed time to 0. |
| N/A | Specifies the operational state of the local policy server:
|
| 0-32 | Specifies the number of retries for any policy server transaction. Must be 0-32, default is 1. |
| N/A | Specifies the time (in milliseconds) for the Unable to show "metadata-from": No such page "_space_variables" to wait for the response from the local policy server. (default = 2500). |
| N/A | If changing the state, ensure mode is set to "outofservice".
Options are:
|
| 50-60000 | Time to wait (in milliseconds) for a reply from the initial transaction request. When this timer expires, a transaction retry will be issued. Subsequent retries of this transaction are controlled by |
| 1-64 | Displays the different levels of output information in show commands. |
To set the local policy server configuration:
% set system policyServer localServer PSX_LOCAL_SERVER action dryUp keepAliveTimer 3 mode standby retries 1 retryTimer 2500 state enabled transactionTimer 2500
To view the local policy server configuration settings:
% show system policyServer localServer localServer PSX_LOCAL_SERVER { state enabled; mode standby; action dryUp; transactionTimer 2500; keepAliveTimer 3; retryTimer 2500; retries 1; }
To view the status of local policy servers:
% show table system policyServer localServer KEEP TRANSACTION ALIVE RETRY NAME STATE MODE ACTION TIMER TIMER TIMER RETRIES ------------------------------------------------------------------------------- PSX_LOCAL_SERVER enabled active dryUp 2500 5 2500 1
The Remote Policy Server configuration commands are described below.
% set system policyServer remoteServer <softswitch_name> action <dryUp | force> ipAddress 169.254.77.2 keepAliveTimer <1-60 seconds> mode <active | alternate | outOfService | standby> portNumber <softswitch port number> retries <0-32> retryTimer <# milliseconds> state <disabled | enabled> subPortNumber <port number for subscriber data> transactionTimer <50-60000 milliseconds> % request system policyServer remoteServer <softswitch_name> switchBack
Parameter | Length/Range | Description |
---|---|---|
| N/A | The name of the remote policy server. |
| N/A | Use this object to specify the action to take against the policy server.
|
| N/A | the IP address. |
| 1-60 | The time interval (in seconds) to wait before issuing a "keepalive" poll to the policy server. This poll is issued only if there is no other policy server activity during this interval. The receipt of any message from the policy server resets the elapsed time to 0 (default = 5). |
| N/A | The operational state of the remote policy server:
|
| 1-65535 | The logical port number used for IP communication with the remote policy server. (default = 3055). |
| 0-32 | The number of times to retry any remote policy server transaction. (default = 1). |
| N/A | The time (in milliseconds) for the Unable to show "metadata-from": No such page "_space_variables" to wait for the response from the remote policy server. (default = 2500). |
| N/A | Administrative state of the remote policy server. Options are:
|
| 1-65535 | The port number assigned for the IP address of the policy server for the specific purpose of communicating subscriber data. (default = 3053). |
| N/A | Use this parameter with the |
| 50-60000 | The time for Unable to show "metadata-from": No such page "_space_variables" to wait (in milliseconds) for a reply from the policy server after sending a transaction request. When this timer expires, a transaction retry is issued based on retries setting. (default = 2500). |
To set the remote policy server configuration:
% set system policyServer remoteServer RS-1 mode outOfService % set system policyServer remoteServer RS-1 ipAddress 169.254.77.2 state enabled
To view the remote policy server configuration settings:
% show system policyServer remoteServer remoteServer RS-1 { ipAddress 169.254.77.2; state enabled; mode outOfService; }
To view the status of remote policy server from top-level CLI mode:
> show table system policyServer remoteServer KEEP SUB IP PORT TRANSACTION ALIVE RETRY PORT NAME ADDRESS NUMBER STATE MODE ACTION TIMER TIMER TIMER RETRIES NUMBER -------------------------------------------------------------------------------------------- RS-1 169.254.77.2 3055 enabled active dryUp 2500 5 2500 1 3053
To reset the SIP registration count of the remote policy server:
% request system policyServerremoteServer RS-1 switchBack result PASSED