Overview
To create a configuration template, you need to start with a CLI script. The object names in a CLI script are replaced with tokens. Each token includes three tags: a name, a description and an optional default value. The CLI scripts with tokens are saved as a text file. Here is an example of a single Token:
Code Block |
---|
|
<NAME:name,DESCRIPTION:description,DEFAULT:default> |
Note |
---|
|
NAME, DESCRIPTION, and DEFAULT labels should be in ALL CAPS. |
...
If a Default value is not specified, then the corresponding text field in the configuration template import tool will be blank.
Example Configuration File
Here is an example of a configuration file to set up a basic call (saved save as a text file):
Code Block |
---|
|
# IBCF configuration:
# ------------------
# Base SBC Config:
# -------------------------
configure
set oam eventLog typeAdmin debug filterLevel info
set oam eventLog typeAdmin system filterLevel info
set profiles system coredumpProfile default coredumpLevel sensitive
commit
set oam eventLog typeAdmin debug fileSize 10240
commit
set global signaling sipSigControls maxPduSizeValue pdusize60kb
commcommit
# Transperancy Profile
# -------------------------------------------
set profile services transparencyProfile IBCF_COMMON_HTP sipHeader Accept-Contact
set profile services transparencyProfile IBCF_COMMON_HTP sipHeader Alert-Info
set profile services transparencyProfile IBCF_COMMON_HTP sipHeader Contact
set profile services transparencyProfile IBCF_COMMON_HTP sipHeader WWW-Authenticate
set profile services transparencyProfile IBCF_COMMON_HTP sipHeader Error-Info
set profile services transparencyProfile IBCF_COMMON_HTP sipHeader From
set profile services transparencyProfile IBCF_COMMON_HTP sipHeader History-Info
set profile services transparencyProfile IBCF_COMMON_HTP sipHeader P-Called-Party-ID
set profile services transparencyProfile IBCF_COMMON_HTP sipHeader Reason
set profile services transparencyProfile IBCF_COMMON_HTP sipHeader Referred-By
set profile services transparencyProfile IBCF_COMMON_HTP sipHeader To
set profile services transparencyProfile IBCF_COMMON_HTP sipHeader Accept
set profile services transparencyProfile IBCF_COMMON_HTP sipHeader Call-Info
set profile services transparencyProfile IBCF_COMMON_HTP sipHeader Warning
set profile services transparencyProfile IBCF_COMMON_HTP sipHeader User-Agent
set profile services transparencyProfile IBCF_COMMON_HTP sipHeader Server
set profile services transparencyProfile IBCF_COMMON_HTP sipHeader Accept-Language
set profile services transparencyProfile IBCF_COMMON_HTP sipHeader P-Access-Network-Info
set profile services transparencyProfile IBCF_COMMON_HTP sipHeader P-Visited-Network-Info
set profile services transparencyProfile IBCF_COMMON_HTP sipHeader Request-Uri
set profile services transparencyProfile IBCF_COMMON_HTP sipHeader Path
set profile services transparencyProfile IBCF_COMMON_HTP sipHeader Server
set profile services transparencyProfile IBCF_COMMON_HTP sipHeader Service-Route
set profile services transparencyProfile IBCF_COMMON_HTP sipHeader P-Early-Media
set profile services transparencyProfile IBCF_COMMON_HTP sipHeader Call-Info
set profile services transparencyProfile IBCF_COMMON_HTP sipHeader Feature-Caps
commit
|
Code Block |
---|
|
# INGRESS SIDE CONFIGURATION
# -----------------------------------------------------------------------------------------------------------------------------------------------------------
#
# Create Ip Interface Group
# ------------------------------------------------------------------
set addressContext default ipInterfaceGroup LIG1 ipInterface LIF1 ceName <NAME:SBC System Name,DESCRIPTION:Enter the SBC System Name, DEFAULT:Q50-5200> portName pkt0 ipAddress <NAME:Interface Group IP towards PCSCF:,DESCRIPTION:Enter the IPV4 Address for the Interface Group towards home network,DEFAULT:10.54.54.26> prefix <NAME:PCSCF Interface Group Mask:,DESCRIPTION:Enter the Mask for the Interface Group towards PCSCF,DEFAULT:16>
commit
set addressContext default ipInterfaceGroup LIG1 ipInterface LIF1 mode inService state enabled
commit
#
# Create PCSCF ZONE (Zone towards PCSCF & TRF)
# ------------------------------------------------------------------
set addressContext default zone VOLTE_ZONE_IBCF_IN id 2 sipSigPort 1 state enabled ipAddressV4 <NAME:Interface Group IP towards PCSCF:,DESCRIPTION:Enter the IPV4 Address for the Interface Group towards home network,DEFAULT:10.54.54.26> portNumber 5060 ipInterfaceGroupName LIG1 transportProtocolsAllowed sip-udp,sip-tcp,sip-sctp
commit
set addressContext default zone VOLTE_ZONE_IBCF_IN sipRegRelay enabled
commcommit
set addressContext default zone VOLTE_ZONE_IBCF_IN dialogTransparency enabled
comm
commit
|
Code Block |
---|
|
# ---- Trunk Group ( PCSCF - TG1 ) -------------------------------------------
set addressContext default zone VOLTE_ZONE_IBCF_IN sipTrunkGroup VOLTE_IBCF_IN_TG mode inService state enabled media mediaIpInterfaceGroupName LIG1
commit
set addressContext default zone VOLTE_ZONE_IBCF_IN sipTrunkGroup VOLTE_IBCF_IN_TG ingressIpPrefix <NAME:IP Preifx towards PCSCF:,DESCRIPTION:Enter the Network that can connect to the home network Trunk,DEFAULT:10.54.54.26> <NAME:IPPeer Mask towards PCSCF:,DESCRIPTION:Enter the Network that can connect to the PCSCF Trunk,DEFAULT:16>
commit
set addressContext default staticRoute <NAME:PCSCF Static RouteIP:,DESCRIPTION:Enter the IP Address for Route:,DEFAULT:10.54.80.8> <NAME:PCSCF Route Mask:,DESCRIPTION:Enter the Route Mask,DEFAULT:32> <NAME: PCSCF Default Gateway IP:,DESCRIPTION:Enter the IP Address for the Default Gateway,DEFAULT:10.54.54.1> LIG1 LIF1 preference 100
commit
set addressContext default zone VOLTE_ZONE_IBCF_IN sipTrunkGroup VOLTE_IBCF_IN_TG callRouting useRouteSet received
commcommit
set addressContext default zone VOLTE_ZONE_IBCF_IN sipTrunkGroup VOLTE_IBCF_IN_TG signaling relayNonInviteRequest enabled
commcommit
set addressContext default zone VOLTE_ZONE_IBCF_IN sipTrunkGroup VOLTE_IBCF_IN_TG signaling registration requireRegistration none
commcommit
set addressContext default zone VOLTE_ZONE_IBCF_IN sipTrunkGroup VOLTE_IBCF_IN_TG services transparencyProfile IBCF_COMMON_HTP
commcommit
set addressContext default zone VOLTE_ZONE_IBCF_IN sipTrunkGroup VOLTE_IBCF_IN_TG downstreamForkingSupport enabled
commit
set addressContext default zone VOLTE_ZONE_IBCF_IN sipTrunkGroup VOLTE_IBCF_IN_TG signaling rel100Support enabled
commit
set addressContext default zone VOLTE_ZONE_IBCF_IN sipTrunkGroup VOLTE_IBCF_IN_TG signaling acceptHistoryInfo enabled
commit
set addressContext default zone VOLTE_ZONE_IBCF_IN sipTrunkGroup VOLTE_IBCF_IN_TG signaling registration expires 1800
commit
set addressContext default zone VOLTE_ZONE_IBCF_IN sipTrunkGroup VOLTE_IBCF_IN_TG signaling validateAor disabled
commit
set addressContext default zone VOLTE_ZONE_IBCF_IN sipTrunkGroup VOLTE_IBCF_IN_TG signaling skipDTGLookupForRouteHdr enabled
commcommit
set addressContext default zone VOLTE_ZONE_IBCF_IN sipTrunkGroup VOLTE_IBCF_IN_TG callRouting sendRouteUriToPsx enabled
commit |
Code Block |
---|
|
comm
# ---- Trunk Group ( TRF - TG6 ) -------------------------------------------
set addressContext default zone VOLTE_ZONE_IBCF_IN sipTrunkGroup VOLTE_IBCF_TRF mode inService state enabled media mediaIpInterfaceGroupName LIG1
commit
set addressContext default zone VOLTE_ZONE_IBCF_IN sipTrunkGroup VOLTE_IBCF_TRF ingressIpPrefix <NAME:IP Prefix Address towards TRF:,DESCRIPTION:Enter the IP to connect to the TRF ,DEFAULT:10.54.54.27> <NAME:IPPeer Mask towards TRF :,DESCRIPTION:Enter the Network that can connect to the Trunk,DEFAULT:32>
commit
set addressContext default staticRoute <NAME:TRF Static RouteIP:,DESCRIPTION:Enter the IP Address for Static Route:,DEFAULT:10.54.80.8> <NAME:TRF Route Mask:,DESCRIPTION:Enter the Route Mask,DEFAULT:32> <NAME:TRF Default Gateway:,DESCRIPTION:Enter the IP Address for the Default Gateway,DEFAULT:10.54.54.1> LIG1 LIF1 preference 100
commit
set addressContext default zone VOLTE_ZONE_IBCF_IN sipTrunkGroup VOLTE_IBCF_TRF callRouting useRouteSet received
commcommit
set addressContext default zone VOLTE_ZONE_IBCF_IN sipTrunkGroup VOLTE_IBCF_TRF signaling skipDTGLookupForRouteHdr enabled
commcommit
set addressContext default zone VOLTE_ZONE_IBCF_IN sipTrunkGroup VOLTE_IBCF_TRF callRouting sendRouteUriToPsx enabled
commcommit
set addressContext default zone VOLTE_ZONE_IBCF_IN sipTrunkGroup VOLTE_IBCF_TRF media omrAllowed enabled
commcommit
set addressContext default zone VOLTE_ZONE_IBCF_IN sipTrunkGroup VOLTE_IBCF_TRF media primaryRealmName <NAME:TRF RealmName :,DESCRIPTION:Enter the TRF Realm:,DEFAULT:Realm1>
commcommit
set addressContext default zone VOLTE_ZONE_IBCF_IN sipTrunkGroup VOLTE_IBCF_TRF media directMediaAllowed disabled
commit |
Code Block |
---|
|
comm
#
# Create Ip Interface Group
# ------------------------------------------------------------------
set addressContext default ipInterfaceGroup LIG3 ipInterface LIF3 ceName <NAME:SBC System Name,DESCRIPTION:Enter the SBC System Name, DEFAULT:Q50-5200> portName pkt1 ipAddress <NAME:Core Interface Group IP:,DESCRIPTION:Enter the
IPV4 Address for the Interface Group towards core network,DEFAULT:10.54.56.26> prefix <NAME:Core Interface Group Mask:,DESCRIPTION:Enter the Mask for the Interface Group towards core network,DEFAULT:16>
commit
set addressContext default ipInterfaceGroup LIG1 ipInterface LIF1 mode inService state enabled
commit
#
# Create ZONE towards Core (Zone towards MSC & SCSCF)
# ------------------------------------------------------------------
set addressContext default zone VOLTE_ZONE_IBCF_CORE id 3 sipSigPort 3 state enabled ipAddressV4 <NAME:Core Interface Group IP:,DESCRIPTION:Enter the IPV4 Address for the Interface Group towards core network,DEFAULT:10.54.56.26> portNumber 5060 ipInterfaceGroupName LIG3 transportProtocolsAllowed sip-udp,sip-tcp,sip-sctp
commit
set addressContext default zone VOLTE_ZONE_IBCF_CORE sipRegRelay enabled
comm
set addressContext default zone VOLTE_ZONE_IBCF_CORE dialogTransparency enabled
comm
# ---- Trunk Group ( MSC - TG2 ) -------------------------------------------
set addressContext default zone VOLTE_ZONE_IBCF_CORE sipTrunkGroup VOLTE_IBCF_MSC ingressIpPrefix <NAME:IP Prefix towards MSC:,DESCRIPTION:Enter the IP to connec to the MSC ,DEFAULT:10.54.56.26> <NAME:MSC IPPeer Mask:,DESCRIPTION:Enter the Network that can connect to the Trunk,DEFAULT:32>
commit
set addressContext default staticRoute <NAME:MSC Static RouteIP:,DESCRIPTION:Enter the IP Address for Static Route:,DEFAULT:10.54.80.8> <NAME:MSC Route Mask:,DESCRIPTION:Enter the Route Mask,DEFAULT:32> <NAME:Default Gateway towards MSC:,DESCRIPTION:Enter the IP Address for the Default Gateway,DEFAULT:10.54.56.1> LIG3 LIF3 preference 100
commit
set addressContext default zone VOLTE_ZONE_IBCF_CORE sipTrunkGroup VOLTE_IBCF_MSC signaling registration requireRegistration none
comm
set addressContext default zone VOLTE_ZONE_IBCF_CORE sipTrunkGroup VOLTE_IBCF_MSC services transparencyProfile IBCF_COMMON_HTP
comm
set addressContext default zone VOLTE_ZONE_IBCF_CORE sipTrunkGroup VOLTE_IBCF_MSC signaling relayNonInviteRequest enabled
comm
set addressContext default zone VOLTE_ZONE_IBCF_CORE sipTrunkGroup VOLTE_IBCF_MSC callRouting useRouteSet received
comm
set addressContext default zone VOLTE_ZONE_IBCF_CORE sipTrunkGroup VOLTE_IBCF_MSC signaling skipDTGLookupForRouteHdr enabled
comm
set addressContext default zone VOLTE_ZONE_IBCF_CORE sipTrunkGroup VOLTE_IBCF_MSC callRouting sendRouteUriToPsx enabled
comm
|
Code Block |
---|
|
# ---- Trunk Group ( SCSCF- TG3 ) -------------------------------------------
set addressContext default zone VOLTE_ZONE_IBCF_CORE sipTrunkGroup VOLTE_IBCF_SCSCF ingressIpPrefix <NAME:IP Address towards SCSCF:,DESCRIPTION:Enter the IP to connec to the MSC ,DEFAULT:10.54.56.27> <NAME:SCSCF IPPeer Mask:,DESCRIPTION:Enter the Network that can connect to the Trunk,DEFAULT:16>
commit
set addressContext default staticRoute <NAME:SCSCF Static RouteIP:,DESCRIPTION:Enter the IP Address for Static Route:,DEFAULT:10.54.80.8> <NAME:SCSCF Route Mask:,DESCRIPTION:Enter the Route Mask,DEFAULT:32> <NAME:Default Gateway towards SCSCF:,DESCRIPTION:Enter the IP Address for the Default Gateway,DEFAULT:10.54.56.1> LIG3 LIF3 preference 100
commit
set addressContext default zone VOLTE_ZONE_IBCF_CORE sipTrunkGroup VOLTE_IBCF_SCSCF signaling registration requireRegistration none
comm
set addressContext default zone VOLTE_ZONE_IBCF_CORE sipTrunkGroup VOLTE_IBCF_SCSCF services transparencyProfile IBCF_COMMON_HTP
comm
set addressContext default zone VOLTE_ZONE_IBCF_CORE sipTrunkGroup VOLTE_IBCF_SCSCF signaling relayNonInviteRequest enabled
comm
set addressContext default zone VOLTE_ZONE_IBCF_CORE sipTrunkGroup VOLTE_IBCF_SCSCF callRouting useRouteSet received
comm
set addressContext default zone VOLTE_ZONE_IBCF_CORE sipTrunkGroup VOLTE_IBCF_SCSCF signaling skipDTGLookupForRouteHdr enabled
comm
set addressContext default zone VOLTE_ZONE_IBCF_CORE sipTrunkGroup VOLTE_IBCF_SCSCF callRouting sendRouteUriToPsx enabled
comm
set addressContext default zone VOLTE_ZONE_IBCF_CORE sipTrunkGroup VOLTE_IBCF_TRF media omrAllowed enabled
comm
set addressContext default zone VOLTE_ZONE_IBCF_CORE sipTrunkGroup VOLTE_IBCF_TRF media primaryRealmName <NAME:TRF RealmName :,DESCRIPTION:Enter the TRF Realm:,DEFAULT:Realm1>
comm
set addressContext default zone VOLTE_ZONE_IBCF_CORE sipTrunkGroup VOLTE_IBCF_TRF media directMediaAllowed disabled
comm |
Code Block |
---|
|
# Peering SIDE CONFIGURATION
# -------------------------------------------------------------------------------------------------------------------------------------------------------------------
set addressContext default ipInterfaceGroup LIG2 ipInterface LIF2 ceName <NAME:SBC System Name,DESCRIPTION:Enter the SBC System Name> portName pkt2 ipAddress <NAME:Egress Interface Group IP:,DESCRIPTION:Enter the IPV4 Address for the Interface Group towards external network,DEFAULT:10.54.54.29> prefix <NAME:Egress Interface Group Mask:,DESCRIPTION:Enter the Mask for the Interface Group towards home network,DEFAULT:16>
commit
set addressContext default ipInterfaceGroup LIG2 ipInterface LIF2 mode inService state enabled
commit
set addressContext default zone VOLTE_ZONE_IBCF_EXT id 3 sipSigPort 2 state enabled ipAddressV4 <NAME:Egress Interface Group IP:,DESCRIPTION:Enter the IPV4 Address for the Interface Group towards external network,DEFAULT:10.54.54.29> portNumber 5060 ipInterfaceGroupName LIG2 transportProtocolsAllowed sip-udp,sip-tcp,sip-sctp
commit
set addressContext default zone VOLTE_ZONE_IBCF_EXT sipTrunkGroup VOLTE_IBCF_EXT mode inService state enabled media mediaIpInterfaceGroupName LIG2
commit
set addressContext default zone VOLTE_ZONE_IBCF_EXT sipTrunkGroup VOLTE_IBCF_EXT ingressIpPrefix <NAME:IP Prefix towards peering:,DESCRIPTION:Enter the Ip Address of the Network that can connect to the home network Trunk,DEFAULT: 10.54.54.29> <NAME:EgressIPPeer Mask:,DESCRIPTION:Enter the Network that can connect to the Trunk,DEFAULT:16>
commit
set addressContext default zone VOLTE_ZONE_IBCF_EXT ipPeer VOLTE_PEER_IBCF_EXT ipAddress <NAME:Egress IPPeer IP:,DESCRIPTION:Enter the Network that can connect to the home network Trunk,DEFAULT:10.8.6.40> ipPort <NAME:EgressIPPeer Port:,DESCRIPTION:Enter the Port where to IpPeer is listening ,DEFAULT:6886>
commit
set addressContext default staticRoute <NAME:Egress Static RouteIP:,DESCRIPTION:Enter the IP Address for Route ,DEFAULT:10.8.6.40> <NAME:Ingress Route Mask:,DESCRIPTION:Enter the Route Mask,DEFAULT:32> <NAME:SP IP Egress Default Gateway:,DESCRIPTION:Enter the IP Address for the Default Gateway,DEFAULT:10.8.1.1> LIG2 LIF2 preference 100
commit
set addressContext default zone VOLTE_ZONE_IBCF_EXT domainName <NAME:SBC Egress Domain:,DESCRIPTION:Enter the SBC Egress Domain,DEFAULT:SonusEgress.com>
commit
set addressContext default zone VOLTE_ZONE_IBCF_EXT sipTrunkGroup VOLTE_IBCF_EXT callRouting useRouteSet received
comm
set addressContext default zone VOLTE_ZONE_IBCF_EXT sipTrunkGroup VOLTE_IBCF_EXT signaling relayNonInviteRequest enabled
comm
set addressContext default zone VOLTE_ZONE_IBCF_EXT sipTrunkGroup VOLTE_IBCF_EXT signaling registration requireRegistration none
comm
set addressContext default zone VOLTE_ZONE_IBCF_EXT sipTrunkGroup VOLTE_IBCF_EXT services transparencyProfile IBCF_COMMON_HTP
comm
set addressContext default zone VOLTE_ZONE_IBCF_EXT dialogTransparency enabled
comm
# PSX Remote
# -------------------------------------------------------------
set system policyServer localServer PSX_LOCAL_SERVER mode outOfService state disabled
set system policyServer remoteServer psxvm04 ipAddress <NAME: PSX VM IP:,DESCRIPTION:Enter the IP Address of PSX VM ,DEFAULT:169.254.77.2> state enabled
set system policyServer remoteServer psxvm04 state enabled mode active |
...