flow-route ipv6 vpn-instance

Function

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

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

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

Format

flow-route flowroute-name ipv6 vpn-instance vpn-instance-name

undo flow-route flowroute-name ipv6 vpn-instance vpn-instance-name

Parameters

Parameter Description Value
flowroute-name

Specifies the name of a static BGP IPv6 Flow Specification route or BGP IPv6 VPN 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.

vpn-instance vpn-instance-name

Specifies a VPN instance name.

The value is a string of 1 to 31 case-sensitive characters, spaces not supported. In addition, the VPN instance name must not be _public_. 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 vpn-instance command to manually configure a static BGP IPv6 VPN Flow Specification route with a filtering rule and a traffic controlling action. Receiving the route, a BGP IPv6 VPN Flow Specification peer generates a traffic policy to control the attack traffic.

One BGP IPv6 VPN 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 this command and ipv6-flow vpn-instance commands are run, BGP IPv6 VPN Flow Specification routes are automatically added 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 VPN Flow Specification route named rule2.
<HUAWEI> system-view
[~HUAWEI] ip vpn-instance vpna
[~HUAWEI-vpn-instance-vpna] quit
[~HUAWEI] flow-route rule2 ipv6 vpn-instance vpna
[*HUAWEI-flow-route-ipv6-vpna]
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >