M K wrote:
Hello all!
I have freeradius 2.1.3 installed on my FreeBSD 7.1 OS. And i have cisco
7201 with ISG module. When i try to send CoA (Change of authorization)
account-logon request like this
/bin/echo
"User-Name='cisco',User-Password='cisco',cisco-avpair='subscriber:command=account-logon',Cisco-Account-Info='S172.16.xx.xx'"
| /usr/local/bin/radclient -x 172.16.yy.yy coa secret
http://www.cisco.com/en/US/docs/ios/12_2sb/isg/coa/guide/isgcaapb.html#wp1009738
The following example is a typical Service Active profile:
Service = Framed
Cisco: Account-Info = "S12.1.1.2
Cisco: Service-Info = "Ncoa_service"
Cisco: Command-Code = "0bservice_coa"
where 0b is symbol with 0xb code.
i.e.
#define IP "192.168.10.50"
int c = 0xb;
printf("Cisco-Command-Code = '%cP1024x512_SERVICE'\n",c);
printf("Cisco-Account-Info = S%s\n", ip);
--
With best regards, Evgeniy Kozhuhovskiy
Leader, Services team
Minsk State Phone Network, RUE Beltelecom.
-
List info/subscribe/unsubscribe? See http://www.freeradius.org/list/users.html