routing-table rib-only route-filter (BGP-IPv4 unicast address family view)

Function

The routing-table rib-only route-filter command prohibits BGP routes matching a filtering policy from being added to the IP routing table.

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

By default, the preferred BGP routes are added to the IP routing table.

Format

routing-table rib-only route-filter route-filter-name

undo routing-table rib-only route-filter route-filter-name

Parameters

Parameter Description Value
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-IPv4 unicast address family view

Default Level

2: Configuration level

Task Name and Operations

Task Name Operations
bgp write

Usage Guidelines

Usage Scenario

If a route reflector (RR) is used and preferred BGP routes do not need to be used during the forwarding, the routing-table rib-only command can be used to make BGP routes unable to be added to the IP routing table or the forwarding layer. This improves forwarding efficiency and the system capacity.

Configuration Impact

After the routing-table rib-only command is run, the routes preferred by BGP are not added to the IP routing table.

Precautions

The routing-table rib-only command and the active-route-advertise command are mutually exclusive.

Example

# Configure a routing filter to prohibit routes from being added to the IP routing table.
<HUAWEI> system-view
[*HUAWEI] bgp 100
[*HUAWEI-bgp] ipv4-family unicast
[*HUAWEI-bgp-af-ipv4] routing-table rib-only route-filter rf
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >