The radius-attribute disable command disables a RADIUS attribute.
The undo radius-attribute disable command enables a RADIUS attribute.
By default, RADIUS attributes are enabled.
For NetEngine 8000 F1A, NetEngine 8000 F2A:
radius-attribute disable { attr-description | hw-acct-update-address } { receive | send } *
radius-attribute disable extend attr-description { access-request | access-accept | account } *
radius-attribute disable { attr-description | hw-acct-update-address } { access-request | access-accept | account [ start ] } *
radius-attribute disable { attr-description | hw-acct-update-address } { ip forbid-ip | string forbid-string | bin forbid-bin-value | integer vendor-id } receive
radius-attribute disable extend vendor-specific src-vendor-id src-sub-attr-id access-accept
undo radius-attribute disable [ attr-description | hw-acct-update-address ]
undo radius-attribute disable extend [ attr-description | vendor-specific src-vendor-id src-sub-attr-id ]
undo radius-attribute disable { attr-description | hw-acct-update-address } { ip forbid-ip | string forbid-string | bin forbid-string | integer integer-value } receive
For NetEngine 8000 F1A:
radius-attribute disable { hw-acct-update-address | flow-attributes } integer integer-value account
undo radius-attribute disable [ hw-acct-update-address | flow-attributes ] integer integer-value account
For NetEngine 8000 F1A:
radius-attribute disable attr-description { coa-request | dm-request }
Parameter | Description | Value |
---|---|---|
attr-description |
Specifies the attribute description and can automatically match the attribute names in the attribute dictionary. |
The value is a string of 1 to 64 characters. |
hw-acct-update-address |
Disables the HW-Acct-Update-Address attribute when the attribute value is equal to a certain integer. |
Currently, the integer parameter can be set to 0 only. |
receive |
Disables the attribute on the receiver (response packet). |
- |
send |
Disables the attribute on the sender (request packet). |
- |
extend |
Specifies the extended attribute description. |
- |
access-request |
Indicates an access-request packet. |
- |
access-accept |
Indicates an access-accept packet. |
- |
account |
Indicates an accounting packet. |
- |
start |
Disables the Acct-Delay-Time attribute in accounting-start packets. |
- |
ip forbid-ip |
Specifies an IP address. |
This value uses the dotted decimal notation. |
string forbid-string |
Specifies a string. |
The value is a string of 1 to 254 characters. |
bin forbid-bin-value |
Specifies a binary number. |
The value ranges from 1 to 254 in the binary format. |
integer integer-value |
Specifies an integer. |
The value is an integer ranging from 0 to 4294967295. |
vendor-id |
Vendor id. |
The value is an integer ranging from 1 to 4294967295. |
vendor-specific src-vendor-id |
Specifies the vendor-specific attribute ID. |
The value is an integer ranging from 1 to 4294967295. |
src-sub-attr-id |
Specifies the vendor-specific sub-attribute ID. |
The value is an integer ranging from 1 to 255. |
integer-value |
Forbid integer value. NOTE:
This parameter is supported only on the NetEngine 8000 F1A. |
The value is 0. |
flow-attributes |
If you specify the flow-attributes parameter, the following RADIUS attributes are all disabled:
NOTE:
This parameter is supported only on the NetEngine 8000 F1A. |
Currently, the integer parameter can be set to 0 only. |
coa-request |
Specifies a CoA-Request packet. NOTE:
This parameter is supported only on the NetEngine 8000 F1A. |
- |
dm-request |
Specifies a DM request packet. NOTE:
This parameter is supported only on the NetEngine 8000 F1A. |
- |
Usage Scenario
The radius-attribute disable command is used in the following scenarios:
Prerequisites
The radius-server attribute translate command has been run to enable RADIUS attribute translation.
Configuration Impact
After a specified RADIUS attribute is disabled, the attribute is neither encapsulated into packets sent to the server nor processed after it is received by the device.
Precautions
In VS mode, this command is supported only by the admin VS.
<HUAWEI> system-view [~HUAWEI] radius-server group shiva [*HUAWEI-radius-shiva] radius-server attribute translate [*HUAWEI-radius-shiva] radius-attribute disable account send
<HUAWEI> system-view [~HUAWEI] radius-server group shiva [*HUAWEI-radius-shiva] radius-server attribute translate [*HUAWEI-radius-shiva] radius-attribute disable framed-route send
<HUAWEI> system-view [~HUAWEI] radius-server group shiva [*HUAWEI-radius-shiva] radius-server attribute translate [*HUAWEI-radius-shiva] radius-attribute disable frame-route send