client-vendor-class

Function

The client-vendor-class command configures the device to trust the vendor-class (dhcpv4 option60/dhcpv6 option16) information in DHCP packets.

The undo client-vendor-class command cancels the configuration.

By default, the device does not trust the vendor-class information sent from the DHCP client.

This command is supported only on the NetEngine 8000 F1A.

Format

client-vendor-class

undo client-vendor-class

Parameters

None

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

After the client-vendor-class command is run on the BAS interface, the NetEngine 8000 F considers the vendor-class information in the DHCP packets coming through the BAS interface valid and obtains user domain information from the vendor-class field.

If user domain information is obtained from the vendor-class information, the character string following the domain name delimiter (defaulting to @) in the vendor-class field is used as the domain name. If no user domain information is obtained from the vendor-class information, the NetEngine 8000 F performs the following procedure to continue searching for the information. If there is no domain name delimiter in the field, the NetEngine 8000 F performs a fuzzy or accurate match of the domain name information based on the configured mode. The procedure will stop if user domain information is obtained.

  • Check if the client-option60 or client-vendor-class command is configured on the BAS interface. If the command has been configured, obtain user domain information from the command configuration.
  • Check if the dhcp option-60 or vendor-class command is configured in the system view. If the command is configured, obtain user information from the command configuration.
  • Use the authorization domain configured on the BAS interface as the user domain.

Precautions

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

Example

# Configure the attributes of the vendor-class (dhcpv4 option60/dhcpv6 option16) fields in DHCP packets on the BAS interface GE 0/1/1.
<HUAWEI> system-view
[~HUAWEI] interface GigabitEthernet0/1/1
[~HUAWEI-GigabitEthernet0/1/1] commit
[~HUAWEI-GigabitEthernet0/1/1] bas
[~HUAWEI-GigabitEthernet0/1/1-bas] client-vendor-class
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >