access-line-id translate

Function

The access-line-id translate command configures the format in which a circuit ID or a remote agent ID is transmitted.

The undo access-line-id translate command restores the default setting.

By default, a circuit ID or a remote agent ID is transmitted in the form of a string.

This command is supported only on the NetEngine 8000 F1A.

Format

access-line-id translate { agent-circuit-id { hex | string } | agent-remote-id { hex | string } } *

undo access-line-id translate

Parameters

Parameter Description Value
agent-circuit-id

Indicates the format in which a circuit ID is transmitted.

-

hex

Indicates that a circuit ID is transmitted in the format of a hexadecimal string.

-

string

Specifies a string, in the form of which a remote agent ID is transmitted.

-

agent-remote-id

Indicates the format in which a remote agent ID is transmitted.

-

Views

BAS interface view (GE), BAS interface view (VE), BAS interface view (trunk)

Default Level

2: Configuration level

Task Name and Operations

Task Name Operations
bras-control write

Usage Guidelines

Usage Scenario

If hex is configured, the value of the attribute is converted into a hexadecimal string. If string is specified or no parameter is specified, the value of the attribute is not converted. The option82-relay-mode subopt command can be used in the following cases:

  • The client-option82 or client-access-line-id and option82-relay-mode include or access-line-id include commands have been run on the BAS interface to use the Calling-Station-Id attribute, NAS-Port-Id attribute, or BB-Caller-Id attribute of a RADIUS packet to send Option 82 information to the RADIUS server.
  • The client-option82 and option82-relay-mode dslam config-identify commands have been run on the BAS interface to use the Agent-CircuitID and Agent-RemoteID attributes of a RADIUS packet to send Option 82 information to the RADIUS server.
  • The client-option82 or client-access-line-id and option82-relay-mode dslam config-identify or access-line-id dslam config-identify commands have been run on the BAS interface to use the Agent-CircuitID and Agent-RemoteID attributes of a RADIUS packet to send Option 82 information to the RADIUS server.

Prerequisites

Before running this command, set the access type of the userto layer2 subscriber, layer2-leased-line, or layer3 subscriber by the access-type command.

Precautions

This command is supported only on the admin VS.

The functions of the access-line-id translate command and the option82-relay-mode subopt command are the same. Both of them are used to configure the format in which a circuit ID or a remote agent ID is transmitted. If they have been both run in the same view, the last configuration takes effect.

Example

# Configure the NetEngine 8000 F to convert the value of agent-circuit-id into a hexadecimal string, add the hexadecimal string to the RADIUS attribute, and then send it to the RADIUS server.
<HUAWEI> system-view
[~HUAWEI] interface GigabitEthernet 0/1/1
[~HUAWEI-GigabitEthernet0/1/1] commit
[~HUAWEI-GigabitEthernet0/1/1] bas
[~HUAWEI-GigabitEthernet0/1/1-bas] client-option82
[~HUAWEI-GigabitEthernet0/1/1-bas] option82-relay-mode include agent-circuit-id
[~HUAWEI-GigabitEthernet0/1/1-bas] access-line-id translate agent-circuit-id hex
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >