Next: Menu, Previous: Login-Time, Up: Radius Internal Attributes [Contents][Index]
Match-ProfileATTRIBUTE Match-Profile 2004 string
| Users: | LR | |
| Hints: | -R | |
| Huntgroups: | -R | |
| Additivity: | Append | |
| Proxy propagated: | No |
The Match-Profile attribute can be used in LHS and RHS lists of a
user profile. Its value is the name of another user’s profile (target
profile). When Match-Profile is used in the LHS, the incoming
packet will match this profile only if it matches the target profile.
In this case the reply pairs will be formed by concatenating the RHS
lists from both profiles.
When used in the RHS, this attribute causes the reply pairs
from the target profile to be appended to the reply from the current
profile if the target profile matches the incoming request.
For example:
IPPOOL NAS-IP-Address = 10.10.10.1
Framed-Protocol = PPP,
Framed-IP-Address = "10.10.10.2"
IPPOOL NAS-IP-Address = 10.10.11.1
Framed-Protocol = PPP,
Framed-IP-Address = "10.10.11.2"
guest Auth-Type = SQL
Service-Type = Framed-User,
Match-Profile = IPPOOL
In this example, when user guest comes from NAS
10.10.10.1, he is
assigned IP 10.10.10.2, otherwise if he is coming from NAS
10.10.11.1 he is assigned IP 10.10.11.2.