In this section:

Standalone SBC

Example Metavariable Table

The image below shows example metavariables for Standalone SBC:

CE NAME            NAME          VALUE
-------------------------------------------------
vsbc1-10.54.25.79  IF0.GWV4      10.54.24.1
vsbc1-10.54.25.79  IF0.IPV4      10.54.24.6
vsbc1-10.54.25.79  IF0.Port      Mgt0
vsbc1-10.54.25.79  IF0.RNat      True
vsbc1-10.54.25.79  IF1.GWV4      10.54.25.1
vsbc1-10.54.25.79  IF1.IPV4      10.54.25.79
vsbc1-10.54.25.79  IF1.Port      Ha0
vsbc1-10.54.25.79  IF1.RNat      True
vsbc1-10.54.25.79  IF2.GWV4      10.54.26.1
vsbc1-10.54.25.79  IF2.IPV4      10.54.26.162
vsbc1-10.54.25.79  IF2.Port      Pkt0
vsbc1-10.54.25.79  IF2.RNat      False
vsbc1-10.54.25.79  IF3.GWV4      10.54.27.1
vsbc1-10.54.25.79  IF3.IPV4      10.54.27.166
vsbc1-10.54.25.79  IF3.Port      Pkt1
vsbc1-10.54.25.79  IF3.RNat      False
vsbc1-10.54.25.79  IF0.FIPV4     104.197.229.98
vsbc1-10.54.25.79  IF0.PrefixV4  24
vsbc1-10.54.25.79  IF1.PrefixV4  32
vsbc1-10.54.25.79  IF2.PrefixV4  32
vsbc1-10.54.25.79  IF3.PrefixV4  32


CLI Configuration for Basic Pass-through Call

To configure a Standalone SBC on GCP for handling basic pass-through calls, use the example commands given below:

set addressContext default ipInterfaceGroup LIF1 ipInterface F1 portName pkt0 ipVarV4 IF2.IPV4 prefixVarV4 IF2.PrefixV4 state enabled mode inService
commit
set addressContext default ipInterfaceGroup LIF2 ipInterface F2 portName pkt1 ipVarV4 IF3.IPV4 prefixVarV4 IF3.PrefixV4 state enabled mode inService
commit
set addressContext default zone ZONE1 id 2
commit
set addressContext default zone ZONE1 sipSigPort 1 portNumber 5060 transportProtocolsAllowed sip-tcp,sip-udp ipInterfaceGroupName LIF1 ipVarV4 IF2.IPV4 
commit

set addressContext default zone ZONE1 sipSigPort 1 mode inService state enabled
commit
set addressContext default zone ZONE2 id 3
commit
set addressContext default zone ZONE2 sipSigPort 3 portNumber 5060 transportProtocolsAllowed sip-tcp,sip-udp ipInterfaceGroupName LIF2 ipVarV4 IF3.IPV4
commit

set addressContext default zone ZONE2 sipSigPort 3 state enabled mode inService
commit


set addressContext default zone ZONE1 sipTrunkGroup INGRESS_TG mode inService state enabled media mediaIpInterfaceGroupName LIF1
commit
set addressContext default zone ZONE1 sipTrunkGroup INGRESS_TG ingressIpPrefix 10.54.26.8 32
commit
set addressContext default zone ZONE2 sipTrunkGroup EGRESS_TG mode inService state enabled media mediaIpInterfaceGroupName LIF2
commit
set addressContext default zone ZONE2 ipPeer EGRESS_PEER ipAddress 10.54.27.7 ipPort 7088
commit
set global callRouting routingLabel CLOUD routingLabelRoute 0 ipPeer EGRESS_PEER trunkGroup EGRESS_TG 
commit
set global callRouting route trunkGroup INGRESS_TG VSBCSYSTEM standard 98402 1 all all ALL none Sonus_NULL routingLabel CLOUD
commit
set profiles signaling ipSignalingProfile IPSP_A
commit
set profiles signaling ipSignalingProfile IPSP_B
commit
set addressContext default zone ZONE1 sipTrunkGroup INGRESS_TG policy signaling ipSignalingProfile IPSP_A
commit
set addressContext default zone ZONE2 sipTrunkGroup EGRESS_TG policy signaling ipSignalingProfile IPSP_B
commit
set profiles media packetServiceProfile PSP_A codec codecEntry1 G711-DEFAULT
commit
set profiles media packetServiceProfile PSP_B codec codecEntry1 G711-DEFAULT
commit

set addressContext default zone ZONE1 sipTrunkGroup INGRESS_TG policy media packetServiceProfile PSP_A
commit
set addressContext default zone ZONE2 sipTrunkGroup EGRESS_TG policy media packetServiceProfile PSP_B
commit


#####Mandatory########
set addressContext default staticRoute 10.54.26.1 32 0.0.0.0 LIF1 F1 preference 100
commit
set addressContext default staticRoute 10.54.27.1 32 0.0.0.0 LIF2 F2 preference 100
commit
set addressContext default staticRoute 0.0.0.0 0 10.54.26.1 LIF1 F1 preference 100
commit
set addressContext default staticRoute 0.0.0.0 0 10.54.27.1 LIF2 F2 preference 100
commit
set addressContext default staticRoute 10.54.26.0 24 10.54.26.1 LIF1 F1 preference 100
commit
set addressContext default staticRoute 10.54.27.0 24 10.54.27.1 LIF2 F2 preference 100
commit


####SIPP#####
set addressContext default staticRoute 10.54.26.8 32 10.54.26.1 LIF1 F1 preference 100
commit
set addressContext default staticRoute 10.54.27.7 32 10.54.27.1 LIF2 F2 preference 100
commit


SBC HA with HFE2.1 on GCP

Example Metavariable Table

The image below shows example metavariables for SBC HA with HFE2.1 on GCP:

CE NAME            NAME                  VALUE            
----------------------------------------------------------
vsbc1-10.54.25.76  IF0.GWV4              10.54.24.1      
vsbc1-10.54.25.76  IF0.IPV4              10.54.24.234    
vsbc1-10.54.25.76  IF0.Port              Mgt0            
vsbc1-10.54.25.76  IF0.RNat              True            
vsbc1-10.54.25.76  IF1.GWV4              10.54.25.1      
vsbc1-10.54.25.76  IF1.IPV4              10.54.25.76     
vsbc1-10.54.25.76  IF1.Port              Ha0             
vsbc1-10.54.25.76  IF1.RNat              True            
vsbc1-10.54.25.76  IF2.GWV4              10.0.98.1       
vsbc1-10.54.25.76  IF2.IPV4              10.0.98.84      
vsbc1-10.54.25.76  IF2.Port              Pkt0            
vsbc1-10.54.25.76  IF2.RNat              True            
vsbc1-10.54.25.76  IF3.GWV4              10.0.99.1       
vsbc1-10.54.25.76  IF3.IPV4              10.0.99.166     
vsbc1-10.54.25.76  IF3.Port              Pkt1            
vsbc1-10.54.25.76  IF3.RNat              True            
vsbc1-10.54.25.76  IF0.FIPV4             35.225.210.192  
vsbc1-10.54.25.76  IF0.PrefixV4          24              
vsbc1-10.54.25.76  IF1.PrefixV4          32              
vsbc1-10.54.25.76  IF2.PrefixV4          32              
vsbc1-10.54.25.76  IF3.PrefixV4          32              
vsbc1-10.54.25.76  HFE_IF2.FIPV4         35.238.94.73    
vsbc1-10.54.25.76  HFE_IF3.FIPV4         10.54.27.162    
vsbc1-10.54.25.76  HFE_IF2.IFName        IF_HFE_PKT0     
vsbc1-10.54.25.76  HFE_IF3.IFName        IF_HFE_PKT1    
vsbc1-10.54.25.76  secondaryIPList.Pkt0  ['10.0.98.84']  
vsbc1-10.54.25.76  secondaryIPList.Pkt1  ['10.0.99.166']
vsbc2-10.54.25.43  IF0.GWV4              10.54.24.1      
vsbc2-10.54.25.43  IF0.IPV4              10.54.24.233    
vsbc2-10.54.25.43  IF0.Port              Mgt0            
vsbc2-10.54.25.43  IF0.RNat              True            
vsbc2-10.54.25.43  IF1.GWV4              10.54.25.1      
vsbc2-10.54.25.43  IF1.IPV4              10.54.25.43     
vsbc2-10.54.25.43  IF1.Port              Ha0             
vsbc2-10.54.25.43  IF1.RNat              True            
vsbc2-10.54.25.43  IF2.GWV4              10.0.98.1       
vsbc2-10.54.25.43  IF2.IPV4              10.0.98.84      
vsbc2-10.54.25.43  IF2.Port              Pkt0            
vsbc2-10.54.25.43  IF2.RNat              True            
vsbc2-10.54.25.43  IF3.GWV4              10.0.99.1       
vsbc2-10.54.25.43  IF3.IPV4              10.0.99.166     
vsbc2-10.54.25.43  IF3.Port              Pkt1            
vsbc2-10.54.25.43  IF3.RNat              True            
vsbc2-10.54.25.43  IF0.FIPV4             35.239.231.30
vsbc2-10.54.25.43  IF0.PrefixV4          24              
vsbc2-10.54.25.43  IF1.PrefixV4          32              
vsbc2-10.54.25.43  IF2.PrefixV4          32              
vsbc2-10.54.25.43  IF3.PrefixV4          32              
vsbc2-10.54.25.43  HFE_IF2.FIPV4         35.238.94.73    
vsbc2-10.54.25.43  HFE_IF3.FIPV4         10.54.27.162    
vsbc2-10.54.25.43  HFE_IF2.IFName        IF_HFE_PKT0     
vsbc2-10.54.25.43  HFE_IF3.IFName        IF_HFE_PKT1     
vsbc2-10.54.25.43  secondaryIPList.Pkt0  ['10.0.98.14']  
vsbc2-10.54.25.43  secondaryIPList.Pkt1  ['10.0.99.93']


CLI Configuration for Basic Pass-through Calls

To configure a SBC HA with HFE2.1 on GCP for handling basic pass-through calls, use the example commands given below:

set addressContext default ipInterfaceGroup LIF1 ipInterface F1 portName pkt0 ipVarV4 IF2.IPV4 ipPublicVarV4 HFE_IF2.FIPV4 prefixVarV4 IF2.PrefixV4 state enabled mode inService
commit
set addressContext default ipInterfaceGroup LIF2 ipInterface F2 portName pkt1 ipVarV4 IF3.IPV4 ipPublicVarV4 HFE_IF3.FIPV4 prefixVarV4 IF3.PrefixV4 state enabled mode inService
commit
set addressContext default zone ZONE1 id 2
commit
set addressContext default zone ZONE1 sipSigPort 1 portNumber 5060 transportProtocolsAllowed sip-tcp,sip-udp ipInterfaceGroupName LIF1 ipVarV4 IF2.IPV4 ipPublicVarV4 HFE_IF2.FIPV4
commit

set addressContext default zone ZONE1 sipSigPort 1 mode inService state enabled
commit
set addressContext default zone ZONE2 id 3
commit
set addressContext default zone ZONE2 sipSigPort 3 portNumber 5060 transportProtocolsAllowed sip-tcp,sip-udp ipInterfaceGroupName LIF2 ipVarV4 IF3.IPV4 ipPublicVarV4 HFE_IF3.FIPV4
commit

set addressContext default zone ZONE2 sipSigPort 3 state enabled mode inService
commit


set addressContext default zone ZONE1 sipTrunkGroup INGRESS_TG mode inService state enabled media mediaIpInterfaceGroupName LIF1
commit
set addressContext default zone ZONE1 sipTrunkGroup INGRESS_TG ingressIpPrefix 35.239.94.239 32
commit
set addressContext default zone ZONE1 sipTrunkGroup INGRESS_TG ingressIpPrefix 10.54.24.5 32
commit
set addressContext default zone ZONE2 sipTrunkGroup EGRESS_TG mode inService state enabled media mediaIpInterfaceGroupName LIF2
commit
set addressContext default zone ZONE2 ipPeer EGRESS_PEER ipAddress 10.54.27.7 ipPort 7088
commit
set global callRouting routingLabel CLOUD routingLabelRoute 0 ipPeer EGRESS_PEER trunkGroup EGRESS_TG 
commit
set global callRouting route trunkGroup INGRESS_TG VSBCSYSTEM standard 98402 1 all all ALL none Sonus_NULL routingLabel CLOUD
commit
set profiles signaling ipSignalingProfile IPSP_A
commit
set profiles signaling ipSignalingProfile IPSP_B
commit
set addressContext default zone ZONE1 sipTrunkGroup INGRESS_TG policy signaling ipSignalingProfile IPSP_A
commit
set addressContext default zone ZONE2 sipTrunkGroup EGRESS_TG policy signaling ipSignalingProfile IPSP_B
commit
set profiles media packetServiceProfile PSP_A codec codecEntry1 G711-DEFAULT
commit
set profiles media packetServiceProfile PSP_B codec codecEntry1 G711-DEFAULT
commit

set addressContext default zone ZONE1 sipTrunkGroup INGRESS_TG policy media packetServiceProfile PSP_A
commit
set addressContext default zone ZONE2 sipTrunkGroup EGRESS_TG policy media packetServiceProfile PSP_B
commit

###Mandatory####
set addressContext default staticRoute 10.0.98.1 32 0.0.0.0 LIF1 F1 preference 100
set addressContext default staticRoute 0.0.0.0 0 10.0.98.1 LIF1 F1 preference 100
set addressContext default staticRoute 10.0.99.1 32 0.0.0.0 LIF2 F2 preference 100
set addressContext default staticRoute 0.0.0.0 0 10.0.99.1 LIF2 F2 preference 100
set addressContext default staticRoute 10.0.98.0 24 10.0.98.1 LIF1 F1 preference 100
set addressContext default staticRoute 10.0.99.0 24 10.0.99.1 LIF2 F2 preference 100

###SIPP###
set addressContext default staticRoute 35.239.94.239 32 10.0.98.1 LIF1 F1 preference 100
set addressContext default staticRoute 10.54.27.7 32 10.0.99.1 LIF1 F1 preference 100
commit