CSCF Peer Servers Configuration Mode Commands


CSCF Peer Servers Configuration Mode Commands
 
 
The CSCF Peer Servers Configuration Mode is used to configure peer servers (for next-hop session routes) within the system.
 
Important: The commands or keywords/variables that are available are dependent on platform type, product version, and installed license(s).
 
end
Exits the current mode and returns to the Exec Mode.
Product
All
Privilege
Administrator
Syntax
end
Usage
Change the mode back to the Exec mode.
 
exit
Exits the current mode and returns to the previous mode.
Product
All
Privilege
Administrator
Syntax
exit
Usage
Return to the previous mode.
 
hunting-method
Configures the method by which servers in this group are contacted.
Product
SCM
Privilege
Administrator
Syntax
hunting-method { round-robin | sequence-on-failure | weighed }
default hunting-method
round-robin | sequence-on-failure | weighed
Specifies the hunting method for the servers in this group.
round-robin: Specifies that the servers will be used in round-robin fashion. This is the default setting.
sequence-on-failure: Specifies that the servers will be used sequentially if a failure occurs on a server (i.e., first peer server is always used, except on failure, during which next peer server in the list will be used).
weighed: Specifies that the peer servers in this group have a set “weight” that determines use as compared to the other like-configured peer servers. The actual weight of the peer server is configured in the server command in this mode.
default
Specifies that the servers will be used in round-robin fashion.
Usage
Use this command to configure the method that is used by the system to connect to servers in this group.
Example
The following command sets the hunting method for servers in this group to contact sequentially only when a server fails:
hunting-method sequence-on-failure
 
server
Configures the name, IP address, and port of servers belonging to this group and enters the Server Configuration Mode.
Product
SCM
Privilege
Administrator
Syntax
server name { address ip_address | domain domain_name } [ port number ] [ transport { tcp | udp } ] [ weight number ]
no server name
name
Specifies a name for the server. name must be from 1 to 79 alpha and/or numeric characters in length.
address ip_address
Specifies the IP address of the server. ip_address is expressed in dotted decimal notation for IPv4 or colon notation for IPv6.
domain domain_name
Specifies the domain name of the peer server. domain_name must be from 1 to 255 alpha and/or numeric characters in length.
port number
Specifies the port number of the server.
number must be an integer value from 1 to 65535.
transport { tcp | udp }
Specifies the transport type (TCP or UDP).
weight number
Default: 5
Specifies a weighted number for the specific peer server for load balancing purposes. number must be an integer value from 1 to 10. Higher weight implies larger server capability (and more routed requests).
Important: This keyword is only valid if the weighed keyword is applied to the hunting-method command in this mode.
no server name
Removes the specified server from the group.
Usage
Use this command to configure servers belonging to this group and enter the Server Configuration Mode.
Entering this command results in the following prompt:
[context_name]hostname(config-server_name-peer-server)#
Server Configuration Mode commands are defined in the CSCF Peer Server Monitoring Configuration Mode Commands chapter.
Example
The following command configures a server named scscf5 with an IP address of 1.2.3.4 and a port number of 5060:
server scscf5 address 1.2.3.4 port 5060
 
 

Cisco Systems Inc.
Tel: 408-526-4000
Fax: 408-527-0883