exclude

Function

The exclude command configures an attribute to be excluded in a RADIUS test group.

The undo exclude command cancels the configuration.

By default, attributes to be excluded in a RADIUS test group are not configured.

Format

exclude [ authentication | accounting ] radius-attribute-name

undo exclude [ authentication | accounting ] [ radius-attribute-name ]

Parameters

Parameter Description Value
authentication

Indicates authentication attributes.

-

accounting

Indicates accounting attributes.

-

radius-attribute-name

Specifies an attribute name.

The value is a string of 1 to 64 characters.

Views

RADIUS test template view

Default Level

2: Configuration level

Task Name and Operations

Task Name Operations
radius write

Usage Guidelines

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 not to carry specific attributes if needed.

If you have run the include command to configure an attribute to be included, run the undo include command to cancel the configuration before running the exclude command.

In VS mode, this command is supported only by the admin VS.

Example

# In the RADIUS test group named alu, configure the accounting packets not to carry the chap-password attribute.
<HUAWEI> system-view
[~HUAWEI] radius-test-group alu
Info: It's successful to create an radius test group!
[*HUAWEI-rds-test-grp-alu] exclude accounting chap-password
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >