display bgp flow vpnv4 vpn-instance routing-table peer

Function

The display bgp flow vpnv4 vpn-instance routing-table peer received-routes active command displays BGP VPN FlowSpec and BGP VPNv4 FlowSpec peer information.

Format

display bgp flow vpnv4 vpn-instance vpn-instance-name routing-table peer remoteIpv4Addr advertised-routes

display bgp flow vpnv4 vpn-instance vpn-instance-name routing-table peer remoteIpv4Addr received-routes

display bgp flow vpnv4 vpn-instance vpn-instance-name routing-table peer remoteIpv4Addr received-routes active

Parameters

Parameter Description Value
vpn-instance-name

Specifies the name of a VPN instance.

The value is a string of 1 to 31 case-sensitive characters, spaces not supported. In addition, the VPN instance name must not be _public_. When double quotation marks are used around the string, spaces are allowed in the string.

remoteIpv4Addr

Displays routes of a specified peer.

This value is in dotted decimal notation.

advertised-routes

Displays information about routes advertised to a specified peer.

-

received-routes

Displays information about routes received from a specified peer.

-

active

Displays information about the active routes received from a specified peer.

-

Views

All views

Default Level

1: Monitoring level

Task Name and Operations

Task Name Operations
bgp read

Usage Guidelines

Usage Scenario

After BGP FlowSpec is enabled and a BGP FlowSpec peer relationship is established, you can run the display bgp flow vpnv4 vpn-instance routing-table peer received-routes active command to query information about the BGP FlowSpec peer.

Example

The actual command output varies according to the device. The command output here is only an example.

# Displays information about the active routes received from a specified peer.
<HUAWEI> display bgp flow vpnv4 vpn-instance b routing-table peer 192.168.1.1 received-routes active
 
 BGP Local router ID is 2.2.2.2
 Status codes: * - valid, > - best, d - damped, x - best external, a - add path,
               h - history,  i - internal, s - suppressed, S - Stale
               Origin : i - IGP, e - EGP, ? - incomplete
 RPKI validation codes: V - valid, I - invalid, N - not-found

    
 VPN-Instance b, Router ID 2.2.2.2:

 Total Number of Routes: 1
 * >  ReIndex : 3
      Dissemination Rules:
       Source IP      : 1.1.1.1/32
       MED      : 0                   PrefVal  : 0                   
       LocalPref:                           
       Path/Ogn : 100i
# Displays information about routes received from a specified peer.
<HUAWEI> display bgp flow vpnv4 vpn-instance b routing-table peer 192.168.1.1 received-routes
 
 BGP Local router ID is 2.2.2.2
 Status codes: * - valid, > - best, d - damped, x - best external, a - add path,
               h - history,  i - internal, s - suppressed, S - Stale
               Origin : i - IGP, e - EGP, ? - incomplete
 RPKI validation codes: V - valid, I - invalid, N - not-found

    
 VPN-Instance b, Router ID 2.2.2.2:

 Total Number of Routes: 1
 * >  ReIndex : 3
      Dissemination Rules:
       Source IP      : 1.1.1.1/32
       MED      : 0                   PrefVal  : 0                   
       LocalPref:                           
       Path/Ogn : 100i
# Displays information about routes advertised to a specified peer.
<HUAWEI> display bgp flow vpnv4 vpn-instance b routing-table peer 192.168.1.1 advertised-routes
 
 BGP Local router ID is 2.2.2.2
 Status codes: * - valid, > - best, d - damped, x - best external, a - add path,
               h - history,  i - internal, s - suppressed, S - Stale
               Origin : i - IGP, e - EGP, ? - incomplete
 RPKI validation codes: V - valid, I - invalid, N - not-found

    
 VPN-Instance b, Router ID 2.2.2.2:

 Total Number of Routes: 1
 * >  ReIndex : 4
      Dissemination Rules:
       Source IP      : 3.3.3.3/32
       MED      : 0                   PrefVal  : 0                   
       LocalPref:                           
       Path/Ogn :  i
Table 1 Description of the display bgp flow vpnv4 vpn-instance routing-table peer command output
Item Description
BGP Local router ID

Router ID of the local device, in the format of an IPv4 address.

ReIndex

Index of the BGP VPN Flow Specification and BGP VPNv4 Flow Specification routes.

Dissemination Rules

Rules applied to the BGP VPN Flow Specification and BGP VPNv4 Flow Specification routes.

MED

MED of the route.

PrefVal

PrefVal of the route.

Path/Ogn

AS_Path and Origin of the route.

LocalPref

Local_Pref of the route.

Copyright © Huawei Technologies Co., Ltd.
Copyright © Huawei Technologies Co., Ltd.
< Previous topic Next topic >