Cisco Support Community
Showing results for 
Search instead for 
Did you mean: 

Welcome to Cisco Support Community. We would love to have your feedback.

For an introduction to the new site, click here. And see here for current known issues.

New Member

pix 6.3, aaa accounting


I'm trying to understand what the following command would do:

"aaa accounting include tcp/0 inside TACACS+"

( is any old host, is the PIX)

I think I get "include" (create a new rule) & "tcp/0" (the rule specifies all tcp ports).

But (which pix ios 6.3 doc calls local_ip -"host or network of hosts that you want to be authenticated or authorized") - I think that would be the clients. Is that right?

And (called foreign_ip) is not clear at all - The doc calls this foreign_ip - "hosts you want to access the local_ip address". Given that I've defined as the PIX, this seems to have the PIX accessing the clients. Yet if I flip the IP addresses, I get the PIX being the box I want to have authenticated, which also doesn't seem right...

Probably I'm completely missing what circumstances this would be used for. On my network, so far all we use AAA for is logging telnet access into devices, and logging the commands that are executed on the devices, but I know AAA is also used to allow users access to various things...

(the doc I'm looking at is

TIA - Linnea


Accepted Solutions

Re: pix 6.3, aaa accounting

You got it!


Re: pix 6.3, aaa accounting



aaa accounting is used with aaa authentication.

With aaa authentication include any inside (your inside host/mask) 0 0 tacacs+, all outgoing connection will be authenticated. local_IP is the source, foreign_IP is the destination.

Authentication will trigger with telnet,ssh,ftp,http and https traffic.

You can log with accounting the session data of authenticated user with the aaa accounting command. Use the same source,destination as the authentication command.

aaa accounting work only for http,https and ftp connections. (only those will be sent to the tacacs server)

New Member

Re: pix 6.3, aaa accounting

Hi Dominic,


This is what I get from your information:

There are 3 entities - Source, Destination, and, in between them, a device configured to do AAA.

Is that right?

If so, and the "between" device is a PIX, the foreign IP would NOT be the address of the PIX itself. Right?

Re: pix 6.3, aaa accounting

You got it!