[Contents] [Prev] [Next] [Index] [Report an Error]

# Configuring Headers for Flat File Accounting Plug-Ins (C-Web Interface)

When the SAE writes data to a flat file, it writes into the first line the headers that identify the attributes in the file. For example, in the following accounting file, the first line lists headers for all attribute fields in the file, and the following lines list the actual data in each field:

`

Accounting Status,NAS ID,SSP Host,Router Name,Interface Name,Interface Alias,Interface Description,NAS port ID,User IP Address,User ID,User Accounting ID,User Authentication ID,INTF Radius Class,INTF,SessionId, Service Name,Radius Class,Timestamp,SessionId, Terminate Cause,Session Time,Input Octets,Output Octets,Input Packets,Output Packets,NAS IP,User Mac address,Service Session Name,Service Session Tag,User Session Type,User Session Radius Class,User Session ID
start,SSP.uelmo,uelmo,default@erx7_ssp57,FastEthernet1/1.1,,IP1/1.1,default@erx7_ssp57 FastEthernet1/1:65535, 10.10.10.20,pebbles@virneo.net,,,,erx fastEthernet 1/1:0001048619,Video-Gold,Video-Gold,Fri Jan 30 14:23:29 EDT 2004, VideoGold:null:1064946209182, 0,0,0,0,0,0, 10.10.7.17,,,,PPP,, pebbles:1064946144841

`

You can assign your own names to the headers that appear in the file. To do so, define the header names in a template, and then set up file accounting plug-in instances to use the template. The default template, FileAccounting.std, defines header names for all possible attributes. You can use the default template or create your own templates.

To set up a file accounting template:

- Click Configure, expand Shared>SAE, and then expand the SAE group for which you want to configure RADIUS plug-ins.

To set up a file accounting template from the default template:

1. In the side pane, expand Configuration>File Accounting Template:std>Attributes.

   The Attributes pane appears.

2. In the side pane, click one of the attributes, enter information as described in the Help text in the main pane, and then click Apply.

To create a new file accounting template and add attributes:

1. In the side pane, click Configuration.

   The Configuration pane appears.

2. From the Create new list, select File Accounting Template.
3. In the dialog box, type a name for the template, and click OK.

   The new template appears in the side pane and in the File Accounting pane.

4. To add attributes to your template, expand the template in the side pane, and click Attributes.

   The Attributes pane appears.

5. From the Create new list, select the attribute that you want to create.
6. Enter information as described in the Help text in the main pane, and click Apply.

[Contents] [Prev] [Next] [Index] [Report an Error]