Using the Accounting Console Logging Feature

Example: Telnet Remote View of the Accounting Log

The following example shows the commands necessary to remotely view the accounting log via Telnet with a loopback connector on port 16:

Local>

CHANGE PORT

16

ACCESS

REMOTE

 

 

 

Local>

CHANGE TELNET LISTENER 2001

PORT

16

 

Local>

CHANGE TELNET

LISTENER 2001

CONNECTION

ENABLE

Local>

CHANGE

SERVER

CONSOLE

16

 

 

 

Local>

CHANGE

PORT

16

AUTOBAUD DISABLED

SPEED

57600

From a remote UNIX system, the command is (replace x.x.x.x with your server’s IP address):

#TELNET x.x.x.x 2001

This will cause the accounting events to be displayed on the remote screen. To log the events to a file, type the following command (replace x.x.x.x with your server’s IP address):

# TELNET x.x.x.x 2001 > ACCT.LOG

23-16 Accounting