xpl route-flow-group

Function

The xpl route-flow-group command creates a QPPB configuration group and displays the QPPB configuration group view.

The undo xpl route-flow-group command deletes a specified QPPB configuration group.

By default, no QPPB configuration groups are configured.

Format

xpl route-flow-group group-name

undo xpl route-flow-group group-name

Parameters

Parameter Description Value
group-name

Specifies the name of a QPPB configuration group.

The value is a string of 1 to 200 case-sensitive characters, spaces not supported. The string can contain letters, digits, underscores (_), hyphens (-), and dots (.). It must start with a letter or digit.

Views

System view

Default Level

2: Configuration level

Task Name and Operations

Task Name Operations
route-base write

Usage Guidelines

Usage Scenario

By default, routes do not carry the QoS attribute. Configuring QPPB helps collect traffic statistics.

To create a QPPB configuration group and enter the QPPB configuration group view to set a value for the QoS attribute of routes, run the xpl route-flow-group command.

Follow-up Procedure

  1. Set a value for the QoS attribute of routes using the following commands:
    • apply ip-precedence: sets the QoS parameter ip-precedence.
    • apply qos-local-id: sets the QoS local ID.
    • apply traffic-index: sets the traffic index.
    • apply behavior: sets a QoS behavior.
    • apply peer-id: sets an ID for a BGP peer group for URPF control.
  2. Run the end-group command in the QPPB configuration group view to conclude the configuration of the QPPB configuration group.

Precautions

To exit from the QPPB configuration group view, run the abort command in the QPPB configuration group view.

If multiple QPPB configuration groups are applied in a route-filter, the configuration in the last QPPB configuration group applied in the route-filter takes effect. Take the following configuration as an example. Because the QPPB configuration group named **rfg2 ** is the last applied group, the configuration of the apply qos-local-id command in this group takes effect. The configuration of the apply ip-precedence command in the group named **rfg1 ** does not take effect in the route-filter.

#

xpl route-flow-group rfg1

apply ip-precedence 6

end-group

#

xpl route-flow-group rfg2

apply qos-local-id 39

end-group

#

#

xpl route-filter rf1

apply group rfg1

apply group rfg2

end-filter

#

Example

# Configure a QPPB configuration group named qppb1.
<HUAWEI> system-view
[~HUAWEI] xpl route-flow-group qppb1
[~HUAWEI-xpl-rfg] apply ip-precedence 2,
[~HUAWEI-xpl-rfg] apply qos-local-id 10,
[~HUAWEI-xpl-rfg] apply traffic-index 1,
[~HUAWEI-xpl-rfg] apply peer-id 10
[~HUAWEI-xpl-rfg] end-group
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >