routing-table rib-only (BGP-Flow address family view)

Function

The routing-table rib-only command disables a device from delivering a BGP Flow Specification route to the FES forwarding table.

The undo routing-table rib-only command restores the default configuration.

By default, a device is enabled to deliver a BGP (IPv6) Flow Specification or BGP (IPv6) VPN Flow Specification route to the FES forwarding table.

Format

routing-table rib-only [ route-policy route-policy-name | route-filter route-filter-name ]

undo routing-table rib-only

Parameters

Parameter Description Value
route-policy route-policy-name

Specifies the name of a route-policy.

The name is a string of 1 to 200 case-sensitive characters, with spaces not supported. When double quotation marks are used around the string, spaces are allowed in the string.

route-filter route-filter-name

Specifies the name of a route-filter.

The value is a string of 1 to 200 case-sensitive characters, spaces not supported. If parameters are included in the referenced route-filter, specify values for them in the format of (var1, var2, ...var8) behind the route-filter name. A maximum of eight parameters can be specified, and each value ranges from 1 to 200 characters.

Views

BGP-Flow address family view

Default Level

2: Configuration level

Task Name and Operations

Task Name Operations
bgp write

Usage Guidelines

Usage Scenario

To disable a device from delivering a BGP (IPv6) Flow Specification or BGP (IPv6) VPN Flow Specification route to the FES forwarding table, run the routing-table rib-only command. This command can be used when the BGP (IPv6) Flow Specification or BGP (IPv6) VPN Flow Specification route attribute does not need to take effect on a local device.

When route-policy-name or route-filter-name is specified in the command, the routes matching the policy are not added to the FES forwarding table, and the routes not matching the policy are added to the FES forwarding table.

Precautions

If the source of the invalid routes imported using the import-rib command matches the instance and address family in which the routing-table rib-only command is run, the import-rib and routing-table rib-only commands are mutually exclusive.

Example

# Disable a device from delivering a BGP Flow Specification route to the FES forwarding table.
<HUAWEI> system-view
[~HUAWEI] bgp 100
[*HUAWEI-bgp] ipv4-family flow
[*HUAWEI-bgp-af-ipv4-flow] routing-table rib-only
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >