display ip rd-filter

Function

The display ip rd-filter command displays information about the configured route distinguisher (RD) filter.

Format

display ip rd-filter [ rd-filter-number ]

Parameters

Parameter Description Value
rd-filter-number

Specifies the number of the RD filter.

The value is an integer ranging from 1 to 255.

Views

All views

Default Level

1: Monitoring level

Usage Guidelines

Usage Scenario

The RD attribute is carried in VPN routes. An RD filter is used to filter VPN routes.

You can run the display ip rd-filter command to:
  • View detailed information about a configured RD filter.
  • Check whether an RD filter is successfully deleted after running the undo ip rd-filter command.

Precautions

The display ip rd-filter command:
  • Displays the configuration information about a specified RD filter, if the number of RD filter is specified.
  • Displays the configuration information about all RD filters, if the number of the RD filter is not specified.
  • Does not display any information, if the RD filter does not exist in the system or the RD filter that is queried does not exist.

Example

# Display the configured RD filter.

<sysname> display ip rd-filter
Route Distinguisher Filter 1
        permit 1.1.1.1:1 2.2.2.2:* 100:1 200:*
Route Distinguisher Filter 2
        deny 1:1 2:2
        permit 1:* 2:*
Table 1 Description of the display ip rd-filter command output

Item

Description

Route Distinguisher Filter

Number of the RD filter

permit

Matching mode: permit

deny

Matching mode: deny

Related Topics
ip rd-filter

Huawei Proprietary and Confidential
Copyright © Huawei Technologies Co., Ltd.