flow-route ipv6

Function

The flow-route ipv6 command configures a static BGP IPv6 Flow Specification route and displays the Flow-Route view.

The undo flow-route ipv6 command deletes the static BGP IPv6 Flow Specification route.

By default, no static BGP IPv6 Flow Specification route is created.

Format

flow-route flowroute-name ipv6

undo flow-route flowroute-name ipv6

Parameters

Parameter Description Value
flowroute-name

Specifies the name of a static BGP Flow Specification route.

The value is a string of 1 to 30 case-sensitive characters without any space. When double quotation marks are used around the string, spaces are allowed in the string.

Views

System view

Default Level

2: Configuration level

Task Name and Operations

Task Name Operations
flow-route write

Usage Guidelines

Usage Scenario

To filter out the attack traffic of a certain type, you can run the flow-route ipv6 command to manually configure a static BGP IPv6 Flow Specification route with a filtering rule and a traffic controlling action. Receiving the route, a BGP IPv6 Flow Specification peer generates a traffic policy to control the attack traffic.

One BGP IPv6 Flow Specification route can include multiple if-match and apply clauses. The if-match clauses define filtering rules. The apply clauses specify actions. The relationships between if-match clauses and between apply clauses are as follows:

  • The relationship between if-match clauses of different types is "AND".
  • The relationship between apply clauses is "AND".

    All traffic matching if-match filtering rules must be filtered with the actions specified by apply clauses.

Configuration Impact

After the BGP IPv6 Flow address family is enabled using the flow-route ipv6 and ipv6-family flow commands, the generated BGP IPv6 Flow Specification route is imported to the BGP routing table.

if-match port and if-match destination-port or if-match source-port are mutually exclusive.

Example

# Configure a static BGP IPv6 Flow Specification route named rule2.
<HUAWEI> system-view
[~HUAWEI] flow-route rule2 ipv6
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >