The radius-server nas-port-id include command configures the format of the NAS-Port-Id attribute sent by a non-LNS device to the RADIUS server.
The undo radius-server nas-port-id command deletes the configured format of the NAS-Port-Id attribute sent by a non-LNS device to the RADIUS server.
By default, the device retains the format of the NAS-Port-Id attribute to be sent to the RADIUS server.
This command is supported only on the NetEngine 8000 F1A.
Parameter | Description | Value |
---|---|---|
delimiter pevlan-delimiter-val |
Specifies a delimiter. |
The value is b, *, -, \, #, $, @, &, :. |
delimiter cevlan-delimiter-val |
Specifies a delimiter. |
The value is b, *, -, \, #, $, @, &, :. |
delimiter delimiter-val |
Specifies a delimiter. |
The value is b, *, -, \, #, $, @, &, :. |
delimiter int-delimiter-val |
Specifies a delimiter. |
The value is b, *, -, \, #, $, @, &, :. |
interface-description |
Indicates the description of an interface. |
- |
pe-vlan |
Indicates the outer VLAN ID of a user. |
- |
ce-vlan |
Indicates the inner VLAN ID of a user. |
- |
Usage Scenario
If the RADIUS server has special requirements on the format of the NAS-Port-Id attribute, run the radius-server nas-port-id lns or radius-server nas-port-id command to configure the format of the NAS-Port-Id attribute as required.
Configuration Impact
If the radius-server nas-port-id lns or radius-server nas-port-id command is run more than once in the same view, the latest configuration overrides the previous one. After the radius-server nas-port-id lns or radius-server nas-port-id command is run, the NAS-Port-Id attribute is sent to the RADIUS server in the configured format.
<HUAWEI> system-view [~HUAWEI] radius-server group test2 [*HUAWEI-radius-test2] commit [~HUAWEI-radius-test2] radius-server nas-port-id include interface-description delimiter - pe-vlan delimiter - ce-vlan delimiter -