08-20-2003 11:23 PM - edited 03-02-2019 09:46 AM
I use a 3640+NM-30DM+NM-1CE1U to act as a remote access server,how can I record the user details(for instance,when the user login,from what telephone number,and when the user leave.
I use a syslog software,but can't record who(username but not ip address) and when login the remote server(3640),is there a way do to it?thanks
08-21-2003 07:43 AM
AAA accounting can give you a wide range of details of the dialup users:
http://www.cisco.com/en/US/products/sw/iosswrel/ps1834/products_feature_guide09186a00800801bc.html
http://www.cisco.com/en/US/products/sw/iosswrel/ps1834/products_feature_guide09186a00800801bc.html
Thanks, Mak.
08-22-2003 02:30 AM
As an alternative to AAA accounting as Mak suggested, you could configure (in global config mode):
modem call-record terse
this will log a call record each time a user is disconnected. As you can see in the example log message below, the userid and calling number are included. The end of call is the time of logging, and the start of call can be deduced since the call length is provided.
Aug 22 05:50:47.962 CEDT: %CALLRECORD-3-MICA_TERSE_CALL_REC: DS0 slot/contr/chan=2/0/0, slot/port=3/2, call_id=14E, userid=foobar, ip=0.0.0.0, calling=55512345, called=55556789, std=V90, prot=LAPM, comp = Unkn init-rx/tx b-rate=28800/49333, finl-rx/tx b-rate=28800/49333, rbs=0, d-pad=(invalid#256), retr=0, rx/tx chars=282/135, bad=25, rx/tx ec=20/12, bad=0, time=30, finl-state=STEADY, disc(modem)=8220 Rx (line to host) data flushing - OK/EC condition - locally detected/received DISC frame -- normal LAPM termination
also see http://www.cisco.com/univercd/cc/td/doc/product/software/ios122/122cgcr/fdial_r/drflcmo.htm#1102808 for a few options to the command.
hth
Herbert
Find answers to your questions by entering keywords or phrases in the Search bar above. New here? Use these resources to familiarize yourself with the community: