(Optional) Configuring the Device to Parse Option 64 Fields

The router can parse Option 64 fields delivered by a DHCP server to obtain QoS profile names for user bandwidth management.

Context

Different QoS profiles with bandwidth control parameters are configured on the router. The router selects a QoS profile to allocate bandwidth to users based on the service package that the users apply for. QoS profile names are encapsulated into Option 64 fields of ACK packets delivered by a DHCP server. Therefore, you need to configure an Option 64 parsing mode for the router to parse Option 64 fields for QoS profile names.

The router allocates bandwidth to users after they have been authenticated. To change user bandwidth when users are online, run the dhcp receive server-packet command.

You can configure an Option 64 parsing mode in the system view or the AAA domain view. The configuration in the AAA domain view takes precedence if you configure an Option 64 parsing mode in both views.

Procedure

  • Configure the router to parse Option 64 fields for QoS profile names in the system view.
    1. Run system-view

      The system view is displayed.

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

      An Option 64 parsing mode is configured.

    3. Run dhcp receive server-packet ack

      The router is enabled to receive and process ACK packets from the DHCP server, implementing bandwidth adjustment for online users.

    4. Run commit

      The configuration is committed.

  • Configure the router to parse Option 64 fields for QoS profile names in the AAA domain view.
    1. Run system-view

      The system view is displayed.

    2. Run aaa

      The AAA view is displayed.

    3. Run domain domain-name

      The AAA domain view is displayed.

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

      An Option 64 parsing mode is configured.

    5. Run dhcp receive server-packet ack

      The router is enabled to receive and process ACK packets from the DHCP server, implementing bandwidth adjustment for online users in the AAA domain.

    6. Run commit

      The configuration is committed.

Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >