Accounting Traffic and Server Statistics

Use the show accounting command to monitor the status and observe traffic statistics of your account servers.

The syntax for the show accounting command follows.

show accounting [<IPPort> | All] | [connections] | [ servers ]

Command arguments refine the output to address more specific detail, including:

  • <ipaddress:port>—Reports on the server you specify with IP address and port. Specify these servers using the syntax <ipaddress:port>.
  • all—Reports on all accounting servers
  • connections—Shows connections for all accounting servers
  • servers—Reports on servers when resolved using DNS and connection details for all Accounting Servers per pool

The output below presents the standard traffic data generated when using no argument, the ipport argument and the all argument.

SBC01# show accounting
07:23:40-198
Accounting Status:                              
                        -- Period --          ----- Lifetime ----
                  Active    High   Total      Total  PerMax   High
Request Queue       0       0       0          0       0       0
Client Trans        0       0       0          0       0       0
Server Trans        0       0       0          0       0       0
Sockets             2       2       0          2       2       2
Connections         0       0       0          0       0       0 

Total Accounting Server Stats:
                           ----Lifetime ----                    
                        Recent      Total    PerMax
Msgs Queued              0          0         0
Msgs Discarded           0          0         0
Wait Queue Asks          0          0         0
Wait Queue Pops          0          0         0
Msgs Reclaimed           0          0         0
Msgs Sent                0          0         0
Msg Send Failed          0          0         0
Msgs ReSent              0          0         0
Msgs Rcvd                0          0         0
Msgs Processed           0          0         0
Conn Timeouts           13      20880         7
Bad State Drops          0          0         0
Bad Type Drops           0          0         0
Bad Id Drops             0          0         0
Auth Failed Drops        0          0         0
Invalid peer Msgs        0          0         0
Protocol errors          0          0         0
Transient Failures       0          0         0
Permanent Failures       0          0         0 

Total Accounting Server Diameter msg Stats:                           
                           ----Lifetime ----                    
                      Recent      Total  PerMax
CER Sent                 0          0       0
CEA Success              0          0       0
CEA Errors               0          0       0
ACR Sent                 0          0       0
ACA Success              0          0       0
ACA Errors               0          0       0
DWR Sent                 0          0       0
DWA Success              0          0       0
DWA Errors               0          0       0
DWR Rcvd                 0          0       0
DWA Sent Success         0          0       0
DWA Sent Errors          0          0       0 

Total Accounting Server SIPD to RADD msg Stats:
                           ----Lifetime ----
                       Recent     Total   PerMax
Acct Type Start          0          0       0
Acct Type Stop           0          0       0
Acct Type Interim        0          0       0
Acct Type Event          0          0       0 

Server 1:
-----------------10.196.2.7:3869 -----------------
Connection state: UNAVAIL
Socket FD: -1
Reconnect attempt in 6s
Pending: 0 of 255
Current RTT: 0 ms(before failure)   
   Local IPPort          Remote IPPort    Socket State 
  10.196.165.97:0       10.196.2.7:3869     INITIAL 

Server 2:
-----------------10.196.165.86:3868 -----------------
Connection state: UNAVAIL
Socket FD: -1
Reconnect attempt in 18s
Pending: 0 of 255
Current RTT: 0 ms(before failure)   
   Local IPPort          Remote IPPort    Socket State
  10.196.165.97:0      10.196.165.86:3868  INITIAL

The system also displays DPR and DPA traffic on a server-specific basis within the show accounting all, show accounting connections, and show accounting <IPPort> commands.

DPR Sent          0         0       0
DPA Success              0          0       0
DPA Errors               0          0       0
DPR Rcvd                 0          0       0
DPA Sent Success         0          0       0
DPA Sent Errors          0          0       0

You use the servers argument to display those servers resolved by DNS, based on whether they reside in the primary or secondary pool. This command displays the servers based on IP resolution and includes DNS detail including priority and weightage.

SBC01# show accounting servers
07:23:40-198
FQDN: primary.oracle.com
Type: Primary
Last Resolved TimeStamp: Nov 16 08:31:01.521
Min TTL : 120 secs 

Server 1:
-----------------10.196.2.7:3869 -----------------
Connection state: UNAVAIL
Socket FD: -1
Reconnect attempt in 6s
Pending: 0 of 255
Current RTT: 0 ms(before failure)
Priority: 1
Weightage: 10
TTL: 120 secs
OutStanding ACR:10
Is Marked for Delete : True/False    
   Local IPPort          Remote IPPort    Socket State
   10.196.165.97:0     10.196.2.7:3869     INITIAL 

Server 2:
-----------------10.196.165.86:3868 -----------------
Connection state: UNAVAIL
Socket FD:-1
Reconnect attempt in 18s
Pending: 0 of 255
Current RTT: 0 ms(before failure)
Priority: 1
Weightage: 10
TTL: 120 secs
OutStanding ACR: 10
Is Marked for Delete : True/False    
   Local IPPort          Remote IPPort    Socket State
  10.196.165.97:0     10.196.165.86:3868   INITIAL 

FQDN: secondary.oracle.com
Type: Secondary
Last Resolved TimeStamp: Nov 16 08:31:01.521
Min TTL : 120 secs 

Server 1:
-----------------10.196.2.7:3869 -----------------
Connection state: UNAVAIL
Socket FD: -1
Reconnect attempt in 6s
Pending: 0 of 255
Current RTT: 0 ms(before failure)
Priority: 1
Weightage: 10
TTL: 120 secs
OutStanding ACR: 10
Is Marked for Delete : True/False    
   Local IPPort         Remote IPPort    Socket State
   10.196.165.97:0     10.196.2.7:3869     INITIAL 

Server 2:
-----------------10.196.165.86:3868 -----------------
Connection state: UNAVAIL
Socket FD: -1
Reconnect attempt in 18s
Pending: 0 of 255
Current RTT: 0 ms(before failure)
Priority: 1
Weightage: 10
TTL: 120 secs
OutStanding ACR: 10
Is Marked for Delete : True/False    
   Local IPPort          Remote IPPort    Socket State 
  10.196.165.97:0      10.196.165.86:3868   INITIAL

When using DNS to resolve CCF servers, you can use the following additional commands can help you determine DNS status, traffic and resolutions, within the context of the DNS server operating as an Edge Application Server (EAS)

  • show dns cache-entry-eas
  • show dns stats-eas
  • reset dns-eas