41-16
Cisco ASA 5500 Series Configuration Guide using ASDM
Chapter41 Configuring AAA Rules for Network Access
Configuring Accounting for Network Access
Configuring Accounting for Network Access
The ASA can send accounting information to a RADIUS or TACACS+ server about any TCP or UDP
traffic that passes through the ASA. If that traffic is also authenticated, then the AAA server can maintain
accounting information by username. If the traffic is not authenticated, the AAA server can maintain
accounting information by IP address. Accounting information includes session start and stop times,
username, the number of bytes that pass through the ASA for the session, the service used, and the
duration of each session.
To configure accounting, perform the following steps:
Step1 If you want the ASA to provide accounting data per user, you must enable authentication. For more
information, see the “Configuring Network Access Authentication” section on page41-4. If you want
the ASA to provide accounting data per IP address, enabling authentication is not necessary and you can
continue to the next step.
Step2 From the Configuration > Firewall > AAA Rules pane, choose Add > Add Accounting Rule.
The Add Accounting Rule dialog box appears.
Step3 From the Interface drop-down list, choose the interface for applying the rule.
Step4 In the Action field, click one of the following, depending on the implementation:
Account
Do not Account
Step5 From the AAA Server Group drop-down list, choose a server group. To add a AAA server to the server
group, click Add Server. See the “Testing Server Authentication and Authorization” section on
page 38-29 for more information.
Step6 In the Source field, enter the source IP address, or click the ellipsis (...) to choose an IP address already
defined in ASDM.
Step7 In the Destination field, enter the destination IP address, or click the ellipsis (...) to choose an IP address
already defined in ASDM.
Step8 In the Service field, enter an IP service name or number for the destination service, or click the ellipsis
(...) to choose a service.
Step9 (Optional) In the Description field, enter a description.
Step10 (Optional) Click More Options to do any of the following:
To specify a source service for TCP or UDP, enter a TCP or UDP service in the Source Service field.
The destination service and source service must be the same. Copy and paste the Destination Service
field content to the Source Service field.
To make the rule inactive, clear the Enable Rule check box.
You may not want to remove a rule, but instead turn it off.
To set a time range for the rule, from the Time Range drop-down list, choose an existing time range.
To add a new time range, click the ellipsis (...). For more information, see the “Configuring Time
Ranges” section on page 20-15.
Step11 Click OK.
The Add Accounting Rule dialog box closes and the rule appears in the AAA Rules table.
Step12 Click Apply.