radius-attribute

Function

The radius-attribute command configures the mode of encapsulating user IP addresses.

The undo radius-attribute command restores the default configuration.

By default, a user address is encapsulated in version 1 mode. Only an effective address for which a routing entry has been generated can be encapsulated into the attributes of the RADIUS server. Without an effective address, the attributes will not be delivered by the RADIUS server.

This command is supported only on the NetEngine 8000 F1A.

Format

radius-attribute { framed-ip-address | delegated-ipv6-prefix } encapsulation-method { version1 | version2 }

undo radius-attribute { framed-ip-address | delegated-ipv6-prefix } encapsulation-method version2

Parameters

Parameter Description Value
framed-ip-address

Indicates the attributes of a user's IPv4 address.

-

delegated-ipv6-prefix

Indicates the attributes of Delegated-IPv6-Prefix.

-

encapsulation-method

Indicates the mode of encapsulating the attributes of IP addresses.

-

version1

Indicates that a user address is encapsulated in version 1 mode by default, which means only an effective address can be encapsulated into the attributes of the RADIUS server.

-

version2

Indicates that encapsulating attributes in version 2 mode requires an effective address for encapsulation. Without an effective address, use the ineffective address delivered by a RADIUS server for encapsulation. Without either address, the attributes will not be delivered by the RADIUS server.

-

Views

System view

Default Level

2: Configuration level

Task Name and Operations

Task Name Operations
radius write

Usage Guidelines

Usage Scenario

The radius-attribute command configures an encapsulation mode for user IP addresses.

Encapsulating attributes in version 2 mode requires an effective address for encapsulation. Without an effective address, use the ineffective address delivered by a RADIUS server for encapsulation.

Precautions

In VS mode, this command is supported only by the admin VS.

Example

# Encapsulate a user's Framed-IP-Address attributes in version 2 mode.
<HUAWEI> system-view
[~HUAWEI] radius-attribute framed-ip-address encapsulation-method version2
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >