The radius-server format-attribute nas-port command configures the format of the NAS-Port attribute.
The undo radius-server format-attribute nas-port command deletes the configured attribute format.
The radius-server format-attribute calling-station-id command selects a calling-station-ID attribute format that a specified vendor defines.
The undo radius-server format-attribute calling-station-id command deletes the configured calling-station-ID attribute format.
By default, no vendor ID is specified for the encapsulation format of the Calling-Station-Id attribute. Indicates encapsulating the nas-port attribute in Huawei's default format. For details about the default format, see Usage Guidelines.
This command is supported only on the NetEngine 8000 F1A.
Parameter | Description | Value |
---|---|---|
format-string |
Specifies the format. The rule for specifying format-string is as follows: Format 1:
Format 2: m32, indicating the 32 least significant bits of a user MAC address. |
The value is a string of 1 to 32 characters. |
format-attribute |
Indicates the format of Turkey version. |
- |
vendor vendor-id |
Specifies the ID of a supplier. |
The value is an integer ranging from 1 to 65535. Currently, only 2352, 2636, and 9 are supported. |
option82 |
Adds the Option 82 information that begins with a number sign (#) after the vendor ID of RedBack. The version1 keyword takes effect only when vendor-id is set to 2352. |
- |
version1 |
The Calling-Station-Id attribute is encapsulated based on the Redback-specific version1 format. In this case, the interface ID is in the slot ID/port number format, and does not include a sub-slot ID. Version1 takes effect only when the value of vendor-id is 2352. |
- |
nas-port |
No. 5 RADIUS attribute. |
- |
When the device is connected to a non-Huawei device, run the radius-server format-attribute nas-port command to allow the device to configure the format of the NAS-Port attribute.
To allow the device to communicate with a non-Huawei RADIUS server, run the radius-server format-attribute calling-station-id command to select a calling-station-ID attribute format that the specified vendor defines.<HUAWEI> system-view [~HUAWEI] radius-server group group1 [*HUAWEI-radius-group1] commit [~HUAWEI-radius-group1] radius-server format-attribute nas-port s2t2p6no10ni12