Vendor specific attributes in Access-Accept message

Andrei Abonyo Omondi AOmondi at Safaricom.co.ke
Sat Sep 22 00:08:44 CEST 2018


Hello i am trying to send below two Cisco Vendor Specific Attributess in every access-accept message. How do i do this?

Cisco­AVPair := "sub­qos-policy-in=S99_IN_POLICING_5Mbps"
Cisco­AVPair := "sub­qos-policy-out=S99_OUT_POLICING_5Mbps"


I've read that i need to add the VSAs to the dictionary but i cant figure out how to do this.
Also how do i set the rule that in every access-accept the VSA are sent?

I tried adding them to the user file luck this but no luck…
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -- - - - - - - - - - - -
        testing Cleartext-Password := "password"
        Cisco­AVPair := "sub­qos-policy-in=S99_IN_POLICING_5Mbps"
        Cisco­AVPair := "sub­qos-policy-out=S99_OUT_POLICING_5Mbps"

- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -- - - - - - - - - - - - - - - - - - - - - - -

This is what I'm getting from radiusd -X output
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -

reading pairlist file /etc/raddb/mods-config/files/authorize
/etc/raddb/mods-config/files/authorize[90]: Parse error (reply) for entry testing: Expecting operator
Failed reading /etc/raddb/mods-config/files/authorize
/etc/raddb/mods-enabled/files[9]: Instantiation failed for module "files"
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -  - - - -  -


If someone could also point me to a good guide or wiki on adding and testing VSAs that would be great

Best regards,

________________________________

Note:
All emails sent from Safaricom Limited are subject to Safaricom’s Email Terms & Conditions. Please click here to read the policy.
http://www.safaricom.co.ke/images/Downloads/Terms_and_Conditions/safaricom_email_terms_and_conditions.pdf



More information about the Freeradius-Users mailing list