BIG-IP Service Provider Message Routing Administration
BIG-IP Service Provider Message Routing Administration
Administration
Version 13.1
Table of Contents
Table of Contents
3
Table of Contents
Legal Notices............................................................................................................................ 55
Legal notices.................................................................................................................... 55
4
Using the Diameter Configuration Wizard
Function Description
Routing Specifies the routing table configuration to support Diameter functionality,
including the routing decision parameters (such as Diameter protocol, expression
test, and action associated with a matched expression).
Transformations Enables you to insert, modify, or delete Attribute Value Pairs (AVPs) in Diameter
messages.
Session Specifies a session timeout value, as well as session binding parameters for master-
Management only persistence and master-slave persistence.
System Specifies the system configuration used to support Diameter functionality, including
Configuration the following:
• Virtual Servers. Specifies an applicable virtual server (including virtual server
name, virtual IP address, port number, client transport protocol, and
description).
• Nodes. Specifies local traffic node parameters (including a node name, address,
and description).
• Pools. Specifies local traffic pool settings (including pool name, description,
pool members, and port number), protocol, and multihoming settings (including
alternative source IP addresses).
• Routing Destinations. Specifies routing destination parameters (including a
destination, pool selection mode, and pool).
• List of Values. Specifies a list of values (including a list name, description, and
values) that can be referenced in transformation rules.
Important: You must use a Chrome browser when setting up and using the Diameter Configuration
Wizard. Browsers other than Chrome are not currently supported.
Tip: Workflow messages appear in the yellow banner to help guide you during the configuration of
Diameter message routing functionality.
Important: You must use a Chrome browser when setting up and using the Diameter Configuration
Wizard. Browsers other than Chrome are not currently supported.
Task summary
Note: To download the Diameter Configuration Wizard RPM package, click the product line iAppLX
Templates.
3. Click the name of the version of the product you want to download.
Note: The name appears as iAppLX_Templates and the version appears as iAppLX.
4. Read the End User License Agreement, and click the I Accept button if you agree with the terms.
The Select a Download screen appears.
5. Click the name of the file you want to download.
8. Click Upload.
The Diameter Configuration Wizard RPM package uploads to the Applications Service List screen.
The latest Diameter configuration wizard file is imported and available on the Applications LX screen.
6
BIG-IP Service Provider: Message Routing Administration
Important: You must use a Chrome browser when setting up and using the Diameter Configuration
Wizard. Browsers other than Chrome are not currently supported.
Task summary
Important: Do not click Save until you have configured all Diameter functions. If you click Save before
configuring all Diameter functions, an error might occur.
1. In the Diameter Configuration Wizard, click the System Configuration tab, and then click the Virtual
Servers tab.
The Virtual Servers screen opens.
2. In the Virtual Server Name field, type the name of the virtual server.
3. In the Virtual Ip field, type the IP address for the virtual server.
4. In the Port Number field, type the port number for the virtual server.
5. From the Client Transport Protocol list, select one of the following protocols to use with Diameter
clients.
• TCP
• SCTP
• TLS/TCP
6. Click More Options.
7. In the Description field, type a description.
8. (Optional) Configure SCTP multihoming functionality for Diameter clients.
7
Using the Diameter Configuration Wizard
Important: Do not click Save until you have configured all Diameter functions. If you click Save before
configuring all Diameter functions, an error might occur.
1. In the Diameter Configuration Wizard, click the System Configuration tab, and then click the Nodes
tab.
The Nodes screen opens.
2. In the Node Name field, type the name for the node.
3. In the Address field, type the address for the node.
4. In the Description field, type a description for the node.
5. (Optional) Click Add Node to configure an additional node, as necessary.
The Diameter destination nodes are configured, and available to assign to a pool.
Important: Do not click Save until you have configured all Diameter functions. If you click Save before
configuring all Diameter functions, an error might occur.
Note: If a peer specifies a pool without pool members, the message is unroutable.
1. In the Diameter Configuration Wizard, click the System Configuration tab, and then click the Pools
tab.
The Pools screen opens.
2. In the Pool Name field, type the name of the pool.
3. In the Description field, type a description for the pool.
4. Add the applicable pool member destination nodes to the pool.
a) Click the Show Pool Members button.
b) For each pool member, click the Add Pool Member plus (+) button.
c) From the Pool Members list, select a pool member destination node.
d) In the Port Number field, type the port number.
5. Click More Options.
6. From the Protocol list, select one of the following protocols to use with Diameter servers.
8
BIG-IP Service Provider: Message Routing Administration
• TCP
• SCTP
• TLS/TCP
7. (Optional) Configure SCTP multihoming functionality for Diameter servers.
a) Select the Enable Multihoming check box.
b) In the Alternative Source IPs field, type the address for an alternative BIG-IP destination address
that a server can use.
c) For each additional Alternative Source IPs address, click the plus (+) button to add the source IP
address, as necessary.
8. (Optional) Click Add Pool to configure an additional Diameter pool, as necessary.
A Diameter message routing configuration is complete, including a routing pool that contains Diameter
servers as its members, a protocol to use with Diameter servers, and SCTP multihoming destination IP
addresses.
Important: Do not click Save until you have configured all Diameter functions. If you click Save before
configuring all Diameter functions, an error might occur.
1. In the Diameter Configuration Wizard, click the System Configuration tab, and then click the Routing
Destinations tab.
The Routing Destinations screen opens.
2. In the Destination field, type an address for the static route destination.
3. From the Pool Selection Mode list, select one of the following settings:
Setting Description
By Precedence Specifies a sequential selection of pools based on availability. If only one pool is
specified, the virtual server directs all traffic to it. If two or more pools are
specified, the virtual server sends traffic to the next pool in the specified sequence
(top to bottom) when the nodes in the preceding pool are down.
By Percents Specifies a percentage of traffic for each specified pool. If only one pool is
specified, the virtual server directs all traffic to it. If two or more pools are
specified, the virtual server manages traffic sent to each pool in accordance with
the specified percentage. You can drag the slider bar to specify a percentage for a
pool.
4. From the Pools list, select a Diameter pool.
5. (Optional) Click Add Pool to specify an additional pool for the routing destination, as necessary.
6. For each pool, do one of the following:
By Percents • In the Pools area, do one of the following for each selected pool:
9
Using the Diameter Configuration Wizard
• Drag the slider bar for each selected pool to specify the applicable
percentage of traffic.
• In the percent field, type the applicable percentage of traffic.
Important: Do not click Save until you have configured all Diameter functions. If you click Save before
configuring all Diameter functions, an error might occur.
1. In the Diameter Configuration Wizard, click the System Configuration tab, and then click the List of
Values tab.
2. In the List Name field, type a name for the list.
3. In the Description field, type a unique description for the list of values.
4. Click Show List of Values.
5. In the List of Values field, type a value.
6. To specify an additional value for the list, in the Add Values area, click the plus (+) button, and then,
in the List of Values field, type a value..
7. Click Add List to configure an additional list, as necessary.
A list of values is available.
Task summary
10
BIG-IP Service Provider: Message Routing Administration
Note: Depending upon the Action that you select, the Destination list and associated paramenters
might not appear.
Note: To display the Origin Host field, from the Action list, select Reject, Redirect, or Terminate.
8. In the Origin Realm field, type the origin realm matching the Origin-Realm AVP value in the
message.
A blank value routes all origin-realms.
Note: To display the Origin Realm field, from the Action list, select Reject, Redirect, or Terminate.
Note: Depending upon the Action that you select, the Destination list and associated paramenters
might not appear.
16. (Optional) Click More Options, and then, in the Description field, type a description for the
configured routing decision.
17. In the Origin Host field, type an identifier for the originating server, for example,
siteserver.f5.com.
If the Origin Host setting is not specified, the BIG-IP system host is used.
Note: To display the Origin Host field, from the Action list, select Reject, Redirect, or Terminate.
18. In the Origin Realm field, type the origin realm matching the Origin-Realm AVP value in the
message.
A blank value routes all origin-realms.
Note: To display the Origin Realm field, from the Action list, select Reject, Redirect, or Terminate.
A routing decision is configured, specifying the protocol conditions and associated actions assigned to a
virtual server.
11
Using the Diameter Configuration Wizard
Important: You must use a Chrome browser when setting up and using the Diameter Configuration
Wizard. Browsers other than Chrome are not currently supported.
Task summary
You can configure the transformation of Attribute Value Pairs (AVPs) by using the Transformations tab,
preventing exposure of server topologies.
1. In the Diameter Configuration Wizard, click the Transformations tab.
The Transformation screen opens.
2. From the All Virtual Servers list, select the virtual server to which you want to assign the
transformation.
The default is All Virtual Servers.
3. From the Protocol list, select a protocol.
4. From the Attribute list, select an attribute.
5. From the Expression list, select an expression.
6. For the Value setting, do one of the following:
• From the Value list, select a value for the expression.
• In the Value field, type a value for the expression.
7. For each additional Attribute, click the plus (+) button to add the parameters, as necessary.
8. From the Operation list, select an operation.
9. From the Attribute list for the operation, select a protocol attribute.
10. For the Value setting, do one of the following:
• From the Value list, select a value for the expression.
• In the Value field, type a value for the expression.
11. For each additional Operation, click the plus (+) button to add the parameters, as necessary.
12. Click More Options.
13. (Optional) In the Description field, type a description for the transformation.
14. Select the check box for each transformation that you want to enable, and then click Enable.
The AVP transformations are configured, preventing exposure of server topologies
Important: You must use a Chrome browser when setting up and using the Diameter Configuration
Wizard. Browsers other than Chrome are not currently supported.
Task summary
12
BIG-IP Service Provider: Message Routing Administration
Important: For Master-Slave persistence, the specified AVP value for a Slave session must match the
specified AVP value for a Master session, in order for the Slave messages to be routed according to a
different protocol interface for a Master session.
9. From the AVP to use in Master Session for persistence list, select an AVP attribute.
10. Click Add Row to add another slave session protocol configuration, as necessary.
11. Click Save to save the session management configuration.
A session management configuration is available to provide a session timeout and session binding for
master-only or master-slave persistence sessions.
Important: You must use a Chrome browser when setting up and using the Diameter Configuration
Wizard. Browsers other than Chrome are not currently supported.
Task summary
13
Using the Diameter Configuration Wizard
14
BIG-IP Service Provider: Message Routing Administration
15
Using the Diameter Configuration Wizard
16
Configuring Diameter Load Balancing and Message
Routing
A typical Diameter message routing configuration with two realms involves configuring the following
items.
Functionality Description
Pool A pool for each realm directs Diameter traffic to servers.
Session profile A session profile for each realm configures a session as a set of messages between
two Diameter nodes on behalf of a user.
Transport An optional transport configuration for each realm defines how the BIG-IP system
configuration connects with the servers on your network when routing messages. You can assign
a transport configuration to a virtual server or peer, as needed.
Configuring Diameter Load Balancing and Message Routing
Functionality Description
Peer Each BIG-IP message-routing peer routes messages to a destination host. In this
example, BIG-IP message-routing peers route messages to 10.10.10.1:3868,
10.10.10.2:3868, and 10.10.10.3:3868.
Static Route Each static route specifies a set of peers in a destination realm to use in
forwarding messages. In this example, Realm-A includes Peer 1 , and Realm-B
includes Peer 2.
Router profile A router profile configures Diameter message routing parameters and static routes
to be used by a virtual server in routing Diameter messages.
Virtual server Manages Diameter traffic to and from each realm and pool members.
Functionality Description
Settings Configure timeout functionality, watchdog failures, and message size.
Persistence Configure persistence functionality, including a type, AVP, and timeout.
Rewrite Provide AVP rewriting to conceal clients from servers, as well as to conceal servers
from clients.
Capabilities When the Diameter session profile is configured as a proxy, the BIG-IP system
Handshake generates capabilities-exchange messages, sending a Capabilities-Exchange-
Request (CER) and responding with a Capabilities-Exchange-Answer (CEA), to
establish a diameter session with connected nodes.
You can apply different session profiles to different transport configurations, and then apply the different
transport configurations to different message routing peers, which point to different physical pools. You
can also apply different session profiles by applying one session profile to the transport configuration,
and a different session profile to the virtual server.
18
BIG-IP Service Provider: Message Routing Administration
If a peer does not specify a pool, the BIG-IP system uses the destination IP address and port of the
ingress message's connection. If a peer specifies a pool without pool members, the message is unroutable.
When you configure a message routing peer to use a transport configuration, you can enable that peer to
use auto-initialization functionality, which automatically creates outbound connections to active pool
members in the peer's specified pool. In order for the auto-initialization functionality to work, you need
to specify the peer in a static route, and then specify that static route in a router profile that is assigned to
a message routing virtual server, The BIG-IP system automatically initiates a connection for each router
profile that contains the peer. You enable auto-initialization functionality for a peer by selecting the
Auto-Initialization Enabled check box. Additionally, you can specify an Auto-Initialization Interval
value, which compensates for latency, to verify the connection between the BIG-IP system and pool
members (ranging from 500ms through 65535ms, with a default value of 5000ms). If a connection does
not exist, auto-initialization functionality attempts to reestablish a connection.
If a peer does not specify a transport configuration, the BIG-IP system uses the transport type of the
message's originating connection.
Condition Message
Election process results DIAMETER: Election process won | lost between peer peer-host-
name and big-ip-host-name.
19
Configuring Diameter Load Balancing and Message Routing
AVP Names
• ACCOUNTING-REALTIME-REQUIRED
• ACCOUNTING-RECORD-NUMBER
• ACCOUNTING-RECORD-TYPE
• ACCOUNTING-SUB-SESSION-ID
• ACCT-APPLICATION-ID
• ACCT-INTERIM-INTERVAL
• ACCT-MULTI-SESSION-ID
• ACCT-SESSION-ID
• AUTH-APPLICATION-ID
20
BIG-IP Service Provider: Message Routing Administration
• AUTH-GRACE-PERIOD
• AUTH-REQUEST-TYPE
• AUTH-SESSION-STATE
• AUTHORIZATION-LIFETIME
• CALLING-STATION-ID
• CLASS
• DESTINATION-HOST
• DESTINATION-REALM
• DISCONNECT-CAUSE
• E2E-SEQUENCE
• ERROR-MESSAGE
• ERROR-REPORTING-HOST
• EVENT-TIMESTAMP
• EXPERIMENTAL-RESULT
• EXPERIMENTAL-RESULT-CODE
• FAILED-AVP
• FIRMWARE-REVISION
• FRAMED-IP-ADDRESS
• HOST-IP-ADDRESS
• INBAND-SECURITY-ID
• MULTI-ROUND-TIME-OUT
• ORIGIN-HOST
• ORIGIN-REALM
• ORIGIN-STATE-ID
• PRODUCT-NAME
• PROXY-HOST
• PROXY-INFO
• PROXY-STATE
• RE-AUTH-REQUEST-TYPE
• REDIRECT-HOST
• REDIRECT-HOST-USAGE
• REDIRECT-MAX-CACHE-TIME
• RESULT-CODE
• ROUTE-RECORD
• SESSION-BINDING
• SESSION-ID
• SESSION-SERVER-FAILOVER
• SESSION-TIMEOUT
• SUBSCRIPTION-ID
• SUBSCRIPTION-ID-DATA
• SUBSCRIPTION-ID-TYPE
• SUPPORTED-VENDOR-ID
• TERMINATION-CAUSE
• USER-EQUIPMENT-INFO
• USER-EQUIPMENT-TYPE
• USER-EQUIPMENT-VALUE
• USER-NAME
• VENDOR-ID
21
Configuring Diameter Load Balancing and Message Routing
• VENDOR-SPECIFIC-APPLICATION-ID
Task summary
Complete these tasks to configure Diameter message routing on a BIG-IP® system.
Task list
22
BIG-IP Service Provider: Message Routing Administration
Note: If the number of device watchdog failures exceeds the specified value, and the Reset on
Timeout check box is selected, then the connection will be reset. If the number of device watchdog
failures is greater than 3 times the specified value, the connection will be reset, even if the Reset
on Timeout check box is cleared.
c) Select the Reset on Timeout check box to reset the connection when watchdog failures exceed
the specified number of maximum watchdog failures.
d) In the Watchdog Timeout field, type the number of seconds that a client-side or server-side
connection can be idle before a device watchdog request (DWR) is sent.
Setting Description
None Disables persistence.
AVP Enables persistence as determined by the AVP within the message.
Custom Enables persistence as determined by a custom key specified within an iRule.
b) In the Persist AVP field, type an expression for the session-key that identifies the Diameter AVP.
c) In the Persist Timeout field, type a timeout value for persistence entries in seconds.
8. For the Rewrite area, select the Custom check box and specify the following parameters.
a) In the Origin Host Rewrite field, type a value to use in rewriting the Origin-Host AVP on egress.
Note: This value applies to all Diameter messages and can override specified Capabilities
Handshake AVP values.
b) In the Origin Realm Rewrite field, type a value to use in rewriting the Origin-Realm AVP on
egress.
Note: This value applies to all Diameter messages and can override specified Capabilities
Handshake AVP values.
c) In the Destination Host Rewrite field, type a value to use in rewriting the Destination-Host AVP
on egress.
d) In the Destination Realm Rewrite field, type a value to use in rewriting the Destination-Realm
AVP on egress.
9. For the Capabilities Handshake area, select the Custom check box and specify the following
parameters.
Note: You must configure these settings to initiate Capabilities-Exchange-Request (CER) handshake
requests to downstream peers, as well as to provide Capabilities-Exchange-Answer (CEA) responses
to upstream peers within Device-Watchdog-Request (DWR), Device-Watchdog-Answer (DWA),
Disconnect-Peer-Request (DPR), and Disconnect-Peer-Answer (DPA) messages.
a) In the Origin Host field, type an identifier for the originating server, for example,
siteserver.f5.com.
If the Origin Host setting is not specified, the BIG-IP system host is used.
b) In the Origin Realm field, type an identifier for the originating realm, for example, f5.
If the Origin Realm setting is not specified, the BIG-IP system realm is used.
23
Configuring Diameter Load Balancing and Message Routing
c) In the Vendor ID field, type the vendor identification number assigned to the diameter server by
the Internet Assigned Numbers Authority (IANA).
d) In the Product Name field, type a vendor-assigned name for the product.
e) In the Authentication Application ID field, type the AAA identifier for a specific application.
f) In the Accounting Application ID field, type the accounting identifier for a specific application.
10. Click Finished.
The Diameter Session profile is configured to apply protocol parameters, as necessary
Creating a peer
In order to create a peer, you must first ensure that at least one transport configuration and one pool exist
in the BIG-IP® system configuration.
You create a peer to define how the BIG-IP system connects with the servers on your network, and to
which servers the system routes and load balances messages.
1. On the Main tab, click Local Traffic > Profiles > Message Routing > Diameter.
The Diameter session profiles list screen opens.
24
BIG-IP Service Provider: Message Routing Administration
Note: The configured Connection Mode, Number of Connections, and Ratio settings determine how
the BIG-IP system uses connections to pool members in delivering messages.
7. From the Pool list, select the pool of servers to which the system load balances Diameter messages.
If you configure only one peer on this BIG-IP system, ensure that you select a pool with only one
member.
Note: If a peer does not specify a pool, the BIG-IP system uses the destination IP address and port of
the ingress message's connection. If a peer specifies a pool without pool members, the message is
unroutable.
8. From the Transport Config list, select the transport configuration that defines the egress message
routing peer connection.
9. In the Number of Connections field, type the number of allowed connections between the BIG-IP
system and the servers in the selected pool.
10. In the Ratio field, type the ratio assigned to this peer for use within a static route.
11. Click Finished.
A peer determines how the BIG-IP system connects with the servers on your network, and to which
servers the system routes and load balances messages.
Note: The BIG-IP system can use multiple session profiles in a single routing instance, because a
different profile can be associated with each member of a pool.
1. On the Main tab, click Local Traffic > Profiles > Message Routing > Diameter.
25
Configuring Diameter Load Balancing and Message Routing
8. In the Origin Realm field, type the origin realm matching the Origin-Realm AVP value in the
message.
9. From the Virtual Server list, select the virtual server from which the system receives client requests
for this static route.
If you do not select a virtual server, the system uses this static route to route messages originating
from any client.
10. From the Peer Selection Mode list, select an option to specify how the system selects the Peer to
route a message to:
Option Description
Ratio Peer selection is based on the ratio that is set for each peer in the Selected list.
Sequential Peer selection is based on the order of the peers in the Selected list.
11. For the Peers setting, move, from the Available list to the Selected list, the peers that define the
servers to which the system load balances or routes messages.
Note: Entries in the Selected list are not prioritized; consequently, the order of items appearing in the
list is not enforced.
26
BIG-IP Service Provider: Message Routing Administration
8. Select the Use Local Connection check box to specify that connections established by the ingress
TMM are preferred to connections that are established by another TMM when selecting an egress
connection to a destination peer.
9. In the Maximum Pending Messages field, type the maximum number of pending messages held
while waiting for a connection to a peer to be created.
Note: If the specified value is reached, any additional messages to the peer will be undeliverable, and
held messages are delivered to the peer.
10. In the Maximum Pending Bytes field, type the maximum number of bytes contained within pending
messages that will be held while waiting for a connection to a peer to be created.
Note: If the specified value is reached, any additional messages to the peer will be undeliverable, and
held messages are delivered to the peer.
11. (Optional) For use with connection mirroring, configure the Traffic Group setting:
a) Clear the Inherit traffic group from current partition / path check box.
b) From the list, select a traffic group, such as, traffic-group-1
Important: Changing traffic groups with Connection Mirroring enabled drops all mirrored
connections and loses all persistence data. If you change traffic groups, mirroring must restart.
Note: For connection mirroring to properly function, this device must be a member of a device group.
13. In the HA Message Sweeper Interval field, type a value (in milliseconds) for the frequency of the
mirrored message sweeper.
14. In the Transaction Timeout field, type the maximum number of seconds the system allows for a
transaction, that is, the time between a request and response.
Note: When the system receives a provisional response, the timer restarts.
15. For the Static Routes setting, select a static route from the Available list, and move it to the Selected
list.
16. Click Finished.
The Diameter Router profile is configured to route traffic, as you have specified.
27
Configuring Diameter Load Balancing and Message Routing
Note: The IP address you type must be available and not in the loopback network.
Note: You can specify a different session profile, as needed, when configuring the transport
configuration that is assigned to a peer.
10. From the Router Profile list, select a Diameter router profile.
11. Click Finished.
The virtual server that references the Diameter session profile and Router profile appears in the Virtual
Server list.
Task summary
Perform these tasks to configure health monitors and apply the monitors to a pool:
28
BIG-IP Service Provider: Message Routing Administration
Tip: Hold the Shift or Ctrl key to select more than one monitor at a time.
4. Click Finished.
The new pool appears in the Pools list.
Task summary
29
Configuring Diameter Load Balancing and Message Routing
30
Using the SIP Configuration Wizard
Function Description
General Enables you to create one or more SIP applications, specifying the parameters for
Configuration inbound, outbound, and wildcard virtual servers to manage SIP and RTP message
traffic. Additionally, based on your configuration, you can enable session
persistence, and manage Via headers and route headers. Finally, you can specify the
SNAT functionality for each virtual server.
Transformation Enables you to configure a template that specifies transformation parameters for
conditions and actions, and apply them to a virtual server in a SIP application.
Tip: You can apply one or more templates to a virtual server. Also, you can apply
one template to multiple virtual servers, as necessary.
Logging Enables you to log request and response messages, as well as specific headers, and
specify a logging destination.
Headers Enables you to specify which SIP headers to make available for transformation.
Important: You must use a Chrome browser when setting up and using the SIP Configuration Wizard.
Only the Chrome browser is currently supported.
Tip: Workflow messages appear in the yellow banner to help guide you during the configuration of SIP
message routing functionality.
Task summary
Note: To download the SIP Configuration Wizard RPM package, click the product line iAppLX
Templates.
3. Click the name of the version of the product you want to download.
Note: The name appears as iAppLX_Templates and the version appears as iAppLX.
4. Read the End User License Agreement, and click the I Accept button if you agree with the terms.
The Select a Download screen opens.
5. Click the name of the file you want to download.
7. Click Upload.
The SIP Configuration Wizard RPM package uploads to the Applications Service List screen.
The latest SIP Configuration wizard file is imported and available on the Applications LX screen.
32
BIG-IP Service Provider: Message Routing Administration
Task summary
a) In the Virtual Server IP field, type the IP address for the virtual server.
b) In the Netmask field, type a value for the netmask.
c) In the Port field, type a value for the ingress port for the virtual server.
d) From the Type list, select a type of virtual server: SIP or RTP (forward).
Destination Description
Pool Load balances traffic across pool members.
Route by URI Routes messages based on the URI (forwards messages to the IP address
of the domain SIP proxy server associated with the Request-URI) in the
SIP header. Resolves Name Authority Pointer (NAPTR) resource records.
Forward For a wildcard virtual server using RTP, routes messages using the
Transport Destination IP Address of the message. No pool is required.
h) Click More Options.
i) In the Vlan List list, select a VLAN for the virtual server, for example, internal, external, or HA.
j) For a Route by URI destination, in the DNS Pool Members area, type an IP address and port
number.
33
Using the SIP Configuration Wizard
Note: You must configure a DNS pool member IP address and port number before you can add
another DNS pool member.
l) Select the Session Persistence check box to enable session persistence.
m) Select the Insert Via Header check box to insert a top Via Header at the egress side of the flow,
after the SIP_REQUEST_SEND event.
n) Select the Honor Via Header check box to honor a Via header that was inserted by a system other
than the BIG-IP system.
o) Select the Insert Record-Route Header check box to insert a record-route header, that is, the
local-IP address and port of the flow the system uses to forward the message.
p) Select the Honor Route Header check box to honor a Route header that was inserted by a system
other than the BIG-IP system.
q) From the SNAT list, select the one of the options:
• none.
• automap.
• snatpool.
1. In the IP address field, type an IP address.
2. Click the plus (+) button to add an IP address, as necessary.
r) For a Pool destination, in the Destination Pool Members area, type an IP address and port number.
Note: You must configure a destination pool member IP address and port number before you can
add another destination pool member.
Task summary
AND logical operators for multiple headers and actions within a condition
When you create a condition, you can configure two or more headers and actions that use AND logic
within that condition. For example, you can create a condition with two headers, a and b, which uses
AND logic when that condition is used by the transformation. This means that all headers within a
condition must succeed in order to be used by a transformation.
Similarly, when you configure multiple actions for a header, AND logic determines if all matching
actions for the header succeed. For example, you can create a condition with a header configured with
two or more actions. The matching strategy uses AND logic to determine if all configured actions match.
34
BIG-IP Service Provider: Message Routing Administration
Examples
These examples show the logical operation of three headers (a, b, and c) and two conditions
(condition1 and condition2).
In this first example, consider the following scenario, where you want to match header a or b, and c ((a |
b) & c). You can configure this logic by creating condition1 to use headers a and c (a & c), and
condition2 to use headers b and c (b & c). The result is when condition1 matches the strategy,
headers a and c (a & c) are used for transformation, or when condition2 matches, headers b and c (b
& c) are used for transformation.
In this second example, consider the scenario where you want to match headers a and b, or c ((a & b) |
c). You can configure this logic by creating condition1 to use headers a and b, and condition2 to use
header c. The result is when condition1 matches the strategy, both headers a and b are used for
transformation, or when condition2 matches the strategy, header c is used for transformation.
35
Using the SIP Configuration Wizard
Task summary
Tip: Select the All Requests check box to log all of the requests in the requests list.
3. In the Messages to Log area, select the check box for each response to log.
Tip: Select the All Responses check box to log all of the responses in the responses list.
4. In the Apply logging to following Virtual Servers setting, click the arrow to select the virtual
servers to which you want to apply logging.
5. In the Headers to log area, select the headers to log.
Tip: Select the Log all Headers check box to log all headers in the headers list.
6. To log additional headers excluded from the Headers to log area, in the Custom Headers area, click
the arrow in the Select Headers field, and then click each header that you want to log.
7. In the Log Destination area, click the arrow to select a log destination.
Task summary
36
BIG-IP Service Provider: Message Routing Administration
37
Using the SIP Configuration Wizard
38
Configuring SIP Load Balancing
Task summary
Note: When a client Via header only specifies an address, without specifying a port, the BIG-IP® system
uses default port 5060. For example, if a client sends a request with Via header SIP/2.0/TCP
192.168.20.1, in SIP session traffic scenario 1 (default), the BIG-IP system sends a response to the
client with Via header SIP/2.0/TCP 192.168.20.1/5060.
When configuring this scenario, the following SIP Session Profile settings apply.
When configuring this scenario, the following SIP Session Profile settings apply.
40
BIG-IP Service Provider: Message Routing Administration
provides a response, the BIG-IP system removes the Via2 header from the response, before forwarding
the response to the client. If the originating connection no longer exists, then the Via header that BIG-IP
system inserted is no longer available; consequently, the BIG-IP system uses the next available Via
header, but, because the Honor Via setting is Disabled, the BIG-IP system does not forward the message
to the client IP address and port specified by that Via header.
When configuring this scenario, the following SIP Session Profile settings apply.
When configuring this scenario, the following SIP Session Profile settings apply.
41
Configuring SIP Load Balancing
When configuring this scenario, the following SIP Session Profile settings apply.
When configuring this scenario, the following SIP Session Profile settings apply.
42
BIG-IP Service Provider: Message Routing Administration
Task summary
Complete these tasks to configure SIP message routing on a BIG-IP® system.
Task list
43
Configuring SIP Load Balancing
Option Description
Session Persistence is enabled.
None Persistence is disabled.
7. In the Persist Timeout (seconds) field, type the number of seconds before a SIP session persistence
record expires.
8. Click Finished.
Creating a pool
You can create a pool of servers that you can group together to receive and process traffic.
1. On the Main tab, click Local Traffic > Pools.
The Pool List screen opens.
2. Click Create.
The New Pool screen opens.
3. In the Name field, type a unique name for the pool.
4. Using the New Members setting, add each resource that you want to include in the pool:
a) (Optional) In the Node Name field, type a name for the node portion of the pool member.
b) In the Address field, type an IP address.
c) In the Service Port field, type a port number, or select a service name from the list.
d) (Optional) In the Priority field, type a priority number.
e) Click Add.
5. Click Finished.
6. Repeat these steps for each pool you want to create.
The new pool appears in the Pools list.
Creating a peer
Ensure that at least one transport config and one pool exist in the BIG-IP® system configuration.
Create a peer to define how the BIG-IP system connects with the servers on your network and to which
servers the system routes and load balances SIP messages.
44
BIG-IP Service Provider: Message Routing Administration
1. On the Main tab, click Local Traffic > Profiles > Message Routing > SIP.
The SIP session profiles list screen opens.
2. On the menu bar, click Peers.
The Peers list screen opens.
3. Click Create.
The New Peers screen opens.
4. In the Name field, type a unique name for the peer.
5. In the Description field, type a description of the peer.
6. From the Connection Mode list, specify how connections are limited for this peer. The options are:
Option Description
Per Blade The number of connections to this peer is per blade on a VIPRION system.
Per Peer The number of connections to this peer is per peer.
Per TMM The number of connections to this peer is per TMM on the BIG-IP system.
Per Client The number of connections to a remote host is per client connection.
7. From the Pool list, select the pool of servers to which the system load balances SIP messages.
In the case where the calls should be always sent to a single SIP Server, you will still need to create a
pool with a single member (the SIP Server), and add the same to the peer.
8. From the Transport Config list, select the transport config that defines how the BIG-IP system
communicates with the servers on your network.
9. Click Finished.
Note: The BIG-IP system can use multiple SIP session profiles in a single routing instance, because a
different profile can be associated with each member of a pool.
1. On the Main tab, click Local Traffic > Profiles > Message Routing > SIP.
The SIP session profiles list screen opens.
2. On the menu bar, click Static Routes.
The Static Routes list screen opens.
3. Click Create.
The New Route screen opens.
4. In the Name field, type a unique name for the static route.
5. In the Request URI field, type the value found in the request-uri of a SIP message that the system
matches when routing a message.
6. In the From URI field, type the value found in the From field of a SIP message that the system
matches when routing a message.
7. In the To URI field, type the value found in the To field of a SIP message that the system matches
when routing a message.
8. From the Virtual Server list, select the virtual server from which the system receives client requests
for this static route.
45
Configuring SIP Load Balancing
If you do not select a virtual server, the system uses this static route to route SIP messages originating
from any client.
9. From the Peer Selection Mode field, select how the system selects the Peer to route a SIP message
to:
Option Description
Ratio Peer selection is based on the ratio that is set for each peer in the Selected list.
Sequential Peer selection is based on the order of the peers in the Selected list.
10. For the Peers setting, move the peers that define the servers to which the system load balances SIP
messages from the Available list to the Selected list.
11. Click Finished.
Note: A SIP routing profiles binds the virtual server that processes SIP requests from clients with the
peers that connect with the servers on your SIP network.
1. On the Main tab, click Local Traffic > Profiles > Message Routing > SIP.
The SIP transport config list screen opens.
2. On the menu bar, click Router Profiles.
The Router Profiles list screen opens.
3. Click Create.
The New SIP Router Profile screen opens.
4. In the Name field, type a unique name for the SIP router profile.
5. In the Settings area, select the Custom check box.
6. From the Operation Mode list, select Load Balancing.
7. (Optional) To use connection mirroring, configure the Traffic Group setting.
a) Clear the Inherit traffic group from current partition / path check box.
b) From the list, select a traffic group, such as, traffic-group-1.
Important: Changing traffic groups, with Connection Mirroring enabled, drops all mirrored
connections and loses all persistence data. If you change traffic groups, mirroring must restart.
Note: The traffic group for the virtual address and mirrored attribute are overwritten by the attached
router profile.
Note: For connection mirroring to properly function, this device must be a member of a device group.
9. In the Mirrored Message Sweeper Interval field, type the milliseconds for the frequency of the
mirrored message sweeper.
10. For the Static Routes setting, move routes that define how the BIG-IP system load balances SIP
traffic from the Available list to the Selected list.
11. Click Finished.
46
BIG-IP Service Provider: Message Routing Administration
47
Configuring SIP Load Balancing
connection independent of a specific SIP session and marks a host that had been marked down, but is
online again, as available.
Task summary
Perform these tasks to configure health monitors and apply the monitors to a pool:
Tip: Hold the Shift or Ctrl key to select more than one monitor at a time.
4. Click Finished.
The new pool appears in the Pools list.
Task summary
48
BIG-IP Service Provider: Message Routing Administration
49
Configuring SIP Load Balancing
50
Configuring a SIP Message Routing Firewall
Note: When using ALG functionality, you cannot use a SIP router profile with an operation mode that is
configured to use load balancing settings. Instead, you need to use a SIP router profile with the operation
mode configured to use Application Level Gateway settings.
Task summary
Note: If you do not want to configure mirroring functionality, you can configure a virtual server to use
the default settings provided in the preconfigured siprouter-alg profile.
1. On the Main tab, click Local Traffic > Profiles > Message Routing > SIP.
The SIP session profiles list screen opens.
2. On the menu bar, click Router Profiles.
The Router Profiles list screen opens.
3. Click Create.
The New Router Profiles screen opens.
4. In the Name field, type a unique name for the router profile.
5. In the Settings area, select the Custom check box.
6. From the Operation Mode list, select Application Level Gateway.
7. To use connection mirroring, configure the Traffic Group setting.
Configuring a SIP Message Routing Firewall
a) Clear the Inherit traffic group from current partition / path check box.
b) From the list, select a traffic group, such as, traffic-group-1.
Important: Changing traffic groups, with Connection Mirroring enabled, drops all mirrored
connections and loses all persistence data. If you change traffic groups, mirroring must restart.
Note: The traffic group for the virtual address and mirrored attribute are overwritten by the attached
router profile.
Note: For connection mirroring to properly function, this device must be a member of a device group.
9. In the Mirrored Message Sweeper Interval field, type the milliseconds for the frequency of the
mirrored message sweeper.
10. Click Finished.
A SIP router profile appears in the Router Profiles list.
Note: The IP address for this field needs to be on the same subnet as the external self-IP.
Note: For a SIP firewall configuration, you can use the sipsession-alg profile.
11. From the Router Profile list, select a SIP router profile.
Note: For a SIP firewall configuration without mirroring, you can use the siprouter-alg profile. For a
SIP firewall configuration with mirroring, you must use a router profile configured for mirroring.
12. Complete the following steps to disable all translation functionality on the virtual server.
52
BIG-IP Service Provider: Message Routing Administration
53
Configuring a SIP Message Routing Firewall
54
Legal Notices
Legal notices
Publication Date
This document was published on June 15, 2018.
Publication Number
MAN-0653-01
Copyright
Copyright © 2018, F5 Networks, Inc. All rights reserved.
F5 Networks, Inc. (F5) believes the information it furnishes to be accurate and reliable. However, F5
assumes no responsibility for the use of this information, nor any infringement of patents or other rights
of third parties which may result from its use. No license is granted by implication or otherwise under
any patent, copyright, or other intellectual property right of F5 except as specifically described by
applicable user licenses. F5 reserves the right to change specifications at any time without notice.
Trademarks
For a current list of F5 trademarks and service marks, see http://www.f5.com/about/guidelines-policies/
trademarks.
All other product and company names herein may be trademarks of their respective owners.
Patents
This product may be protected by one or more patents indicated at: https://f5.com/about-us/policies/
patents.
RF Interference Warning
This is a Class A product. In a domestic environment this product may cause radio interference, in which
case the user may be required to take adequate measures.
FCC Compliance
This equipment has been tested and found to comply with the limits for a Class A digital device pursuant
to Part 15 of FCC rules. These limits are designed to provide reasonable protection against harmful
interference when the equipment is operated in a commercial environment. This unit generates, uses, and
can radiate radio frequency energy and, if not installed and used in accordance with the instruction
manual, may cause harmful interference to radio communications. Operation of this equipment in a
Legal Notices
residential area is likely to cause harmful interference, in which case the user, at his own expense, will be
required to take whatever measures may be required to correct the interference.
Any modifications to this device, unless expressly approved by the manufacturer, can void the user's
authority to operate this equipment under part 15 of the FCC rules.
Standards Compliance
This product conforms to the IEC, European Union, ANSI/UL and Canadian CSA standards applicable to
Information Technology products at the time of manufacture.
56
Index
Index
A Diameter profile (continued)
creating static profile 25
ALG Diameter routing decision
for SIP firewall 51 configuring 10
Application Level Gateway, See ALG Diameter routing destinations
configuring 9
Diameter servers
C about monitoring 17
custom monitors Diameter service requests
creating inband 45 about election process for connections 19
creating SIP 48 about message routing 17
about peer selection 19
Diameter session management
D configuring 12
Diameter session profile
Diameter
viewing statistics 29
about checking pool member health 28
Diameter traffic
creating peers 24
creating a pool 22
creating transport configs 24
Diameter transformation
Diameter Configuration Wizard
configuring 12
about dictionaries 13
Diameter virtual server
about routing 10
configuring 7
about session management 12
about setting up 5
about System Configuration tab 7 H
about Transformations 11
downloading rpm package 6 host names
importing rpm package 6 and pool members 39
opening 7
overview 5 I
saving configuration 14
Diameter dictionary file Inband monitor
deleting 14 creating 45
downloading 13
modifying 13
renaming 14
M
uploading 14 message routing peers
Diameter list of values about 18
configuring 10
Diameter message routing
about mirroring 20 P
Diameter message routing configuration
peers
tasks for 22
creating 24, 44
Diameter monitors
pool member health
creating 28
about checking 28, 47
Diameter node
pool members
configuring 8
about automatic update 39
Diameter peers
pools
about election process for connections 19
and adding health monitors 28, 48
about selection 19
creating 44
Diameter pool
creating to manage Diameter traffic 22
configuring 8
profiles
Diameter profile
creating SIP application 33
about router profile 20
creating SIP session 43
about session profile 18
about static routes 20
AVP names 20 S
creating router profile 26
creating session profile 22 Session Initiation Protocol, See SIP
57
Index
SIP T
about checking pool member health 47
about statistics 29, 48 transport configs
creating peers 24, 44 creating 24, 44
creating transport configs 44
SIP application
creating 33
V
SIP configuration wizard Via header
configuring logging 36 about request and response processing 39
SIP Configuration Wizard virtual servers
about General Configuration tab 33 assigning SIP session and router profiles 47
about headers 36 creating for Diameter traffic 27
about logging 36 creating for SIP firewall 52
about setting up 31
about Transformations tab 34
downloading RPM package 31
importing RPM package 32
opening 32
overview 31
saving configuration 37
SIP configuration wizard template
about actions logic 34
about conditions logic 34
about headers logic 34
SIP firewall
about configuring 51
creating virtual servers for 52
SIP header
creating 36
deleting 37
modifying 37
SIP message routing configuration
tasks for 43
SIP monitor
creating 48
SIP profile
Via header processing 39
SIP proxy
and required configuration objects 43, 47
creating router profile 46
viewing statistics 46
SIP router profile
assigning to a virtual server 47
viewing statistics 29, 49
SIP Routing Profile
creating for firewall 51
SIP session profile
assigning to a virtual server 47
creating 43
viewing statistics 48
SIP transformation
creating 35
SIP transformation template
creating 35
statistics
about viewing for SIP 29, 48
viewing for SIP proxy 46
viewing per Diameter router profile 29
viewing per Diameter session profile 29
viewing per SIP router profile 49
viewing per SIP session profile 48
58