Sun GlassFish Communications Server Diameter Adapter 1.0 Installation and Quick Start Guide

ProcedureTo Update a Diameter Peer

Use the set command to update an existing Diameter peer.

  1. List Diameter peers by using the list-diameter-peers(1) command.

  2. Update a Diameter peer by using the set(1) command.

    This example changes the listening port of the peer with ID p1.


    asadmin> set server-config.diameter-service.peer-configuration.peers.peer.p1.port=3737
    server-config.diameter-service.peer-configuration.peers.peer.p1.port = 3737
    

    where p1 is the peer ID which can be changed.

  3. Restart the server for changes to take effect.

    Use the stop-domain(1) and start-domain(1) commands.