This command nominates
primary and secondary Diameter peers amongst the peers configured
under Diameter Endpoint Configuration instance which is associated
with a PCC-Sp-Endpoint configuration.
Privilege:
Security Administrator,
Administrator
Mode:
Exec > Global Configuration
> Context Configuration > PCC Sp Endpoint Configuration
configure > context context_name > pcc-sp-endpoint endpoint_name
Entering the above
command sequence results in the following prompt:
[context_name]host_name(config-spendpoint)#
Syntax
diameter peer-select peer pri_peer_name [row-precedence row_prec_name selection-condition imsi {mcc mcc-string [mnc mnc-string] [msin msin-string] | mnc mnc-string [msin msin-string] | msin msin-string}] [realm realm_name] [secondary-peer sec_peer_name [realm sec_realm_name]]
no diameter peer-select
no diameter peer-select row-precedence
no
To remove all the configuration
parameters.
To remove a particular
selection-condition, a row-precedence value is specified.
peer pri_peer_name
Sets a configured Diameter
peer, which is configured in Diameter Endpoint configuration associated
with PCC-Sp-Endpoint instance configuration, as primary in Diameter
peer selection process for IPCF configuration.
The pri_peer_name is
a pre-configured Diameter peer in Diameter Endpoint configuration
which is associated with a PCC-Sp-Endpoint configuration and must
be an alphanumerical string from 1 through 63 characters. pri_peer_name allows
punctuation marks.
row-precedence row_prec_name
The row-precedence decides
order of evaluation of the selection conditions.
The row_prec_name is
an integer between 1 and 63. Lower the value, higher is the priority
of evaluation.
selection-condition
The selection-condition
parameter is used to define Diameter SPR peer selection conditon.
imsi
It indicates that the
selection condition is based on subscriber IMSI.
mcc mcc-string
It indicates that the
selection condition is based on MCC component of subscriber IMSI.
The mcc-string can
have one of the following formats: mccval1 or mccval1-mccval2.
The first format compares single MCC value and second one incorporates
the range with mccval1 <= mccval2.
The values for both
mccval1 and mccval2 must be between 100 to 999.
mnc mnc-string
It indicates that the
selection condition is based on MNC component of subscriber IMSI.
The mnc-string can
have one of the following formats: mncval1 or mncval1-mncval2.
The first format compares single MNC value and second one incorporates
the range with mncval1 <= mncval2.
The values for both
mncval1 and mncval2 must be between 1 to 999.
msin msin-string
It indicates that the
condition is based on MSIN component of subscriber IMSI.
The msin-string can
have following format: msinval1-msinval2.
The format incorporates the range with mccval1 <= mccval2.
The values for both
mccval1 and mccval2 must be of maximum of 10 digits.
realm realm-name
This keyword optionally
defines the realm (domain) of a configured primary Diameter
peer, which is configured in Diameter Endpoint configuration associated
with PCC-Sp-Endpoint instance configuration, in Diameter peer selection
process for IPCF configuration.
realm_name is
the realm (domain) of the associated primary Diameter peer in Diameter
Endpoint configuration which associated with a PCC-Sp-Endpoint configuration.
The realm_name must
be an alpha and/or numeric string of 1 to 127 characters.
The realm may typically be a company or service name and it allows punctuation
marks.
secondary-peer sec_peer_name
Sets a configured Diameter
peer, which is configured in Diameter Endpoint configuration associated
with PCC-Sp-Endpoint instance configuration, as secondary in Diameter peer
selection process for IPCF configuration.
The sec_peer_name is
a pre-configured Diameter peer in Diameter Endpoint configuration
which is associated with a PCC-Sp-Endpoint configuration and must
be an alphanumerical string from 1 through 63 characters. sec_peer_name allows
punctuation marks.
realm sec_realm-name
This keyword optionally
defines the realm (domain) of a configured secondary Diameter
peer, which is configured in Diameter Endpoint configuration associated
with PCC-Sp-Endpoint instance configuration, in Diameter peer selection
process for IPCF configuration.
sec_realm_name is
the realm (domain) of the associated primary Diameter peer in Diameter
Endpoint configuration which associated with a PCC-Sp-Endpoint configuration.
The sec_realm_name must
be an alpha and/or numeric string of from 1 to 127 characters.
The realm may typically be a company or service name and it allows
punctuation marks.
Usage:
Use this command to
nominate primary and secondary Diameter peers amongst the peers configured
under Diameter Endpoint Configuration instance which is associated
with a PCC-Sp-Endpoint configuration. When both primary and secondary
are down, the remaining Diameter peers are chosen based on their
configured weight in round robin manner.
When row-precedence
and selection-conditions are not defined for peer selection configuration,
the row precedence value is assumed to be 64 (which is the lowest).
This is a deafult peer selection when all the other configured selection
conditions fail.
Multiple Diameter peers
can be configured in a PCC-Sp-Endpoint instance by entering this command
multiple times.
Example:
Assume the operator
has two MCC-MNC combinations: 123-456 and 123-457 respectively for
subscriber IMSI values. If operator wishes to divert subscribers
with these two different combinations to different SSC peers (say
ssc123456 and ssc123457) then the operator needs to use following
commands under PCC-Sp-Endpoint :
diameter peer-select row-precedence 4 selection-condition imsi mcc 123 mnc 456 peer ssc123456
diameter peer-select row-precedence 6 selection-condition imsi mnc 123 mnc 456 peer ssc223457
Following command nominates
a pre-configured Diameter peer
dia1 as primary
and
dia2 as
secondary for Diameter peer selection process in a PCC-Sp-Endpoint
configuration instance.
diameter peer-select
peer dia1 secondary peer dia2