The radius-attribute translate command performs RADIUS attribute translation.
The undo radius-attribute translate command cancels RADIUS attribute translation.
By default, attributes are not converted, and are encapsulated and decapsulated in default mode.
Parameter | Description | Value |
---|---|---|
src-attr-description |
Specifies the source attribute description. The value can automatically match the attribute names in the attribute dictionary. |
The value is a string of 1 to 64 characters. |
dest-attr-description |
Specifies the destination attribute description. The value can automatically match the attribute names in the attribute dictionary. |
The value is a string of 1 to 64 characters. |
receive |
Performs RADIUS attribute translation for the response packet sent from the receiver. |
- |
send |
Performs RADIUS attribute translation for the request packet sent from the sender. |
- |
access-request |
Indicates an access-request packet. |
- |
access-accept |
Indicates an access-accept packet. |
- |
account |
Indicates an accounting packet. |
- |
attr-description |
Attribute name. |
The value is a string of 1 to 64 characters. |
Usage Scenario
When the device connects to the RADIUS server, the RADIUS attributes supported by the two devices may be different. If the formats of the attributes are the same and only the vendor number and attribute number are different, you can use the attribute conversion to adapt to the differences.
Prerequisites
Before performing RADIUS attribute translation, you need to run the radius-server attribute translate command to enable RADIUS attribute explanation.
Configuration Impact
After the attribute translation function is configured, thedevice can encapsulate or parse src-attribute by using the format of dest-attribute when transmitting or receiving RADIUS packets. By doing this, thedevice can communicate with different types of RADIUS servers.
For details about the attributes that can be translated and attribute translation formats, see "RADIUS Attributes" in the Feature Description.Precautions