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

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

Limit Network Access to 4hrs per day

Hi, I am trying to to allow my remote dialin user to have access to my network only for 4hrs per day. I am using acs 3.0 for windows and a AS5350 router.

#I have done the follwoing on the acs 3.0.

-enable the "Usage Quota" to 4hrs per day

#I have added the following on the AS5350:-

interface Virtual-Template1

timeout absolute 240 0

ppp timeout idle 600

However the user still able to logon more than 4hrs per day as the time is reset back to 4hrs each time they re-login.

Anyone have a solution to this.

3 REPLIES
Bronze

Re: Limit Network Access to 4hrs per day

Hi, the commands on your Virtual-Template1 is not needed, because ACS will do the time limit feature. You must remove it for ACS to do it's thing.

Then check that this command is entered on your ACS 5350. (I'm asuming you're using radius.)

aaa authorization network default group radius none

Hope this helps.

New Member

Re: Limit Network Access to 4hrs per day

Hi there,

Txs for the reply. However, it does not do what it is intended.

Upon dial-up, I will be able to access the network "more than 4hrs"(even 5hrs) until I logout. After login again then I will be denied access to the network. I thought the ACS will account once it reaches 4hrs, it should disconnect the user. It looks like the ACS did not issue a command to disconnect the user once reached the limit access time. looks like the limit time is not issued to the RAS.

Any idea how it can be resolved? Below is my aaa commands on the RAS.

Rgds,

:)zul

AS5350 AAA Commands

===================

aaa authentication login default local group radius enable

aaa authentication login console enable

aaa authentication ppp default group radius

aaa authorization network default group radius

aaa accounting update periodic 5

aaa accounting network default start-stop group radius

aaa session-id common

+++++++++++++++

Bronze

Re: Limit Network Access to 4hrs per day

Yip, I have tested this now using ACS3.2 with telnet access. The usage quota did work - halfway. I have set the group usage quota to 0.5 ( half and hour ) and opened a telnet session to the router. I configured:

"aaa acconting update periodic 2"

In ACS under the Network Configuration I enabled "Log Update/Watchdog Packets from this AAA Client" for that AAA client.

So 30 minutes past and I was not "kicked" off. But upon attempting to relogin, authentication failed. In the ACS Failed Attempts report the Authen-Failure-Code was "Users Usage Quota has been exhausted". So it does work.

But as you said, ACS does not seem to "kick" off a user who has exceeded a given quota. I will see if I can find any thing more on this. Because this a magnificant feature - if only it would work right.

Cheers.

160
Views
0
Helpful
3
Replies