display bgp flow vpnv4 routing-table (All views)

Function

The display bgp flow vpnv4 routing-table command displays information about BGP VPN Flow Specification and BGP VPNv4 Flow Specification routes.

Format

display bgp flow vpnv4 { all | route-distinguisher route-distinguisher } routing-table reindex { as-path | community-list | large-community | ext-community | cluster-list | advertised-peer | port | destination-port | dscp | protocol | source-port | icmp-type | icmp-code | tcp-flags | packet-length | fragment }

display bgp flow vpnv4 all routing-table peer ipv4-address advertised-routes reindex { as-path | community-list | large-community | ext-community | cluster-list | advertised-peer }

Parameters

Parameter Description Value
all

Displays information about all the routes in the specified address family.

-

route-distinguisher route-distinguisher

Displays statistics about routes with the specified RD.

The RD formats are divided into the following types:

  • 2-byte AS number:4-byte user-defined number, for example, 101:3. An AS number ranges from 0 to 65535. A user-defined number ranges from 0 to 4294967295. The AS number and the user-defined number cannot be 0s at the same time. That is, an RD cannot be 0:0.
  • Integral 4-byte AS number:2-byte user-defined number, for example, 65537:3. An AS number ranges from 65536 to 4294967295. A user-defined number ranges from 0 to 65535. The AS number and user-defined number cannot be both 0s. That is, an RD cannot be 0:0.4-byte AS number in dotted notation:2-byte user-defined number, for example, 0.0:3 or 0.1:0.
  • 4-byte AS number in dotted notation is in the format of x.y, wherex and y are integers that range from 0 to 65535 and from 0 to 65535, respectively. A user-defined number ranges from 0 to 65535. The AS number and user-defined number cannot be both 0s. That is, an RD cannot be 0.0:0.
  • IPv4-address:2-byte user-defined number, for example, 192.168.122.15:1. An IP address ranges from 0.0.0.0 to 255.255.255.255. A user-defined number ranges from 0 to 65535.
reindex

Displays information about the route of a specified index.

The value is an integer ranging from 1 to 4294967295.

as-path

Displays AS_Path information of the route.

-

community-list

Displays the community list of the route.

-

large-community

Displays the Large-Community attribute list of the route.

-

ext-community

Displays the community list of the route.

-

cluster-list

Displays the cluster list of the route.

-

advertised-peer

Displays the information about the peer to which the route is sent.

-

port

Displays detailed information about the filtering rule based on the port number in the route.

-

destination-port

Displays detailed information about the filtering rule based on the destination port number in the route.

-

dscp

Displays detailed information about the filtering rule based on the DSCP value in the route.

-

protocol

Displays detailed information about the filtering rule based on the IP protocol in the route.

-

source-port

Displays detailed information about the filtering rule based on the source port number in the route.

-

icmp-type

Displays detailed information about the filtering rule based on the type code of an ICMP packet in the route.

-

icmp-code

Displays detailed information about the filtering rule based on the code of an ICMP packet in the route.

-

tcp-flags

Displays detailed information about the filtering rule based on the TCP flag in the route.

-

packet-length

Displays detailed information about the filtering rule based on the packet length in the route.

-

fragment

Displays detailed information about the filtering rule based on the fragment type in the route.

-

peer ipv4-address

Specifies an IPv4 address.

The value is in dotted decimal notation.

advertised-routes

Displays information about routes advertised to a specified peer.

-

Views

All views

Default Level

1: Monitoring level

Task Name and Operations

Task Name Operations
bgp read

Usage Guidelines

Usage Scenario

Thedisplaybgpflowvpnv4routing-tablecommanddisplaysinformationaboutBGPVPNFlowSpecificationandBGPVPNv4FlowSpecificationroutes.

Example

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

# Displays information about routes advertised to a specified peer.
<HUAWEI> display bgp flow vpnv4 all routing-table peer 10.21.2.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


 Total Number of Routes: 2
 * >  ReIndex : 9437184
      Dissemination Rules:
       Source IP      : 1.1.1.1/32
       MED      : 0                   PrefVal  : 0                   
       LocalPref:                     
       Path/Ogn : 100i
 * >  ReIndex : 9437185
      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 routing-table (All views) command output
Item Description
BGP Local router ID

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

Total Number of Routes

Number of BGP Flow Specification routes.

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.

Source IP

Source IP address.

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 >