Configuring the SIC Diameter Server Peer (SRC CLI)

The SIC Diameter server handles all communication between the SIC and the SRC Diameter server. This procedure describes how to configure the network element in which the SRC Diameter server logically resides, the failover policy, and the Diameter connection between the SIC Diameter server and the SRC Diameter server.

Use the following statements to configure the SIC Diameter peer:

shared sic group identifier diameter network-element id {description description;failover-policy (round-robin | primary-backup);}
shared sic group identifier diameter network-element id peer name {description description;address address;protocol (tcp | sctp);port port;active-peer;priority priority;}
shared sic group identifier diameter network-element id peer name {enforce-source-address;}
shared sic group identifier diameter network-element id peer name {origin-host origin-host;}
shared sic group identifier diameter network-element id peer name addresses address address

To configure the SIC Diameter server peer:

  1. From configuration mode, access the statement that configures the SIC Diameter server peer and configure the network element where the SRC Diameter server resides. For example, to configure a Diameter network element called diam-ne1 for an SIC group called g1:
    [edit]user@host# shared sic group g1 diameter network-element diam-ne1
  2. (Optional) Specify a description for the network element.
    [shared sic group g1 diameter network-element diam-ne1]user@host# set description description
  3. (Optional) Configure the failover policy for the network element. For example, to configure the primary or backup failover policy:
    [shared sic group g1 diameter network-element diam-ne1]user@host# set primary-backup
  4. Configure the name of the Diameter peer (SRC Diameter server). For example, to call the peer src-diam-svr1:
    [shared sic group g1 diameter network-element diam-ne1]user@host# edit peer src-diam-svr1
  5. (Optional) Specify a description for the Diameter peer.
    [shared sic group g1 diameter network-element diam-ne1 peer src-diam-svr1]user@host# set description description
  6. Specify the IP address of the remote Diameter peer (SRC Diameter server). For example, 10.1.2.3.
    [shared sic group g1 diameter network-element diam-ne1 peer src-diam-svr1]user@host# set address 10.1.2.3
  7. Specify the protocol the Diameter peer (SRC Diameter server) uses for Diameter messages (TCP or SCTP).
    [shared sic group g1 diameter network-element diam-ne1 peer src-diam-svr1]user@host# set protocol sctp
  8. Specify which port the Diameter peer (SRC Diameter server) receives messages on. For example, port 2222.
    [shared sic group g1 diameter network-element diam-ne1 peer src-diam-svr1]user@host# set port 2222
  9. (Optional) Specify whether the peer is active or not. If the peer is configured to connect actively, the server periodically attempts to connect (or reconnect after a connection has failed) to the remote peer. If this option is not set, a connection is established only after the remote peer attempts to connect to this server.
    [shared sic group g1 diameter network-element diam-ne1 peer src-diam-svr1]user@host# set active-peer
  10. (Optional) Specify the priority of the peer for the failover policy. Peers with lower priority values are the preferred routing targets for Diameter requests. Requests are split equally among peers with the same priority level.
    [shared sic group g1 diameter network-element diam-ne1 peer src-diam-svr1]user@host# set priority 1
  11. (Optional) Specify whether a source IP match is required for the connection. This option determines whether the source IP address of a connection attempt must match one of the configured IP addresses used to connect to this peer. If this option is not set, requests are accepted from any IP address as long as the client presents the correct host name during the capabilities exchange. This functionality allows other peers to exist behind NAS devices.
    [shared sic group g1 diameter network-element diam-ne1 peer src-diam-svr1]user@host# set enforce-source-address
  12. Specify the origin-host name of the Diameter peer (SRC Diameter server). For example, if the origin-host name of the SRC Diameter server is diam-host1:
    [shared sic group g1 diameter network-element diam-ne1 peer src-diam-svr1]user@host# set origin-host diam-host1
  13. (Optional) Specify an ordered set of IP addresses to use for a multilink connection. An IP address of the remote peer is necessary to establish a Diameter connection with the remote peer (SRC Diameter server). For a Diameter connection over TCP, only one configured address is used. Over SCTP, the connection may be established over multiple addresses.
    [shared sic group g1 diameter network-element diam-ne1 peer src-diam-svr1]user@host# set addresses address 10.1.2.4user@host# set addresses address 10.1.2.5user@host# set addresses address 10.1.2.6
  14. Verify your configuration.
    [shared sic group g1 diameter network-element diam-ne1 peer src-diam-svr1]user@host# show
    active-peer;
    address 10.1.2.3;
    addresses {
      address 10.1.2.4;
      address 10.1.2.5;
      address 10.1.2.6;
    }
    port 3868;
    priority 1;
    protocol sctp;
    enforce-source-address;
    origin-host diam-host1;
    
    [edit shared sic group g1 diameter network-element diam-ne1 peer src-diam-svr1]
    user@host# 

Related Documentation