Local Route Table Statistics and Management

This section ACLI commands that have been added so that you can troubleshooting this feature, and view monitoring statistics and other information about it.

Setting the Log Level

Log files for the local routing system task are log.lrtd and lrt.log. The lrt.log file contains the DNS request and response communication between the system’s SIP and local routing tasks.

Using the new ACLI notify lrtd command, you can set the local routing task’s log level to any of the following:

  • log
  • nolog
  • debug
  • nodebug

    To set the log level for the local routing task:

  1. In Superuser mode, type notify lrtd, followed by the log level you want to set. Then press Enter.
    ORACLE# notify lrtd log

Updating the Local Cache

When you want to update the cache file with new entries, delete old ones, or edit existing entries, you can refresh the local cache for a specific local routing policy.

To update the cache file for a local routing policy:

  1. In Superuser mode, type notify lrtd refresh, followed by the name of the local routing policy you want updated.
    ORACLE# notify lrtd refresh lookup

Testing a Lookup in the Local Cache

To test a lookup in the local cache:

  1. In User or Superuser mode, enter the show enum lookup lrt= command. After the equal sign (=), type the name of the local routing configuration you want to test followed by a Space. Then type in the E.164 number you want to look up, and press Enter.
    ORACLE# show enum lookup lrt=lookup +123
    Enum Lookup Result:
    Query Name -->
            +123
    Answers -->
            sip:123@192.168.1.191 ttl= 60

Displaying a Route Entry in the Local Cache

To see a route entry in the local cache:

  1. In User or Superuser mode, enter the show lrt route-entry command. Then type in the name of the local routing configuration, a Space, the key you want to use, and then press Enter.
    ORACLE# show lrt route-entry lookup 123
    UserName <123>
     User Type= E164
    NextHop= !^.*$!sip:123@192.168.1.191!
     NextHop Type= regexp

Displaying Statistics for a Local Route Tables

There are two ways to see statistics for local route tables:

  • Collectively—Viewing all of the statistics for all of the local route tables at once (using the show lrt stats command)
  • Individually—Viewing the statistics for a local route table that you specify (using the show lrt stats command with the name of a specific local routing configuration)

The Oracle Communications Session Border Controller shows you the following information:

  • Queries—Number of queries from the application includes those that resulted in a cache hit, and those that caused an actual query to be sent
  • Success—Number of successful results; includes cache hits and queries sent
  • NotFound—Number of note found results; includes cache hits and queries sent
  • Number of Valid Entries—Total number of valid entries in the cache
  • Number of Invalid Entries—Total number of invalid entries in the cache
  • Last Modified—Date and time the cache was last modified

Resetting ENUM Statistic Counters

To clear statistics for ENUM, you can use the ACLI reset command. Before you reset the counters, however, you might want to confirm the current statistics on the system are not zero. You can do so using the show command—by typing, for example, show enum stats.

The reset command takes the ENUM arguments to clear those sets of statistics. When you use the command, the system notifies you whether it has successfully cleared the statistics (even if the counter are zero) or if it has run into an error causing the command to fail.

You can reset all system statistics using the reset all command.

The ENUM example confirms successful completion of the command.

To clear ENUM statistics:

  1. At the command line, type reset enum and then press Enter.
    ORACLE# reset enum
    Successful reset of the ENUM Agent stats