< 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.

Views

BGP-VPNv4 address family view

Default Level

2: Configuration level

Usage Guidelines

The IBGP routes whose route-target extended community attributes meet the matching are reflected. This enables implementing the load balancing among route reflectors.

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.

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