...
Noprint | |||||||||
---|---|---|---|---|---|---|---|---|---|
|
This section provides solutions to frequently asked questions (FAQs) about the
Spacevars | ||
---|---|---|
|
...
Table of Contents | ||
---|---|---|
|
...
Pagebreak |
---|
You can transfer files from one unit of a HA pair to the other (this comes in handy for large files that you may have to send over a slow VPN), using SCP and port 2024.
Beginning with release 3.1, file transfers must be performed using SFTP on port 2024. Use the following steps as a guide (default login/password is sftpadmin/sftpadmin):
"I'm moving my SBC 5k from one building to another and need to change my SFPs from copper to fibre. Can I just swap them with the Ribbon-provided SFPs before I power on the SBC, or is there more involved?"
You can swap the SFPs as long as you make sure to use the Ribbon-provided SFPs. Do not use a mix fiber and copper SFPs (all PKT ports have to be the same and all HA ports have to be the same).
You can transfer files from one unit of a HA pair to the other (this comes in handy for large files that you may have to send over a slow VPN), using SCP and port 2024.
Beginning with release 3.1, file transfers must be performed using SFTP on port 2024. Use the following steps as a guide (you can use any CLI account in the Administrator group):
Connect to target SBC. In this example, SBXa is the source and SBXb is the target SBC
Connect to target SBC. In this example, SBXa is the source and SBXb is the target SBC.
Code Block | ||
---|---|---|
| ||
sftpadmin@SBXa$ sftp -oPort=2024 sftpadmin@SBXb
Connecting to SBXb
sftpadmin@SBXb's password: sftpadmin
Connected to SBXb |
Use the put command to transfer a file to the specified directory as shown in the example below.
Code Block | ||
---|---|---|
| ||
sftp>admin@SBXa$ putsftp -oPort=2024 admin@SBXb Connecting to SBXb admin@SBXb's password: <password> Connected to SBXb |
Use the put command to transfer a file to the specified directory as shown in the example below.
Code Block | ||
---|---|---|
| ||
sftp> put sbc-V03.01.00-sbc-V03.01.00-R000.x86_64.tar.gz /opt/sonus/external |
Create a Class of service BLOCK_COUNTRY_CODES. This will contain the country codes to block, and also not hit the "Non Subscriber" call blocking.
...
Code Block | ||
---|---|---|
| ||
% show profiles services classOfService BLOCK_COUNTRY_CODES screening { script ""; } blocking { service enable; entry "" 20 { callType internationalType; } entry "" 27 { callType internationalType; } } nonSubscriberCallTypeFiltering private,nationalOperator,localOperator,nationalType,internationalType ,internationalOperator,longDistanceOperator,ipVpnService,test,transit ,otherCarrierChosen,carrierCutThrough,userName,mobile; set addressContext default zone zonePublicTrunking sipTrunkGroup APBX5TEST policy services classOfService BLOCK_COUNTRY_CODES |
noprint
Pagebreak |
---|
To display all numbers:
Code Block |
---|
admin@DFWNBS01a> show table global callRouting route |
...
Code Block | ||
---|---|---|
| ||
admin@DFWNBS01a> show table global callRouting route trunkGroup BLUECARRIER BASSBC01 standard 9723014999 CALL TIME PARAMETER ELEMENT ELEMENT ELEMENT ROUTING DESTINATION DESTINATION CALL DIGIT RANGE FILTER DOMAIN ROUTING TYPE ID1 ID2 TYPE NATIONAL COUNTRY TYPE TYPE PROFILE PROFILE NAME LABEL -------------------------------------------------------------------------------------------------------------------------------- trunkGroup BLUECARRIER BASSBC01 standard 9723014999 1 all all ALL none Sonus_NULL TO_BLUECARRIER |
Pagebreak |
---|
You can also do a search from the EMA GUI. To view the Routing workspace, see Call Routing: System Provisioning - Routing.
Caption | ||||
---|---|---|---|---|
| ||||
Code Block | ||
---|---|---|
| ||
admin@DFWNBS01a> show status addressContext default zone zonePublicTrunking trunkGroupStatus trunkGroupStatus APBX5TEST { state inService; totalCallsAvailable50; totalCallsInboundReserved0; inboundCallsUsage0; outboundCallsUsage0; totalCallsConfigured50; priorityCallUsage0; totalOutboundCallsReserved 0; bwCurrentLimit-1; bwAvailable-1; bwInboundUsage0; bwOutboundUsage0; packetOutDetectStatenormal; } trunkGroupStatus TKSOFTWARE { state inService; totalCallsAvailable10; totalCallsInboundReserved0; inboundCallsUsage0; outboundCallsUsage0; totalCallsConfigured10; priorityCallUsage0; totalOutboundCallsReserved 0; bwCurrentLimit-1; bwAvailable-1; bwInboundUsage0; bwOutboundUsage0; packetOutDetectStatenormal; } |
noprint
You can view the trunk group configuration data using the CLI.
Code Block | ||
---|---|---|
| ||
admin@DFWNBS01a> show table addressContext default zone zonePublicTrunking sipTrunkGroup APBX5TEST state enabled; mode inService; policy { carrier0000; country1; sipDomain""; localizationVariant northAmerica; digitParameterHandling { numberingPlanNANP_ACCESS; ingressDmPmRule ""; egressDmPmRule""; } callRouting { elementRoutingPriority DEFAULT_IP; } media { packetServiceProfile pspMediaRelay; } services { classOfService BLOCK_COUNTRY_CODES; } signaling { ipSignalingProfile PBX_SIP; } } cac { callLimit 50; } signaling { methods { message reject; publish reject; subscribe reject; notify reject; info reject; register reject; update reject; } } media { mediaIpInterfaceGroupName customerPublic; } |
Back to Top Noprint
Check following:
This mechanism can be used to speed up the process of configuring the SBC. A script file can be prepared (based on specific data from other existing systems) and then imported into the SBC. For example you could create a trunk group and routable numbers for one particular customer in one script file. You then import this script, and the customer is fully provisioned and ready to go.
...
See example CLI script to create a new trunk group and routing information "CLI Script Creates Trunk Group and Routes" on page Reference Configuration. Noprint
You must put in the full routing data involving the number to delete it via the CLI.
Code Block | ||
---|---|---|
| ||
admin@DFWNBS01a% delete global callRouting route none Sonus_NULL Sonus_NULL standard 2144761510 1 all all ALL none Sonus_NULL |
The trunk group must be disabled and out of service before you can delete it.
Code Block | ||
---|---|---|
| ||
admin@SBC01a% set addressContext default zone zonePublicTrunking sipTrunkGroup "PURDUERES_7655883470 " state disabled mode outOfService admin@SBC01a% commit admin@SBC01a% delete addressContext default zone zonePublicTrunking sipTrunkGroup "PURDUERES_7655883470 " admin@SBC01a% commit |
noprint
You may need to send Globalized numbers out to a carrier trunk group, while stripping the +1 off calls that are sent to PBX trunk groups. This is accomplished via the trunk groups IP Signaling Profile. Within the IP signaling profile there is a Globalization profile. On the trunk group that needs Globalization, the IP signaling profile should contain a Globalization Profile that enables globalization. On the trunk group that globalization should not occur, a different IP Signaling profile is needed (one that has a Globalization profile that disables globalization).
...
Associate an IP Signaling Profile which has Globallization Profile turned off to the trunk group.
Code Block | ||
---|---|---|
| ||
% set addressContext default zone zonePublicTrunking sipTrunkGroup DECA_3175672646 policy signaling ipSignalingProfile PBX_SIP % commit |
Verify change, where NO_GLOBAL is a profile that does not globalize any numbers.
Code Block | ||
---|---|---|
| ||
> show configuration profiles signaling ipSignalingProfile PBX_SIP egressIpAttributes { numberGlobalizationProfile NO_GLOBAL; flags { bgcfTargetSchemeTransparency disable; > show configuration profiles signaling numberGlobalizationProfile NO_GLOBAL entry calledNumber { digitType all; countryCodeSource destination; globalize disable; } |
(the above results are shortened for brevity)
Noprint |
---|
Check the states of these ports after initial system configuration to ensure the fibers are installed correctly and the two units are communicating.
Code Block | ||
---|---|---|
| ||
admin@SBC01a> show status system highAvailabilityPort status DFWNBS01a haPort1 { macAddress 00:10:1b:01:11:1c; ipAddress 0.0.0.0; negotiatedSpeed speed1000Mbps; oosReason na; |
The SBC can cache Registration information by turning on the Trunk Group field "Require Registration". It is often useful to display the users that have successfully Registered.
Code Block | ||
---|---|---|
| ||
% show status addressContext default sipRegCountStatistics % show status addressContext default sipActiveRegNameStatus |
...
...
Sometimes it is handy to test IP connectivity from the various interfaces on the SBC platform. Use the Ping utility from the EMA:
Note |
---|
In the above example, IP addresses are intentionally blurred. |
Noprint |
---|
On the SBC Application (accessed by the EMA and the CLI), various types of users are predefined. Each type of user has different capabilities. Please see Default Accounts and Passwords for details.
To add a new user or reset password from the EMA GUI, perform following:
...
On the SBC Application (accessed by the EMA and the CLI), various types of users are predefined. Each type of user has different capabilities. Please see Managing SBC Core Users and Accounts for details.
To add a new user or reset password from the EMA GUI, perform following:
To add a new user from CLI:
Code Block |
---|
% set oam localAuth user <user_name> group <group_name> |
Some customers may require that all default passwords are changed. The default passwords and method to change them are described at Managing SBC Core Users and Accounts.
To check the range of ports that used for media:
Code Block | ||
---|---|---|
| ||
admin@SBC01A > show configuration system media mediaPortRange baseUdpPort baseUdpPort 1024;
admin@SBC01B > show configuration system media mediaPortRange maxUdpPort maxUdpPort 65148; |
Note |
---|
Port 5060 is reserved for SIP and is automatically excluded. |
You can set up to transfer CDR to an off board SFTP server on a regular basis, for example once per hour.
Code Block | ||
---|---|---|
| ||
admin@DALNBS01a> show table oam accounting cdrServer admin |
Set up the duration for the accounting logs to rollover to the next file (for example 60 minutes).
Code Block | ||
---|---|---|
| ||
admin@DALNBS01a> show table oam eventLog typeAdmin acct |
Check the status of the transfer:
Code Block | ||
---|---|---|
| ||
admin@DALNBS01a> show table oam accounting cdrServer s |
As a best practice, Sonus recommends configuring one signaling port per zone. The SBC chooses a port (usually the first port) in the zone for outbound connections. However, the SBC cannot enforce the use of a specific signaling port within the zone to initiate a call on a trunk group. The trunk is assigned to a zone and not to a signaling port in the configuration model. To associate a unique source port for each trunk group, create separate zones defining a single signaling port per zone.
The ERE returns up to 10 routes. If more than 10 routing label routes are created, only the first 10 in-service routes are returned.
The SBC writes CDRs locally, and simply transfers them using SFTP to the CDR server (for example, DSI L0 server) based on the IP address listed in CDR server settings on the SBC. If you replace the CDR server with another server, but maintain the same IP address and user settings, no change is needed on the SBC.
The SBC uses Transparent Inter-process Communication (TIPC) to monitor several processes and applications running on the opposite server.
The top command returns the sum of CPU utilization by all threads within a process. The SBC is a multi-core system, and the process in question is utilizing more than one core. For more accurate results, use top –Hcommand to see process utilization per core/thread.
Yes! You can view both configured values and defaults using the 'show' command. First, turn on default values setting using the following 'set' command:
Code Block | ||
---|---|---|
| ||
set show defaults true |
Next, enter your 'show configuration' command:
Code Block | ||
---|---|---|
| ||
show configuration <one or more list objects> |
Info |
---|
Refer to CLI System-Level Mode for details. |
NO! SBC Core is a closed network device. Customer modifications at the Linux level are not allowed or supported. These modifications can cause stability, update and fail-over issues on SBC platform. Customers must ONLY configure the SBC using the supported interfaces(CLI, REST, EMA, EMS).
Multiexcerpt include | ||||||
---|---|---|---|---|---|---|
|
Login to the EMA and navigate to Administration > Users and Application Management > User Management window and view User Sessions table.
The ERE does not limit the number of DM/PM rules.
Currently, the SBC only supports one one primary and one secondary CDR server.
The OIDs are indexes in the MIB tables, and indexes are not readable using SNMP GET requests. The SNMP GETNEXT requests are used to find out what indexes are currently present in the MIB tables. For more information, refer to the section How to Retrieve Sonus Enterprise MIB OIDs.
Pagebreak |
---|
To add a new user from CLI:
Code Block |
---|
% set oam localAuth user <user_name> group <group_name> |
Noprint |
---|
Some customers may require that all default passwords are changed. The default passwords and method to change them are described at Default Accounts and Passwords.
To check the range of ports that used for media:
Code Block | ||
---|---|---|
| ||
admin@SBC01A > show configuration system media mediaPortRange baseUdpPort baseUdpPort 1024;
admin@SBC01B > show configuration system media mediaPortRange maxUdpPort maxUdpPort 65148; |
Note |
---|
Port 5060 is reserved for SIP and is automatically excluded. |
Noprint |
---|
You can set up to transfer CDR to an off board SFTP server on a regular basis, for example once per hour.
Code Block | ||
---|---|---|
| ||
admin@DALNBS01a> show table oam accounting cdrServer admin |
Set up the duration for the accounting logs to rollover to the next file (for example 60 minutes).
Code Block | ||
---|---|---|
| ||
admin@DALNBS01a> show table oam eventLog typeAdmin acct |
Check the status of the transfer:
Code Block | ||
---|---|---|
| ||
admin@DALNBS01a> show table oam accounting cdrServer s
|
Noprint |
---|
As a best practice, Sonus recommends configuring one signaling port per zone. The SBC chooses a port (usually the first port) in the zone for outbound connections. However, the SBC cannot enforce the use of a specific signaling port within the zone to initiate a call on a trunk group. The trunk is assigned to a zone and not to a signaling port in the configuration model. To associate a unique source port for each trunk group, create separate zones defining a single signaling port per zone.
The ERE returns up to 10 routes. If more than 10 routing label routes are created, only the first 10 in-service routes are returned.
The SBC writes CDRs locally, and simply transfers them using SFTP to the CDR server (for example, DSI L0 server) based on the IP address listed in CDR server settings on the SBC. If you replace the CDR server with another server, but maintain the same IP address and user settings, no change is needed on the SBC.
The SBC uses Transparent Inter-process Communication (TIPC) to monitor several processes and applications running on the opposite server.
The top command returns the sum of CPU utilization by all threads within a process. The SBC is a multi-core system, and the process in question is utilizing more than one core. For more accurate results, use top –Hcommand to see process utilization per core/thread.
Noprint |
---|
Yes! You can view both configured values and defaults using the 'show' command. First, turn on default values setting using the following 'set' command:
Code Block | ||
---|---|---|
| ||
set show defaults true |
Next, enter your 'show configuration' command:
Code Block | ||
---|---|---|
| ||
show configuration <one or more list objects> |
Info |
---|
See CLI System-Level Mode for details. |
Noprint |
---|
NO! SBC Core is a closed network device. Customer modifications at the Linux level are not allowed or supported. These modifications can cause stability, update and fail-over issues on SBC platform. Customers must ONLY configure the SBC using the supported interfaces (CLI, REST, EMA, EMS). Back to Top Noprint