classmap.ini File
The classmap.ini initialization file specifies what Steel-Belted Radius Carrier does with RADIUS attributes encoded in one or more Class attributes included in accounting requests it receives.
[AttributeName] Section
The [AttributeName] section of classmap.ini specifies whether RADIUS information encapsulated in a Class attribute is appended to an accounting request or replaces a current value in an accounting request. If one attribute is replaced by another, the original attribute can be added to the request with a different identifier.
[AttributeName]<add | replace> =Attribute[,Attribute]
NOTE: The RADIUS Class attribute cannot contain IPv6 attributes.
In the following example, the encapsulated User-Name attribute would replace the existing User-Name in the accounting request.
[User-name]replace = User-NameIn the following example, the encapsulated User-Name attribute would be placed in the accounting request as User-Name, and the original value for User-Name would be added to the request as Funk-Full-User-Name.
[User-name]replace = User-Name, Funk-Full-User-NameIn the following example, the encapsulated User-Name attribute would be added to the accounting request as a new attribute, and the original User-Name attribute would remain unchanged.
[User-name]add = Funk-Full-User-Name