Configuring Diameter Peers
You can configure the remote peers to which Diameter sends messages. Port 3868 is used for active connections to peers by default.
To configure a remote peer for a Diameter instance:
- Specify the name of the Diameter peer.
[edit access diameter] user@host# set peer peer-name
- Specify the address of the Diameter peer.
[edit access diameter peer peer-name] user@host# set address ip-address
- Specify the transport that Diameter uses for active connections
to the peer.
[edit access diameter peer peer-name] user@host# set connect-actively transport transport-name
- (Optional) Specify the port that Diameter uses for active
connections to the peer. The default is port 3868.
[edit access diameter peer peer-name] user@host# set connect-actively port port-number
- (Optional) Specify the time to wait for connection acknowledgment
from the peer. The default is 10 seconds.
[edit access diameter peer peer-name] user@host# set connect-actively timeout seconds
- (Optional) Specify the time to wait before trying to reconnect
to a peer after receiving a Disconnect-Peer-Request message with the
DO_NOT_WANT_TO_TALK_TO_YOU value for the Disconnect-Cause AVP. If
you do not set a value, no reconnection attempt is made.
[edit access diameter peer peer-name] user@host# set connect-actively repeat-timeout seconds
- (Optional) Specify the time to wait for a Capabilities-Exchange-Answer
message from the peer. The default is 10 seconds.
[edit access diameter peer peer-name] user@host# set connect-actively capabilities-exchange-timeout seconds
- (Optional) Specify the time to wait between connection
attempts for this peer. The default is 30 seconds.
[edit access diameter peer peer-name] user@host# set connect-actively retry-timeout seconds
- (Optional) Specify the time to wait for a Device-Watchdog-Answer
message from the peer. The default is 30 seconds.
[edit access diameter peer peer-name] user@host# set watchdog-timeout seconds
- (Optional) Specify the time to wait in the Closing state
while disconnecting this peer. The default is 10 seconds.
[edit access diameter peer peer-name] user@host# set disconnect-peer-timeout seconds
- (Optional) Specify the size of the incoming queue for
the peer. The default is 6000. You can specify a smaller value if
you want to throttle the peer.
[edit access diameter peer peer-name] user@host# set incoming-queue size size
- (Optional) Specify the size of the outgoing queue for
the peer. The default is 6000. You can specify a smaller value if
you want to throttle the peer.
[edit access diameter peer peer-name] user@host# set outgoing-queue size size
- (Optional) Specify the high watermark of the outgoing
queue for the peer.
The default is 80 percent. If the queue size reaches the high watermark, the peer is marked unavailable, any new messages to the Diameter network element are not sent to this peer, and the SNMP trap Diameter_PeerOutQHiWMarkNotif is generated.
[edit access diameter peer peer-name] user@host# set outgoing-queue high-watermark high-watermark
- (Optional) Specify the low watermark of the outgoing queue
for the peer.
The default is 60 percent. If the queue size descends to the low watermark after reaching the high watermark, the peer becomes available and the SNMP trap Diameter_PeerLowQHiWMarkNotif is generated.
[edit access diameter peer peer-name] user@host# set outgoing-queue low-watermark low-watermark