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.