01-27-2012 12:28 PM - edited 03-10-2019 06:46 PM
Hi All,
I'm currently having an issue where specific vendor attributes from my Mikrotik NAS are not being logged int the Local accounting CSV. I installed the VSA's and they show as an option under system/logging in which I choose to log this case "Mikrotik-Host-IP", but just don't log (field shows up but always blank. Not sure why. they show up in the RDS.log file (see BOLD below), just not in the log file.
Any help appreciated,
Mike
RDS 01/27/2012 14:55:19 D 0245 1948 Request from host 192.168.16.10:1813 code=4, id=32, length=249 on port 56822
RDS 01/27/2012 14:55:19 E 3281 1948 (Unknown VSA Vendor ID 14122)
RDS 01/27/2012 14:55:19 E 3281 1948 (Unknown VSA Vendor ID 14122)
RDS 01/27/2012 14:55:19 I 3017 1948 [040] Acct-Status-Type value: 2
RDS 01/27/2012 14:55:19 I 3017 1948 [049] Acct-Terminate-Cause value: 3
RDS 01/27/2012 14:55:19 I 3017 1948 [061] NAS-Port-Type value: 19
RDS 01/27/2012 14:55:19 I 2999 1948 [031] Calling-Station-Id value: 00:26:4A:C2:E0:7E
RDS 01/27/2012 14:55:19 I 2999 1948 [030] Called-Station-Id value: SFO
RDS 01/27/2012 14:55:19 I 2999 1948 [087] NAS-Port-Id value: vlan3
RDS 01/27/2012 14:55:19 I 2999 1948 [001] User-Name value: JTWdefViD1
RDS 01/27/2012 14:55:19 I 3017 1948 [005] NAS-Port value: -2139001759
RDS 01/27/2012 14:55:19 I 2999 1948 [044] Acct-Session-Id value: 80816c61
RDS 01/27/2012 14:55:19 I 3042 1948 [008] Framed-IP-Address value: 192.168.64.152
RDS 01/27/2012 14:55:19 I 3047 1948 [026] Vendor-Specific vsa id: 14988
RDS 01/27/2012 14:55:19 I 3089 1948 [010] Mikrotik-Host-IP value: 192.168.64.152
RDS 01/27/2012 14:55:19 I 2999 1948 [025] Class value: CACS:0/3d00bf/c0a8100a/2155965537
RDS 01/27/2012 14:55:19 I 3036 1948 [055] Event-Timestamp value: 27-01-12 15:08
RDS 01/27/2012 14:55:19 I 3017 1948 [042] Acct-Input-Octets value: 550317
RDS 01/27/2012 14:55:19 I 3017 1948 [043] Acct-Output-Octets value: 23197449
RDS 01/27/2012 14:55:19 I 3017 1948 [052] Acct-Input-Gigawords value: 0
RDS 01/27/2012 14:55:19 I 3017 1948 [053] Acct-Output-Gigawords value: 0
RDS 01/27/2012 14:55:19 I 3017 1948 [047] Acct-Input-Packets value: 8495
RDS 01/27/2012 14:55:19 I 3017 1948 [048] Acct-Output-Packets value: 16346
RDS 01/27/2012 14:55:19 I 3017 1948 [046] Acct-Session-Time value: 1998
RDS 01/27/2012 14:55:19 I 2999 1948 [032] NAS-Identifier value: AWG
RDS 01/27/2012 14:55:19 I 3017 1948 [041] Acct-Delay-Time value: 0
RDS 01/27/2012 14:55:19 I 3042 1948 [004] NAS-IP-Address value: 192.168.16.10
01-30-2012 05:07 PM
Hello,
Can you please share the Mikrotik VSA dictionary please? I have not seen this issue before.
Best Regards.
02-06-2012 11:30 AM
This is from the ini file, thanks for your response
[User Defined Vendor]
Name=Mikrotik
IETF Code=14988
VSA 13=Mikrotik-Advertise-Interval
VSA 12=Mikrotik-Advertise-URL
VSA 3=Mikrotik-Group
VSA 10=Mikrotik-Host-IP
VSA 11=Mikrotik-Mark-Id
VSA 8=Mikrotik-Rate-Limit
VSA 9=Mikrotik-Realm
VSA 1=Mikrotik-Recv-Limit
VSA 14=Mikrotik-Recv-Limit-Gigawords
VSA 6=Mikrotik-Wireless-Enc-Algo
VSA 7=Mikrotik-Wireless-Enc-Key
VSA 4=Mikrotik-Wireless-Forward
VSA 5=Mikrotik-Wireless-Skip-Dot1x
VSA 2=Mikrotik-Xmit-Limit
VSA 15=Mikrotik-Xmit-Limit-Gigawords
VSA 21=Mikrotik-Wireless-Comment
[Mikrotik-Advertise-Interval]
Type=INTEGER
Profile= MULTI IN OUT
[Mikrotik-Advertise-URL]
Type=INTEGER
Profile= MULTI IN OUT
[Mikrotik-Group]
Type=STRING
Profile= MULTI IN OUT
[Mikrotik-Host-IP]
Type=IPADDR
Profile= IN
[Mikrotik-Mark-Id]
Type=STRING
Profile= MULTI IN OUT
[Mikrotik-Rate-Limit]
Type=INTEGER
Profile= MULTI IN OUT
[Mikrotik-Realm]
Type=STRING
Profile= MULTI IN OUT
[Mikrotik-Recv-Limit]
Type=INTEGER
Profile= MULTI IN OUT
[Mikrotik-Recv-Limit-Gigawords]
Type=INTEGER
Profile= MULTI IN OUT
[Mikrotik-Wireless-Enc-Algo]
Type=INTEGER
Profile= MULTI IN OUT
[Mikrotik-Wireless-Enc-Key]
Type=INTEGER
Profile= MULTI IN OUT
[Mikrotik-Wireless-Forward]
Type=INTEGER
Profile= MULTI IN OUT
[Mikrotik-Wireless-Skip-Dot1x]
Type=INTEGER
Profile= MULTI IN OUT
[Mikrotik-Xmit-Limit]
Type=INTEGER
Profile= MULTI IN OUT
[Mikrotik-Xmit-Limit-Gigawords]
Type=INTEGER
Profile= MULTI IN OUT
[Mikrotik-Wireless-Comment]
Type=STRING
Profile= IN
Discover and save your favorite ideas. Come back to expert answers, step-by-step guides, recent topics, and more.
New here? Get started with these tips. How to use Community New member guide