< Home

display bgp vpn-target rt-filter

Function

The display bgp vpn-target rt-filter command displays information about the Route Target (RT) filter of the BGP VPN-Target address family.

Format

display bgp vpn-target rt-filter [ peer ipv4-address ] [ statistics ]

Parameters

Parameter Description Value

peer ipv4-address

Displays RT filter information of a specified peer.

-

statistics

Displays statistic information of RT filters.

-

Views

All views

Default Level

1: Monitoring level

Usage Guidelines

After an RT filter is configured, you can run the display bgp vpn-target rt-filter command to check information about the RT filter of a specified peer or all peers in the BGP VPN-Target address family.

Example

# Display information about the RT filter of all peers in the BGP VPN-Target address family.

<sysname> display bgp vpn-target rt-filter
 The number of rt-filter for peer 10.1.1.1 : 1
 Network  : RT <111 : 1>                     PrefixLen : 96
 Refcount :1      
 The number of rt-filter for peer 10.1.1.2 : 1     
 Network  : RT <111 : 2>                     PrefixLen : 96     
 Refcount :1

# Display information about the RT filter of a peer at 10.1.1.1 in the BGP VPN-Target address family.

<sysname> display bgp vpn-target rt-filter peer 10.1.1.1
 The number of rt-filter for peer 10.1.1.1 : 1
 Network  : RT <111 : 1>                       PrefixLen : 96
 Refcount :1
Table 1 Description of the display bgp vpn-target rt-filter command output

Item

Description

The number of rt-filter for peer 10.1.1.1

Number of RT filters

Network

VPN-Target of the RT route

PrefixLen

Prefix length

Refcount

Number of times that RT routes are referenced

# Display statistic information about the RT filter of a peer at 10.1.1.1 in the BGP VPN-Target address family.

<sysname> display bgp vpn-target rt-filter peer 10.1.1.1 statistics
     The number of rt-filter for peer 10.1.1.1 : 1 
Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >