Cisco Cisco ASR 5000

Page of 9109
Diameter Endpoint Configuration Mode Commands   
▀  peer 
 
 
▄  Command Line Interface Reference, StarOS Release 18 
3558 
   
peer 
This command specifies a peer address for the Diameter endpoint. 
Product
 
All 
Privilege
 
Security Administrator, Administrator 
Mode
 
Exec > Global Configuration > Context Configuration > Diameter Endpoint Configuration 
configure > context context_name > diameter endpoint endpoint_name
 
Entering the above command sequence results in the following prompt: 
[context_name]host_name(config-ctx-diameter)# 
Syntax
 
peer [*] peer_name [*] [ realm realm_name ] [ destination-host-name host_name ] { address 
ipv4/ipv6_address [ [ port port_number ] [ connect-on-application-access ] [ send-dpr-
before-disconnect disconnect-cause 
disconnect_cause ] [ sctp ] ] + | fqdn fqdn [ [ port 
port_number ] [ send-dpr-before-disconnect disconnect-cause disconnect_cause ] [ rlf-
template 
rlf_template_name ] ] } 
no peer peer_name [ realm realm_name ] 
no
 
Removes the specified peer configuration. 
[*] peer_name [*]
 
Specifies the peer’s name as an alphanumeric string of 1 through 63 characters that allows punctuation 
characters. 
The Diameter server endpoint can now be a wildcarded peer name (with * as a valid wildcard character). 
Client peers which satisfy the wild-carded pattern are treated as valid peers and the connection will be 
accepted. The wildcarded token indicates that the peer name is wildcarded and any ‘*’ in the preceding string 
is treated as a wildcard. 
realm realm_name
 
Specifies the realm of this peer as an alphanumeric string of 1 through 127 characters. The realm name can be 
a company or service name. 
destination-host-name host_name 
 
Specifies the destination host name as an alphanumeric string of 1 through 63 characters. Note that this is an 
optional keyword. 
If a peer is selected by Diameter base protocol to forward an application request, then the host name specified 
through the “
destination-host-name
” option will be used to encode the Destination-Host AVP.  
This keyword “
destination-host-name
” is made optional for backward compatibility. That means, if the 
destination-host-name is not specified in the CLI, the peer name itself is copied to the destination-host-name 
for backward compatibility.