The basinfo-insert cn-telecom command configures the device to insert the access-line-id information in the format defined by cn-telecom if the device does not trust the access-line-id information sent from the DHCP client.
The undo basinfo-insert cn-telecom command configures the device not to trust the access-line-id information sent from the DHCP client.
The basinfo-insert version2 command configures the device to insert the access-line-id information in the format defined by version2 if the device does not trust the access-line-id information sent from the DHCP client.
The undo basinfo-insert version2 command restores the default setting.
By default, the device does not trust the access-line-id information sent from a DHCP client or insert BAS information in the format defined by cn-telecom or version2 before the access-line-id information.
This command is supported only on the NetEngine 8000 F1A.
Usage Scenario
After the basinfo-insert cn-telecom or basinfo-insert version2 command is configured, the device untrusts the access-line-id field or the PPPoE+ field contained in the DHCP sent by a client. Instead, the device creates an access-line-id field based on the physical location of the user that is determined through the user information such as the VLAN, and then inserts the access-line-id to the message before sending the message to the DHCP server, or RADIUS server.
If basinfo-insert cn-telecom is set, the device will insert the BAS information in the format defined by cn-telecom in one of the following formats: BAS information in the format defined by cn-telecom + 0/0/0/0/0/0Prerequisites
Before running this command, set the access type of the user by the access-type command.
Precautions
This command is supported only on the admin VS.
The basinfo-insert cn-telecom command is mutually exclusive with the following commands:<HUAWEI> system-view [~HUAWEI] interface GigabitEthernet 0/1/0 [~HUAWEI-GigabitEthernet0/1/0] bas [~HUAWEI-GigabitEthernet0/1/0-bas] access-type layer2-subscriber [*HUAWEI-GigabitEthernet0/1/0-bas] commit [~HUAWEI-GigabitEthernet0/1/0-bas] basinfo-insert cn-telecom