[Contents] [Prev] [Next] [Index] [Report an Error]

Configuring Diameter Peers (SRC CLI)

Use the following configuration statements to configure the Diameter peers:

shared network diameter peer name {
protocol [(tcp | sctp)...];
address [address...];
enforce-source-address;
local-address local-address;
connect-timeout connect-timeout;
watchdog-timeout watchdog-timeout;
state-machine-timeout state-machine-timeout;
reconnect-timeout reconnect-timeout;
port port;
origin-host origin-host;
incoming-queue-limit incoming-queue-limit;
active-peer;
}

To configure the Diameter peer:

  1. From configuration mode, access the statements for the peer.
    user@host# edit shared network diameter peer name

    The peer name must be unique.

  2. Specify the protocol for the transport connection.
    [edit shared network diameter peer name]
    user@host# set protocol [(tcp | sctp)...]
  3. Specify the addresses of the remote peer. If SCTP is the transport protocol, you can specify multiple addresses. If TCP is the transport protocol, you can specify only a single address.
    [edit shared network diameter peer name]
    user@host# set address [address...]
  4. (Optional) Specify whether the remote peer must connect from one of the IP addresses listed by the address option.
    [edit shared network diameter peer name]
    user@host# set enforce-source-address
  5. (Optional) Specify the local address of the peer.
    [edit shared network diameter peer name]
    user@host# set local-address local-address
  6. (Optional) Specify the maximum amount of time to respond to a connection request.
    [edit shared network diameter peer name]
    user@host# set connect-timeout connect-timeout
  7. (Optional) Specify the watchdog timeout used for the connection to the remote peer.
    [edit shared network diameter peer name]
    user@host# set watchdog-timeout watchdog-timeout
  8. (Optional) Specify the Diameter state machine timeout.
    [edit shared network diameter peer name]
    user@host# set state-machine-timeout state-machine-timeout
  9. (Optional) Specify the time interval between connection attempts when the peer is in the disconnected state.
    [edit shared network diameter peer name]
    user@host# set reconnect-timeout reconnect-timeout
  10. (Optional) Specify the port for the client.
    [edit shared network diameter peer name]
    user@host# set port port
  11. (Optional) Specify the identifier for the endpoint that the peer presents during connection establishment.
    [edit shared network diameter peer name]
    user@host# set origin-host origin-host
  12. (Optional) Specify the number of messages allowed on the incoming message queue for a peer.
    [edit shared network diameter peer name]
    user@host# set incoming-queue-limit incoming-queue-limit
  13. (Optional) Specify whether the peer connection is in active mode.
    [edit shared network diameter peer name]
    user@host# set active-peer

[Contents] [Prev] [Next] [Index] [Report an Error]