15-13
ATM Switch Router Software Configuration Guide
OL-7396-01
Chapter15 Configuring ATM Accounting, RMON, and SNMP
Configuring ATM Accounting
Configuring Remote Logging of ATM Accounting Records
You can collect ATM accounting records to a remotely connected PC or UNIX workstation. You can use
this method in place of, or in addition to, collecting ATM accounting records as a file into the switch’s
memory.
The remote logging method requires a server daemon to be running on a PC or a UNIX workstation that
is reachable from the switch using IP. The server daemon listens to the TCP port specified in the switch
side remote logging configuration. When the ATM accounting process on the switch sends a TCP
connect request, the daemon accepts the connection. After connection has been established, the switch
side ATM accounting process sends accounting records, as they are created, to the remote host . The
remote host then receives the records and stores them in a local file. The collected ATM accounting
records are in ASN1 format. The first record contain s the format of the following records.
To configure remote logging, perform the following steps in global configuration mode:
The PC or workstation configured as backup takes over collection of ATM accounting records if the
primary fails. Using the keyword only causes only remote logging to be performed, freeing the ATM
switch router’s memory for other purposes.
Example
The following example shows how to configure remote logging to a PC named eagle on port 2001, w ith
port 2002 as a backup:
Switch(config)# atm accounting file acctng_file1
Switch(config-acct-file)# remote-log primary-host eagle 2001 alternate-host eagle 2002

Displaying the Remote Logging Configuration

To display the remote logging configuration, use the following privileged EXEC command:
Command Purpose
Step1 Switch(config)# atm accounting file acctng_file1 Configures the ATM accounting file and changes
to accounting file configuration mode.
Step2 Switch(config)# remote-log [only] primary-host
hostname1 tcp-port1 [alternate-host hostname2
tcp-port2]
Specifies the main and optional backup hostname
or IP address and TCP port number.
Command Purpose
show atm accounting Displays the remote logging configuration.