Cisco Cisco Tunnel Terminating Gateway (TTG) Fascicule

Page de 8487
Diameter Endpoint Configuration Mode Commands   
▀  route-entry 
 
 
▄  Cisco ASR 5x00 Command Line Interface Reference 
3356 
   
Usage 
Use this command to create a route table for Diameter application. 
When a Diameter client starts to establish a session with a realm/application, the system searches the route 
table for the best match. If an entry has no host specified, the entry is considered to match the requested 
value. Similarly, if an entry has no realm or application specified, the entry is considered to match any such 
requested value. The best match algorithm is to prefer specific matches for whatever was requested, either 
realm/application or host/realm/application. If there are no such matches, then system looks for route table 
entries that have wildcards. 
If the message’s destination realm is abc.com then the message will be routed to 
peer1
. If the message’s 
destination realm is def.com then the message will be routed to 
peer2
. If the destination realm is xyz.com 
then the message will be routed to “
peer-default
”.  
Example
 
The following command creates a route entry with the host name 
dcca_host1
 and peer ID 
dcca_peer
 with 
priority weight of 
10
route-entry host dcca_host1 peer dcca_peer weight 10