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:
From configuration mode, access the statements
for the peer.
user@host# edit shared network diameter peer name
The peer name must be unique.
Specify the protocol for the transport connection.
[edit shared network diameter peer name]
user@host# set protocol [(tcp | sctp)...]
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...]
(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
(Optional) Specify the local address
of the peer.
[edit shared network diameter peer name]
user@host# set local-addresslocal-address
(Optional) Specify the maximum amount
of time to respond to a connection request.
[edit shared network diameter peer name]
user@host# set connect-timeoutconnect-timeout
(Optional) Specify the watchdog timeout
used for the connection to the remote peer.
[edit shared network diameter peer name]
user@host# set watchdog-timeoutwatchdog-timeout
(Optional) Specify the Diameter state
machine timeout.
[edit shared network diameter peer name]
user@host# set state-machine-timeoutstate-machine-timeout
(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-timeoutreconnect-timeout
(Optional) Specify the port for the client.
[edit shared network diameter peer name]
user@host# set portport
(Optional) Specify the identifier for
the endpoint that the peer presents during connection establishment.
[edit shared network diameter peer name]
user@host# set origin-hostorigin-host
(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-limitincoming-queue-limit
(Optional) Specify whether the peer connection
is in active mode.