Configure the SIP virtual service using the configure virtualservice command.

The configure virtualservice command accepts the following fields:

  • services

    • port– 5060

    • port_range_end – 5060

  • vip

    • ip_address

  • application_profile_ref– application profile created in the earlier section sip_app

  • pool_ref – pool created in the earlier section sip_pool

  • network_profile_ref

SIP Application/Load Balancing using UDP-Proxy

Select the application profile created earlier and then select network profile, that is, TCP/UDP profile as System-UDP-Proxy.

SIP Application and Load Balancing using TCP-Proxy

Select the application profile created earlier and then select network profile, that is, TCP/UDP profile as System-TCP-Proxy.

The CLI command is as follows:

[admin:10-X-X-X]: > configure virtualservice sip_vs
[admin:10-X-X-X]: virtualservice> services
New object being created
[admin:10-X-X-X]: virtualservice:services> port 5060
[admin:10-X-X-X]: virtualservice:services> port_range_end 5060
[admin:10-X-X-X]: virtualservice:services> exit

[admin:10-X-X-X]: virtualservice> vip
New object being created
[admin:10-X-X-X]: virtualservice:vip> ip_address 10.10.10.10
[admin:10-X-X-X]: virtualservice:vip> exit

[admin:10-X-X-X]: virtualservice> application_profile_ref sip_app
[admin:10-X-X-X]: virtualservice> pool_ref sip_pool

[admin:10-X-X-X]: virtualservice> network_profile_ref System-UDP-Proxy
[admin:10-X-X-X]: virtualservice> save
+------------------------------------+-----------------------------------------------------+
| Field                              | Value                                               |
+------------------------------------+-----------------------------------------------------+
| uuid                               | virtualservice-8f25448f-4b89-46fb-a3e3-34719933160a |
| name                               | sip_vs                                              |
| enabled                            | True                                                |
| services[1]                        |                                                     |
|   port                             | 5060                                                |
|   enable_ssl                       | False                                               |
|   port_range_end                   | 5060                                                |
| application_profile_ref            | sip_app                                             |
| network_profile_ref                | System-UDP-Proxy                                    |
| pool_ref                           | sip_pool                                            |
| se_group_ref                       | Default-Group                                       |
| vrf_context_ref                    | global                                              |
| enable_autogw                      | True                                                |
| analytics_profile_ref              | System-Analytics-Profile                            |
| weight                             | 1                                                   |
| delay_fairness                     | False                                               |
| max_cps_per_client                 | 0                                                   |
| limit_doser                        | False                                               |
| type                               | VS_TYPE_NORMAL                                      |
| cloud_type                         | CLOUD_NONE                                          |
| use_bridge_ip_as_vip               | False                                               |
| flow_dist                          | LOAD_AWARE                                          |
| ign_pool_net_reach                 | False                                               |
| ssl_sess_cache_avg_size            | 1024                                                |
| remove_listening_port_on_vs_down   | False                                               |
| close_client_conn_on_config_update | False                                               |
| bulk_sync_kvcache                  | False                                               |
| tenant_ref                         | admin                                               |
| cloud_ref                          | Default-Cloud                                       |
| east_west_placement                | False                                               |
| scaleout_ecmp                      | False                                               |
| active_standby_se_tag              | ACTIVE_STANDBY_SE_1                                 |
| flow_label_type                    | NO_LABEL                                            |
| vip[1]                             |                                                     |
|   vip_id                           | 0                                                   |
|   ip_address                       | 10.10.10.10                                         |
|   enabled                          | True                                                |
|   auto_allocate_ip                 | False                                               |
|   auto_allocate_floating_ip        | False                                               |
|   avi_allocated_vip                | False                                               |
|   avi_allocated_fip                | False                                               |
| vsvip_ref                          | vsvip-845HoA                                        |
| use_vip_as_snat                    | False                                               |
| traffic_enabled                    | True                                                |
+------------------------------------+-----------------------------------------------------+