option82-relay-mode subopt

Function

The option82-relay-mode subopt command configures the format in which a circuit ID or a remote agent ID is transmitted.

The undo option82-relay-mode subopt 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

option82-relay-mode subopt { agent-circuit-id { hex | string } | agent-remote-id { hex | string } } *

undo option82-relay-mode subopt

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-idand 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.

Precautions

This command is supported only on the admin VS.

The functions of the option82-relay-mode subopt command and the access-line-id translate 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 are run more than once in the same view, the latest configuration overrides the previous one.

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] bas
[~HUAWEI-GigabitEthernet0/1/1-bas] access-type layer2-subscriber
[*HUAWEI-GigabitEthernet0/1/1-bas] commit
[~HUAWEI-GigabitEthernet0/1/1-bas] client-option82
[*HUAWEI-GigabitEthernet0/1/1-bas] commit
[~HUAWEI-GigabitEthernet0/1/1-bas] option82-relay-mode include agent-circuit-id
[*HUAWEI-GigabitEthernet0/1/1-bas] commit
[~HUAWEI-GigabitEthernet0/1/1-bas] option82-relay-mode subopt agent-circuit-id hex
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >