09.12.2012 Views

Understanding the network.pdf - Back to Home

Understanding the network.pdf - Back to Home

Understanding the network.pdf - Back to Home

SHOW MORE
SHOW LESS

Create successful ePaper yourself

Turn your PDF publications into a flip-book with our unique Google optimized e-Paper software.

pairs (similar <strong>to</strong> those used <strong>to</strong> create user profiles). Here is an<br />

example of a RADIUS exec accounting record:<br />

Wed Jun 9 12:27:09 1999<br />

NAS-IP-Address = 192.168.17.1<br />

NAS-Port = 2<br />

NAS-Port-Type = Virtual<br />

User-Name = RAD-USER<br />

Called-Station-Id =<br />

Calling-Station-Id = 192.168.17.1<br />

Acct-Status-Type = S<strong>to</strong>p<br />

Acct-Au<strong>the</strong>ntic = RADIUS<br />

Service-Type = Shell-User<br />

Acct-Session-Id = 00000005<br />

Acct-Terminate-Cause = Idle-Timeout<br />

Acct-Session-Time = 601<br />

Acct-Delay-Time = 0<br />

In order <strong>to</strong> get accounting started, you need <strong>to</strong> be using security and have TACACS+ or RADIUS configured on <strong>the</strong><br />

client (router) and server ends. Accounting is configured using<br />

variations of <strong>the</strong> command .<br />

If you are using RADIUS, you can only collect accounting information<br />

for <strong>network</strong>, outbound connections, and EXEC sessions, providing<br />

essentially only user accounting information. If you need <strong>to</strong> collect<br />

"system accounting" information about <strong>the</strong> router, you will have <strong>to</strong><br />

use TACACS+. This provides support for collecting accounting<br />

information about <strong>the</strong> router using <strong>the</strong> and <br />

options.<br />

local-AS(config)#aaa accounting <strong>network</strong> start-s<strong>to</strong>p radius<br />

local-AS(config)#aaa accounting command start-s<strong>to</strong>p radius<br />

local-AS(config)#aaa accounting exec start-s<strong>to</strong>p radius<br />

local-AS(config)#aaa accounting system start-s<strong>to</strong>p tacacs+<br />

local-AS(config)#aaa accounting commands start-s<strong>to</strong>p tacacs+

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!