server is running in high load and i do not access to other cisco 10000 router to test it for debug mod. for running in debug mod i change this parameter in site enable but i can not get full debug message in log file :
in authorize section :
auth_log
in accounting section :
detail
sql_log
in post-auth section :
sql_log
reply_log
and then you query/question the other answer provided to you regardoing multiple
attributes. just do what he said (your first one works because ONE attribute will
be the parent 'Cisco-AVpair').
i test it , but if i use Cisco-AVPair[0] and Cisco-AVPair[1] first one and second one is not working.
Do i need to to move them in some variable then use regular exertion ?(soothing like this) :
value0 := %{Cisco-AVPair[0]}
value1 := %{Cisco-AVPair[1]}
if (value0 =~ /^client-mac-address=([a-f0-9]
[a-f0-9])([a-f0-9][a-f0-9]).([a-f0-9][a-f0-9])([a-f0-9][a-f0-9]).([a-f0-9][a-f0-9])([a-f0-9][a-f0-9])$/) {
if (!Calling-Station-Id) {
update request {
Calling-Station-Id := "%{1}:%{2}:%{3}:%{4}:%{5}:%{6}"
Called-Station-Id := "%{NAS-Identifier}"
}
}
}
############################################################################
if (value1 =~ /^circuit-id-tag=(.*)$/) {
update request {
NAS-Port-Id := "%{1}"
}
}thanks and best regards.