< Home

rr-filter

Function

The rr-filter command creates a reflection policy for the route reflectors.

The undo rr-filter command removes the configuration.

By default, no reflection policy for a route reflectors is created.

Format

rr-filter { extcomm-filter-number | extcomm-filter-name }

undo rr-filter

Parameters

Parameter Description Value

extcomm-filter-number

specifies the number of the extended community filter supported by the route-reflector group. You can specify only one extended community filter each time.

It is an integer that ranges from 1 to 399.

extcomm-filter-name

specifies the name of the extended community filter supported by the route-reflector group. You can specify only one extended community filter each time.

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

Views

BGP-VPNv4 address family view, BGP-VPNv6 address family view

Default Level

2: Configuration level

Usage Guidelines

Full-mesh connections need to be established between IBGP peers in an AS to ensure the connectivity between the IBGP peers. When there are many IBGP peers, it is costly to establish a fully-meshed network. An RR or a confederation can be used to solve the problem. Only the IBGP route of which route-target extended community attribute meets the matching rules can be reflected. This allows load balancing among RRs.

Example

# Create a route-reflector group, and enable the automatic filtering for VPNv4 route updates on the outbound interface. The group should be created on the basis of the permitted route target extended community attributes.

<HUAWEI> system-view
[HUAWEI] bgp 100
[HUAWEI-bgp] ipv4-family vpnv4
[HUAWEI-bgp-af-vpnv4] rr-filter 10
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >