(Optional) Parsing Option 64 to Manage User Bandwidth

The router can parse the QoS profile name from the Option 64 field delivered by the DHCP server to manage user bandwidth.

Context

A router is configured with different QoS profiles that contain the parameters used to control user bandwidth. The router selects a QoS profile to allocate bandwidth to users based on the service package that they apply for. QoS profile names are encapsulated into Option 64 fields of ACK packets delivered by a DHCP server. As such, you need to configure an Option 64 parsing mode on the router to obtain QoS profile names.

The router allocates bandwidth to users after they have been authenticated. To change user bandwidth when users are already 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 mode configured in the AAA domain view takes precedence if you configure an Option 64 parsing mode in both views.

Procedure

  • Configure the function to parse QoS profile names from Option 64 fields 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 the ACK packets proactively delivered by the DHCP server so that the bandwidth can be changed for online users.

    4. Run commit

      The configuration is committed.

  • Configure the function to parse QoS profile names from Option 64 fields 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 the ACK packets proactively sent by the DHCP server so that the bandwidth can be changed for online users in the domain.

    6. Run commit

      The configuration is committed.

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