User Profile Configuration
This section describes how to configure locally defined user profiles for subscriber authentication. While external servers such as RADIUS are typically used, the system also supports local authentication using these profiles. User profiles allow you to define credentials and session parameters directly on the device. This provides an alternative authentication method, especially useful in small deployments or testing scenarios.
Configuring User Profile
Syntax:
The following command and options are used to configure a user profile. A user profile also includes authentication details.
| Attribute | Description |
|---|---|
|
Without any option, the command sets a user profile. |
|
Specifies the username for which the user profile is configured. |
|
Associates an L2TP pool used for assigning tunnel endpoints to the user. |
|
Specifies the user password in encrypted form for secure authentication. |
|
Specifies the user password in plain text, which is internally encrypted before storage. |
|
Specifies the tunnel type used for the subscriber session (for example, L2TP). Default: PPPoE. Values: PPPoE or L2TP. |
The following configuration shows the user name specified as 'user@rtbrick.com'. The password-encrypted-text attribute enables you to set the user’s password in an encrypted format. The tunnel-type is set to PPPoE.
supervisor@switch: cfg> show config access user-profile user@rtbrick.com
{
"rtbrick-config:user-profile": {
"user-name": "user@rtbrick.com",
"password-encrypted-text": "$243a1341f44f54888cdd385b9f40513f1",
"tunnel-type": "PPPoE"
}
}
To access the RESTCONF API that corresponds to this CLI, click
here.