dhcp option-64 qos-profile

Function

The dhcp option-64 qos-profile command configures an Option 64 parsing mode for the device to parse QoS profile names carried in ACK packets from a DHCP server.

The undo dhcp option-64 qos-profile command deletes the Option 64 parsing mode configured on the device to parse QoS profile names carried in ACK packets from a DHCP server.

By default, no Option 64 parsing mode is configured on the device to parse QoS profile names carried in ACK packets from a DHCP server.

This command is supported only on the NetEngine 8000 F1A.

Format

dhcp option-64 qos-profile [ parse-mode separator separator segment segment ]

undo dhcp option-64 qos-profile [ parse-mode separator separator segment segment ]

Parameters

Parameter Description Value
parse-mode

Option 64 parsing mode.

-

separator separator

Delimiter that divides an Option 64 value into several segments.

The value is one case-insensitive character, spaces unsupported. The default value is |.

segment segment

Segment which is divided from an Option 64 value and is specified as the QoS profile name to be delivered.

The value is an integer ranging from 1 to 3. By default, the value is 2.

Views

AAA domain view, System view

Default Level

2: Configuration level

Task Name and Operations

Task Name Operations
dhcp write

Usage Guidelines

Usage Scenario

QoS profiles carrying parameters to control user bandwidth are configured on the device. The device selects a QoS profile to allocate bandwidth to users based on the service suite that they apply for. A DHCP server sends ACK packets carrying Option 64 fields. QoS profile names are encapsulated in these Option 64 fields. The dhcp option-64 qos-profile command configures an Option 64 parsing mode to parse QoS profile names to be delivered.

Configuration Impact

After the dhcp option-64 qos-profile command is configured in the system view, all QoS profile names delivered to users can be parsed. After the dhcp option-64 qos-profile command is configured in the domain view, only QoS profile names delivered to users in this domain can be parsed. If the dhcp option-64 qos-profile command is configured both in the system view and the domain view, the Option 64 parsing mode configured in the domain view has a higher priority over that in the system view.

Precautions

This command is supported only on the admin VS.

If you delete the configuration in the system view, the configuration in the domain view will not be affected.

The dhcp option-64 qos-profile command takes effect for users who go online after you have configured this command.

Example

# Configure the Option 64 parsing mode in the system view.
<HUAWEI> system-view
[~HUAWEI] dhcp option-64 qos-profile
# Configure the Option 64 parsing mode in AAA domain named isp1.
<HUAWEI> system-view
[~HUAWEI] aaa
[~HUAWEI-aaa] domain isp1
[*HUAWEI-aaa-domain-isp1] commit
[*HUAWEI-aaa-domain-isp1] dhcp option-64 qos-profile parse-mode separator - segment 3
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >