
38
Configuring the RADIUS attribute translation feature for a RADIUS scheme
Step Command
Remarks
1.
Enter system view.
system-view
N/A
2.
(Optional.) Define an
extended RADIUS
attribute.
radius attribute extended
attribute-name
[
vendor
vendor-id
]
code
attribute-code
type
{
binary
|
date
|
integer
|
interface-id
|
ip
|
ipv6
|
ipv6-prefix
|
octets
|
string
}
By default, no user-defined
extended RADIUS attributes exist.
Repeat this command to define
multiple extended RADIUS
attributes.
3.
Enter RADIUS scheme
view.
radius scheme
radius-scheme-name
N/A
4.
Enable the RADIUS
attribute translation
feature.
attribute translate
By default, this feature is disabled.
5.
Configure a RADIUS
attribute conversion rule.
attribute convert
src-attr-name
to
dest-attr-name
{ {
access-accept
|
access-request
|
accounting
} * |
{
received
|
sent
} * }
By default, no RADIUS attribute
conversion rules exist.
Repeat this command to add
multiple RADIUS attribute
conversion rules.
6.
Configure a RADIUS
attribute rejection rule.
attribute reject attr-name
{ {
access-accept
|
access-request
|
accounting
} * |
{
received
|
sent
} * }
By default, no RADIUS attribute
rejection rules exist.
Repeat this command to add
multiple RADIUS attribute rejection
rules.
Configuring the RADIUS attribute translation feature for a RADIUS DAS
Step Command
Remarks
1.
Enter system view.
system-view
N/A
2.
(Optional.) Define an
extended RADIUS
attribute.
radius attribute extended
attribute-name
[
vendor
vendor-id
]
code
attribute-code
type
{
binary
|
date
|
integer
|
interface-id
|
ip
|
ipv6
|
ipv6-prefix
|
octets
|
string
}
By default, no user-defined
extended RADIUS attributes exist.
Repeat this command to define
multiple extended RADIUS
attributes.
3.
Enter RADIUS DAS view.
radius dynamic-author server
N/A
4.
Enable the RADIUS
attribute translation
feature.
attribute translate
By default, this feature is disabled.
5.
Configure a RADIUS
attribute conversion rule.
attribute convert src-attr-name
to
dest-attr-name
{ {
coa-ack
|
coa-request
} * | {
received
|
sent
}
* }
By default, no RADIUS attribute
conversion rules exist.
Repeat this command to add
multiple RADIUS attribute
conversion rules.
6.
Configure a RADIUS
attribute rejection rule.
attribute reject
attr-name
{ {
coa-ack
|
coa-request
} * |
{
received
|
sent
} * }
By default, no RADIUS attribute
rejection rules exist.
Repeat this command to add
multiple RADIUS attribute rejection
rules.