Skip to main content
Oracle SBC Troubleshooting Notes

Oracle SBC Troubleshooting Notes

·911 words·5 mins
Mike Curtis
Author
Mike Curtis
Maintaining a live technical reference library.

Booting
#

There are three files used in the boot process. the bootloader, the boot image, and the diagnostic image files. Files are uploaded to /code/images/. Refer to the release notes to confirm which images are compatible as a jump upgrade method maybe be needed if your software is old enough.

Boot flags enable system boot behavior(s). The user can set a single flag, or add hex digits to set multiple flags.

  • 0x00000008 Bootloader ~7 seconds countdown
  • 0x00000040 Autoconfigure wancom0 via DHCP enable - VM platforms only
  • 0x00000080 Use TFTP protocol (instead of FTP) enable - VM platforms only
  • 0x00000100 Bootloader ~1 seconds quick countdown - VM platforms only

Networking
#

Some useful commands.

  • show arp used to see ip to mac bindings
    • To manually alter the table you can use arp-add or arp-delete
    • arp-check will force the SBC to reach out and attempt to add an entry. this command does not work if there is an already existing entry.
  • add-hip-ip needs to be configured along with add-icmp-ip to be able to ping to and from the SBC. Multiple IP can be configured.
  • Interface statuses can be checked with the following commands
    • show interface
    • show interface brief
    • show interface ethernet
  • show routes Show routes relevant to management traffic, it do not show routes for signaling or media traffic.
    • host-routes can be used for sending traffic via the wancom0 interface.

System Level
#

For boot level information there are a few varieties of show version that can be used.

  • show version boot Useful for getting the serial number.
  • show version image Useful for getting the configured boot image.
  • show version hardware Useful to pull hardware information.
  • show memory usage Useful to see the consume memory or the SBC.
    • show memory application Provides more detailed application memory usage.

System Stats
#

Some useful commands for system level stats.

  • show ntp status Provides info on where the SBC is synchronized to.
  • show ntp server Provides detailed info on the NTP servers.
  • show platform Useful to determining information about where the SBC is deployed(virtual).
    • show platform health-check Confirms if system processes are running.
    • show platform limits Used to determine the maximum number of various functions.
    • show platform cpu Provides information about the system CPU.
    • show platform cpu-load Provides information about the CPU usage.
  • show processes Used to view active processes.
    • show processes <service name> Used to view information about a specific process.
    • show processes top Used to get a top like view of system cpu usage.
  • show space hard-disk Used to display disk usage.

Backups
#

Display Backups
#

To display backups from the CLI

  • show dir /code/bkups

Restore a backup
#

To restore a backup from a file use the following command.

  • restore-backup-config <dir(is using sub dir)/filename>

ARP
#

to check the device table you can use 2 commands

  • show arp
  • arp-check 0 1 9 10.10.9.21
    • command <media interface slot> <media interface port> <vlan> <IP>

Basic System Checks
#

The following information can be used to do a basic assessment of the platform health.

  • show platform
  • show uptime
  • show system-state
  • show sipd agents
  • show memory usage
  • show buffers
  • show platform health-check
  • show platform cpu-load

Local Policy Routing
#

The Oracle Communications Session Border Controller applies preference to configured local policies in the following order: Reference

  • Cost (cost in local policy attributes) is always given preference.
  • Matching media codec (media profiles option in local policy attributes).
  • Longest matching To address (to address list in local policy).
  • Shortest matching To address (to address list in local policy).
  • Longest matching From address (from address list in local policy).
  • Shortest matching From address (from address list in local policy).
  • Narrowest/strictest day of week specification (days of week option in local policy attributes).
  • Narrowest/strictest time of day specification (start time and end time options in local policy attributes).
  • Wildcard matches (use of an asterisk as a wildcard value for the from address and to address lists in local policy).
  • Wild card matches are given the least preference. A prefix value of 6 is given a higher preference than a prefix value of * even though both prefix values are, in theory, the same length.

Logging
#

Enable logs with the following commands.

  • notify sipd siplog
  • notify mbcd log

Disable log with the following

  • notify sipd nosiplog
  • ```notify mbcd nolog``

Debugging
#

View the current Log levels on the system process with show loglevel sipd verbose Enable debugs with the following commands.

  • notify all rotate-logs
    • notify sipd rotate-logs to do a specific service
  • notify sipd siplog
  • log-level sipd debug
  • notify sipd debug

Reproduce the problem and turn debug off:

  • notify sipd nosiplog
  • log-level sipd notice
  • notify sipd nodebug

display log file

  • show logfile log.sipd

create log file

  • package-logfiles all
  • show support-info

Packet Capture
#

To preform a packet capture you can use the following.

  • packet-trace local start s1p0
    • packet-trace local start s1p0 1.1.1.1 <local port> <remote port>
  • packet-trace local stop s1p0

LRT Refresh
#

  • notify lrtd refresh my-lr-file
  • notify lrtd refresh my-lr-file
  • show lrt route-entry my-lr-file 8675309

Display Certificate Information
#

  • show run certificate-record short
  • show security certificates detail
  • show security certificates pem

Call Processing
#

  • show sipd sessions
    • show sipd sessions all careful with this command as it will but all calls
    • show sipd sessions by-agent <SA-name>
  • monitor-session
  • show sipd errors
  • show sipd policy

SIPd Registrations
#

  • show sipd register
  • show registration
  • show registration sipd <by-realm>

Troubleshooting Audio
#

  • show sip session by-user <number>
  • show nat by-addr <contact field of the number>
  • show nat by-index <index number of call>
Related Reading & Resources
For more information about me, check out my bio.