The include command configures an attribute to be included in the RADIUS test group.
The undo include command cancels the configuration.
By default, attributes to be included in a RADIUS test group are not configured.
Parameter | Description | Value |
---|---|---|
authentication |
Indicates authentication attributes. |
- |
accounting |
Indicates accounting attributes. |
- |
radius-attr-name |
Specifies an attribute name. |
The value is a string of 1 to 64 characters. |
auto |
Indicates that the RADIUS attributes use default values. |
- |
radius-attribute-value |
Specifies an attribute value. |
The value is a string of 1 to 253 case-sensitive characters, spaces not supported. The valid length of the attribute ranges from 1 to 247. |
user-password user-password |
Specifies a user password. |
The value is a string of 1 to 128 case-insensitive characters, spaces not supported. When value is auto, a user password is generated automatically. |
chap-password chap-password |
Specifies a CHAP password. |
The value is a string of 1 to 16 case-insensitive characters, spaces not supported. When value is auto, a CHAP password is generated automatically. |
Usage Scenario
When the test-aaa command is run to test whether a user can be authenticated by a RADIUS server, you can run the exclude command to configure authentication or accounting packets to carry specific attributes.
If you have run the exclude command to configure an attribute to be excluded, run the undo exclude command to cancel the configuration before running the include command.In VS mode, this command is supported only by the admin VS.
<HUAWEI> system-view [~HUAWEI] radius-test-group alu Info: It's successful to create an radius test group! [*HUAWEI-rds-test-grp-alu] include authentication chap-password 123@pEAK