radius-server nas-port-id include

Function

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.

Format

radius-server nas-port-id include [ delimiter delimiter-val ] { interface-description [ delimiter int-delimiter-val ] | pe-vlan [ delimiter pevlan-delimiter-val ] | ce-vlan [ delimiter cevlan-delimiter-val ] } *

undo radius-server nas-port-id

Parameters

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.

-

Views

RADIUS server group view

Default Level

2: Configuration level

Task Name and Operations

Task Name Operations
bras-radius write

Usage Guidelines

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.

Example

# Configure the format of the NAS-Port-Id attribute sent by a non-L2TP LNS device to the RADIUS server.
<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 -
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >