Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Table of Contents
maxLevel3

 

How do I transfer files from one unit to the other?

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):

...

Connect to target SBC. In this example, SBXa is the source and SBXb is the target SBC.

Code Block
languagenone
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
languagenone
sftp> put sbc-V03.01.00-R000.x86_64.tar.gz /opt/sonus/external

...

Pagebreak

Can I change my SFPs from copper to fibre?

"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).

How do I transfer files from one unit to the other?

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):

  1. From the source SBC, login to Linux shell and then change directory to where the file is located.

  2. Connect to target SBC. In this example, SBXa is the source and SBXb is the target SBC.

How do I block certain country codes?

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.

Associated this class of service with the trunk group that is originating the calls (that you wish to block calls to certain country codes)

...

  1. Code Block
    languagenone

...

  1. admin@SBXa$ sftp -oPort=2024 admin@SBXb
    Connecting to SBXb
    admin@SBXb's password: <password>
    Connected to SBXb
  2. Use the put command to transfer a file to the specified directory as shown in the example below.

    Code Block
    languagenone
    sftp> put sbc-V03.01.00-R000.x86_64.tar.gz /opt/sonus/external

How do I block certain country codes?

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.

Associated this class of service with the trunk group that is originating the calls (that you wish to block calls to certain country codes)

Example:

Code Block
languagenone
% show profiles services classOfService
 BLOCK_COUNTRY_CODES
 screening {
 script "";
 }
 blocking { service enable; entry "" 20show profiles services classOfService
 BLOCK_COUNTRY_CODES
 screening {
 script "";
 }
 blocking { service enable; entry "" 20 {
 callType internationalType; 
 }
 entry "" 27 {
 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

 

Pagebreak

How do I display numbers in the routing table?

...

Code Block
languagenone
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
0Figure
1Route

Image Modified

 

How do I display the status of all the trunk groups in a Zone?

...

  1. Associate an IP Signaling Profile which has Globallization Profile turned off to the trunk group.

    Code Block
    languagenone
    % set addressContext default zone zonePublicTrunking sipTrunkGroup DECA_3175672646 policy signaling ipSignalingProfile PBX_SIP
    % commit 
  2. Verify change, where NO_GLOBAL is a profile that does not globalize any numbers.

    Code Block
    languagenone
    > 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)

How do I display the status of the HA ports?

Check the states of these ports after initial system configuration to ensure the fibers are installed correctly and the two units are communicating.

...

languagenone

...

  1. .

    Code Block
    languagenone
    % set addressContext default zone zonePublicTrunking sipTrunkGroup DECA_3175672646 policy signaling ipSignalingProfile PBX_SIP
    % commit 
  2. Verify change, where NO_GLOBAL is a profile that does not globalize any numbers.

    Code Block
    languagenone
    > 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          

...

  1. disable;

...

  1. 
     }

    (the above results are shortened for brevity)

...

How do I display

...

the status of the HA ports?

Check the states of these ports after initial system configuration to ensure the fibers are installed correctly and the two units are communicatingThe 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
languagenone
%admin@SBC01a> show status addressContext default sipRegCountStatistics 
% show status addressContext default sipActiveRegNameStatus

 

How do I ping from various interfaces?

Sometimes it is handy to test IP connectivity from the various interfaces on the SBC platform. Use the Ping utility from the EMA:

  1. Login to EMA and select Tools > Ping tab.
    Image Removed
  2. Enter IP address to ping.
  3. Select IPV4 or IPV6 option.
  4. Select platform interface to ping from.
  5. Press Ping IP address. Results display in Ping Results window similar to below example.
    Image Removed
Note

In the above example, IP addresses are intentionally blurred.

...

 system highAvailabilityPort status DFWNBS01a haPort1 {
macAddress      00:10:1b:01:11:1c;
ipAddress       0.0.0.0;
negotiatedSpeed speed1000Mbps;
oosReason       na;

 

How do I display registered users (Access configuration)?

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
languagenone
% show status addressContext default sipRegCountStatistics 
% show status addressContext default sipActiveRegNameStatus


How do I view user types and passwords?

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 Default Groups and PasswordsSBC Core Users and Accounts for details.
To add a new user or reset password from the EMA GUI, perform following:

...

Some customers may require that all default passwords are changed. The default passwords and method to change them are described at Managing Default Groups and PasswordsSBC Core Users and Accounts.

How do I view media range (base and max)?

...

Currently, the SBC only supports one one primary and one secondary CDR server.

Why can I not read OIDs directly from the MIB tables?

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