Next: Blocks of Vendor-Specific Attributes, Previous: VENDOR Statement, Up: Dictionary of Attributes — raddb/dictionary [Contents][Index]
ATTRIBUTE name number type [vendor] [flags]
The ATTRIBUTE statement defines the internal representation of
an attribute: its symbolic name, data type and syntactical usage.
Its parts have the following meaning:
The attribute name.
The attribute ID (number).
The attribute type.
Vendor name for vendor-specific attributes. For usual attributes this field is empty or contains a dash (‘-’). The latter usage is for compatibility with previous version of GNU Radius
Flags, defining attribute properties (see Attributes).
The attribute property flags consist of a sequence of letters, whose meaning is determined by the following rules: 2
[L--RLR]
means that the attribute may be used in LHS of a rule in raddb/users, in RHS of a rule in raddb/hints, and in both sides of a rule in raddb/huntgroups.
Additivity = Replace
Additivity = Append
Additivity = None
ATTRIBUTE Service-Type 6 integer - [LR-RLR]=P
This statement declares that the attribute number 6 will be referred
to by the symbolic name ‘Service-Type’. The attribute is of
integer data type and it may be used in any part of matching rules,
except in LHS of a raddb/hints rule. The
additivity of Service-Type is set to ‘Replace’. The
attribute will be propagated through the proxy chain.
The flags are optional for compatibility with previous versions of GNU Radius. If they are omitted, the default is ‘[LRLRLR]+’
Next: Blocks of Vendor-Specific Attributes, Previous: VENDOR Statement, Up: Dictionary of Attributes — raddb/dictionary [Contents][Index]