Configuring Diameter Peers (SRC CLI)
Use the following configuration statements to configure the Diameter peers:
When you commit the Diameter peer configuration, keep in mind the following conditions:
The origin host, remote peer address, or both should be specified for the Diameter peer.
If the enforce source address is configured for the Diameter peer, the remote peer address should be specified for the Diameter peer.
If the peer connection is configured to be in active mode for a particular Diameter peer or globally for all Diameter peers by using the active-peers option under the [edit system diameter] hierarchy, the remote peer address should be specified for the Diameter peers.
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)...]
- (Optional) 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-address local-address
- (Optional) Specify the maximum amount of time allowed
for the Diameter peer to respond to a connection request.[edit shared network diameter peer name]user@host# set connect-timeout connect-timeout
- (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
- (Optional) Specify the Diameter state machine timeout.[edit shared network diameter peer name]user@host# set state-machine-timeout state-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-timeout reconnect-timeout
- (Optional) Specify the port for the client.[edit shared network diameter peer name]user@host# set port port
- (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
- (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
- (Optional) Specify whether the peer connection is in active
mode.[edit shared network diameter peer name]user@host# set active-peer
Note Active mode means that the SRC software actively tries to connect to the peer. Make sure the peer you are connecting to supports active peers. The MX Series router does not support active peers. The SRC software can still be configured, but the connection attempts will not work.